From 1bb180cdff2177951bfabb93dd51b644d383289c Mon Sep 17 00:00:00 2001 From: humphreylin Date: Thu, 15 Aug 2019 11:25:17 +0800 Subject: modify default editor and add some aliases --- .zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 38f2896..e836e6a 100644 --- a/.zshrc +++ b/.zshrc @@ -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 + -- cgit v1.2.3