From 2ceab4a7b7f91087475ab2370b880e1759b72c85 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 30 Oct 2019 13:15:32 +0000 Subject: Fix zsh error --- vim/.vimrc | 2 +- zsh/.zshenv | 5 ++++- 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" -- cgit v1.2.3