summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2018-10-30 05:30:47 +0100
committerPatrick Simianer <pks@pks.rocks>2018-10-30 05:30:47 +0100
commitc8bbcb1bb66db7d00329b83a22ef73ef695e7c0e (patch)
treee77267ac7a64dd1c026134a0fda23120f5cf31c1
parent42b1c23e5b636e3fa74795f7fd1876e89089dadf (diff)
zsh: nvim fix, colors
-rw-r--r--zsh/.zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index e394d3a..98bf926 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -162,7 +162,7 @@ if [[ $? == 0 ]]; then
export R_LIBS_USER=$HOME/.R
fi
-if [[ -x $(which nvim) ]]; then
+if [[ -x $(which nvim &>/dev/null) ]]; then
export EDITOR='nvim -p'
alias qmv='qmv -envim -fdo'
else
@@ -226,8 +226,8 @@ case `hostname` in
HOSTCOLOR_FG=black
;;
*.uberspace.de)
- HOSTCOLOR_BG=blue
- HOSTCOLOR_FG=black
+ HOSTCOLOR_BG=green
+ HOSTCOLOR_FG=white
;;
*)
HOSTCOLOR_BG=black
@@ -237,7 +237,7 @@ esac
# google cloud
if [[ $(on_gcloud) == "yes" ]]; then
- HOSTCOLOR_BG=cyan
+ HOSTCOLOR_BG=blue
HOSTCOLOR_FG=white
alias tmux="tmux -f ~/.tmux.gcloud.conf"
fi