From 5327c11dc98d927e179fad24f1ff66d139633d38 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 25 Mar 2024 23:46:41 +0100 Subject: [PATCH] Set AUTO_PARAM_SLASH --- home/programs/terminal/shell/zsh/rc/opts.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/home/programs/terminal/shell/zsh/rc/opts.zsh b/home/programs/terminal/shell/zsh/rc/opts.zsh index e063d7b..4634b3b 100644 --- a/home/programs/terminal/shell/zsh/rc/opts.zsh +++ b/home/programs/terminal/shell/zsh/rc/opts.zsh @@ -15,6 +15,7 @@ setopt AUTO_CD # cd by typing directory name if it's not a command setopt AUTO_LIST # automatically list choices on ambiguous completion setopt AUTO_MENU # automatically use menu completion setopt MENU_COMPLETE # insert first match immediately on ambiguous completion +setopt AUTO_PARAM_SLASH # if a parameter is completed with a directory, add trailing slash instead of space setopt ALWAYS_TO_END # move cursor to end if word had one match setopt INTERACTIVE_COMMENTS # allow comments in interactive mode setopt MAGIC_EQUAL_SUBST # enable filename expansion for arguments of form `x=expression`