zsh: configure completion for own functions
Alan Pearce alan@alanpearce.eu
Tue, 04 Apr 2023 08:21:26 +0200
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M user/zsh/zshrc → 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 @@ ecpenv () { esetenv "$1" "${(P)1}" } +compdef '_parameters' ecpenv