summary refs log tree commit diff stats
path: root/user/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/zshrc')
-rw-r--r--user/zsh/zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index dce20aeb..48cfc1ef 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -151,6 +151,7 @@ add_project () {
   project=${1:-$PWD}
   emacsclient -e "(projectile-add-known-project \"${project}\")"
 }
+compdef '_path_files -/' add_project
 
 esetenv () {
   emacsclient -e "(setenv \"$1\" \"$2\")"
@@ -159,3 +160,4 @@ esetenv () {
 ecpenv () {
   esetenv "$1" "${(P)1}"
 }
+compdef '_parameters' ecpenv