From 715538a4d62e22808686a6189cefe92d2ba8a8d7 Mon Sep 17 00:00:00 2001 From: thomasba Date: Thu, 15 Nov 2018 06:48:11 +0100 Subject: [PATCH 1/3] Plugin for Hugo --- vim/plug.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/plug.vim b/vim/plug.vim index 3b7d01b..6577a35 100644 --- a/vim/plug.vim +++ b/vim/plug.vim @@ -42,6 +42,7 @@ Plug 'niklasl/vim-rdf' Plug 'nathanaelkane/vim-indent-guides' Plug 'chrisbra/csv.vim' Plug 'vim-scripts/icalendar.vim' +Plug 'robertbasic/vim-hugo-helper' " Files Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } From 726a2da836824aa2119755bf578401391d491c79 Mon Sep 17 00:00:00 2001 From: thomasba Date: Fri, 20 Mar 2020 10:16:20 +0100 Subject: [PATCH 2/3] Added option for WSL --- zsh/zshrc.local | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/zsh/zshrc.local b/zsh/zshrc.local index 41a81ee..a8c7935 100644 --- a/zsh/zshrc.local +++ b/zsh/zshrc.local @@ -14,6 +14,20 @@ case "$MTYPE" in "PC") source $HOME/.zsh/commands-pc ;; + "wlm") + source $HOME/.zsh/commands-server + # ssh-agent configuration + if [ -z "$(pgrep ssh-agent)" ]; then + rm -rf /tmp/ssh-* + eval $(ssh-agent -s) > /dev/null + else + export SSH_AGENT_PID=$(pgrep ssh-agent) + export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name 'agent.*') + fi + if [[ "$(ssh-add -l)" == "The agent has no identities." ]]; then + ssh-add + fi + ;; "SERVER") source $HOME/.zsh/commands-server ;; From a3634e1e280a3ef92a566aaeff0cd8fe2cc74639 Mon Sep 17 00:00:00 2001 From: thomasba Date: Mon, 23 Mar 2020 07:19:12 +0100 Subject: [PATCH 3/3] Added ZSH Syntax Highlight path for Ubuntu --- zsh/zshrc.local | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/zshrc.local b/zsh/zshrc.local index a8c7935..2f044b8 100644 --- a/zsh/zshrc.local +++ b/zsh/zshrc.local @@ -43,6 +43,8 @@ fi if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] ; then source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +elif [ -f "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] ; then + source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh else printf "-!- zsh-syntax-highlighting not installed!" fi