summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r--tag-zsh/config/zsh/zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index a816879..a133a7d 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -24,6 +24,13 @@ fi
 
 export EDITOR=emacsclient
 alias ec=emacsclient
+alias open-project=projectile
+_emacs_function () {
+	emacsclient -e "($1 \"$2\")" > /dev/null
+}
+projectile () {
+	_emacs_function projectile-switch-project-by-name ${1:-$PWD}
+}
 
 ls='\ls'
 gnu_ls_options="-v --group-directories-first --color=auto"