From c8a1d582ef3d4a126b9fb1e6c8a7c4bdf10817b0 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 28 Aug 2019 23:19:46 +0200 Subject: Fix minor bugs --- vim/.vimrc | 4 ++-- zsh/.zshenv | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 10e18f1..4efc91f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -252,14 +252,14 @@ endif " Plugins interactions function! Multiple_cursors_before() - if has("nvim") + if has("nvim") && &runtimepath =~ 'deoplete' let b:deoplete_disable_auto_complete = 1 call deoplete#disable() endif endfunction function! Multiple_cursors_after() - if has("nvim") + if has("nvim") && &runtimepath =~ 'deoplete' let b:deoplete_disable_auto_complete = 0 call deoplete#enable() endif diff --git a/zsh/.zshenv b/zsh/.zshenv index b8cc58a..20066b6 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -3,6 +3,7 @@ export VISUAL=nvim # Export PATH without repetitions export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin${PATH:+:}$PATH" +export PATH="/home/urbain/.config/guix/current/bin${PATH:+:}$PATH" # Python startup file [[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc" -- cgit v1.2.3