diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-10-29 15:43:52 +0100 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-10-29 15:43:52 +0100 |
commit | 1e87a04773baf9ed27dfa460119de9db69a523db (patch) | |
tree | 3b96375d140bbfd5c1071673d2cca5a67e64c7fa | |
parent | 2167b4a8d3658c3546c6bf36aadb901c296d8772 (diff) |
zsh: fix
-rw-r--r-- | zsh/.zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -162,7 +162,13 @@ if [[ $? == 0 ]]; then export R_LIBS_USER=$HOME/.R fi -export EDITOR='nvim -p' +if [[ -x $(which nvim) ]]; then + export EDITOR='nvim -p' + alias qmv='qmv -envim -fdo' +else + export EDITOR='vim -p' + alias qmv='qmv -evim -fdo' +fi export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 @@ -315,7 +321,6 @@ alias jpegtran='jpegtran -trim' alias pdfmerge='gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=/tmp/merged.pdf -dBATCH' alias thumb='convert -resize 200x200' -alias qmv='qmv -envim -fdo' alias radio='mocp ~/.moc/radio.m3u' alias muxn='tmux new -s' |