diff options
author | humphreylin <[email protected]> | 2019-08-15 11:25:17 +0800 |
---|---|---|
committer | humphreylin <[email protected]> | 2019-08-15 11:27:21 +0800 |
commit | 1bb180cdff2177951bfabb93dd51b644d383289c (patch) | |
tree | c5774da3873dc1a249314de29a8950ed459bfe9f /.zshrc | |
parent | 87ccbd32e89796c56a9755c5c73ce4a2ea6233de (diff) | |
download | dotfiles-1bb180cdff2177951bfabb93dd51b644d383289c.tar.gz dotfiles-1bb180cdff2177951bfabb93dd51b644d383289c.tar.bz2 dotfiles-1bb180cdff2177951bfabb93dd51b644d383289c.zip |
modify default editor and add some aliases
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,8 @@ HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history +export EDITOR=/usr/bin/vim + # autojump if [ ! -d /usr/share/autojump ]; then echo 'Installing autojump ... ' @@ -39,3 +41,10 @@ zplug load # fzf [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh + +# alias +if grep -q Microsoft /proc/version; then + alias psh='powershell.exe' + alias expl='explorer.exe' +fi + |