mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2021-12-15 187b854fd74bdab9e800998d0efe91681eb1f4b3
dynamically set vim path for EDITOR
1 files modified
4 ■■■■ changed files
all-shells/.commonshell 4 ●●●● patch | view | raw | blame | history
all-shells/.commonshell
@@ -19,8 +19,8 @@
#export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
#alias ec=$EDITOR
alias ec="/usr/bin/emacsclient -nw -a /usr/bin/vim"
[ -n "$(whereis vim)" ] && export EDITOR="/usr/bin/vim"
alias ec="/usr/bin/emacsclient -nw -a $(which vim)"
[ -n "$(which vim)" ] && export EDITOR="$(which vim)"
#default wine prefix
[ -n "$(whereis wine)" ] && export WINEPREFIX=$HOME/.wine/Games/