From c8bbcb1bb66db7d00329b83a22ef73ef695e7c0e Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 30 Oct 2018 05:30:47 +0100 Subject: zsh: nvim fix, colors --- zsh/.zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'zsh') 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 -- cgit v1.2.3