summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-10-30 13:15:32 +0000
committerUrbain Vaes <urbain@vaes.uk>2019-10-30 13:15:32 +0000
commit2ceab4a7b7f91087475ab2370b880e1759b72c85 (patch)
tree10d4f374c3197b2d2b0ca6e8639bfbc08a40da77
parent26a8fff66ed8e996e60dd8ee896a23b49e860796 (diff)
Fix zsh error
-rw-r--r--vim/.vimrc2
-rw-r--r--zsh/.zshenv5
2 files changed, 5 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index dc878f7..9e65bc0 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -68,7 +68,7 @@ Plug 'wellle/targets.vim'
if isdirectory($HOME."/dotfiles/plugins")
Plug '~/dotfiles/plugins/vim-remembrall'
- Plug '~/dotfiles/plugins/vim-wintab'
+ Plug '~/dotfiles/plugins/vim-tmux-pilot'
endif
if has("nvim")
diff --git a/zsh/.zshenv b/zsh/.zshenv
index eabf2f4..7917e82 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -4,11 +4,14 @@ export VISUAL=nvim
# Export PATH without repetitions
export -U PATH="$HOME/.local/bin${PATH:+:}$PATH"
export -U PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
-export -U PATH=$(echo "$HOME/.gem/ruby/"*"/bin")"${PATH:+:}$PATH"
export -U PATH="/usr/local/sbin${PATH:+:}$PATH"
export -U PATH="/usr/bin${PATH:+:}$PATH"
export -U PATH="/usr/local/sbin:/usr/local/bin${PATH:+:}$PATH"
+if [[ -d "$HOME/.gem/ruby" ]]; then
+ export -U PATH=$(echo "$HOME/.gem/ruby/"*"/bin")"${PATH:+:}$PATH"
+fi
+
# Python startup file
[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"