summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2017-04-21 16:53:30 +0200
committerAlan Pearce2017-04-21 16:53:30 +0200
commite8ad75cc4b353fce74463c718bf75777562052d6 (patch)
tree2a88d3eecc112ce25449eb82d4423b9aeb276034 /zsh
parentc5eb5cf892785852c5bfe2ac672263f7e6696160 (diff)
downloaddotfiles-e8ad75cc4b353fce74463c718bf75777562052d6.tar.lz
dotfiles-e8ad75cc4b353fce74463c718bf75777562052d6.tar.zst
dotfiles-e8ad75cc4b353fce74463c718bf75777562052d6.zip
zsh: Add go/bin to PATH
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 7569f52..cc647ff 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -56,6 +56,11 @@ then
     path+=($HOME/.local/bin)
   fi
 
+  if [[ ${path[(I)$HOME/go/bin ]} ]]
+  then
+    path+=($HOME/go/bin)
+  fi
+
   export GTAGSCONF=~/.globalrc
   export GTAGSLABEL=ctags
 fi