Some more zsh goodies

master
Dustin Swan 8 years ago
parent cc3dc50ac8
commit a2b88079b1

@ -26,6 +26,9 @@ if [ -x "$(command -v nvim)" ]; then
export EDITOR=nvim export EDITOR=nvim
fi fi
# typing 'emacs' should not load any config
alias emacs='emacs -q'
# Mac only # Mac only
[ -x "$(command -v open)" ] && export BROWSER=open [ -x "$(command -v open)" ] && export BROWSER=open
@ -36,6 +39,7 @@ if [ -x "$(command -v p4)" ]; then
export P4PORT="humu.iocom.com:1666" export P4PORT="humu.iocom.com:1666"
export P4CONFIG=p4.cfg export P4CONFIG=p4.cfg
export P4EDITOR=vim export P4EDITOR=vim
export P4IGNORE=.ignore
fi fi
# PATH # PATH
@ -55,6 +59,7 @@ fi
# Homebrew Github Token # Homebrew Github Token
[ -x "$(command -v brew)" ] && alias brew='[[ $HOMEBREW_GITHUB_API_TOKEN ]] || export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`; brew' [ -x "$(command -v brew)" ] && alias brew='[[ $HOMEBREW_GITHUB_API_TOKEN ]] || export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`; brew'
[ -x "$(command -v carthage)" ] && alias carthage='[[ $HOMEBREW_GITHUB_API_TOKEN ]] || export HOMEBREW_GITHUB_API_TOKEN=`gpg -d ~/.homebrew@github-password.gpg`; carthage'
# #
# FZF # FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

Loading…
Cancel
Save