The Meowgorithm Dotfiles, Collectors’ Edition
# vim:et:ts=4:sw=4:ai
# OS and package manager checks
if [[ $(uname) = 'Linux' ]]; then
IS_LINUX=1
fi
if [[ $(uname) = 'Darwin' ]]; then
IS_MAC=1
fi
if [[ -x `which brew` ]]; then
HAS_BREW=1
fi
if [[ -x `which apt-get` ]]; then
HAS_APT=1
fi
if [[ -x `which pacman` ]]; then
HAS_PACMAN=1
fi
if [[ -x `which yum` ]]; then
HAS_YUM=1
fi
setopt auto_name_dirs
setopt pushd_ignore_dups
setopt prompt_subst
setopt promptpercent
setopt no_beep
setopt auto_cd
setopt multios
setopt cdablevarS
setopt transient_rprompt
setopt extended_glob
zle -N self-insert url-quote-magic
autoload -U url-quote-magic
autoload -U zmv
autoload -U colors && colors
bindkey "^[m" copy-prev-shell-word
# History management
HISTFILE=$HOME/.zsh_history