summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config')
-rw-r--r--tag-zsh/config/zsh/zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 662ab66..f532750 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -26,6 +26,11 @@ then
   path+=($HOME/bin)
 fi
 
+if [[ ${path[(I)$HOME/.local/bin ]} ]]
+then
+  path+=($HOME/.local/bin)
+fi
+
 export EDITOR=emacsclient
 alias ec=emacsclient
 alias open-project=projectile
@@ -35,6 +40,9 @@ _emacs_function () {
 projectile () {
   _emacs_function projectile-switch-project-by-name ${1:-$PWD}
 }
+yarn () {
+  PREFIX=$HOME/.local command yarn "$@"
+}
 
 ls='\ls'
 gnu_ls_options="-v --group-directories-first --color=auto"