From db90e0f51a3a047ab388f640fb53b0d531ced662 Mon Sep 17 00:00:00 2001 From: desktop Date: Sat, 11 Nov 2023 18:39:07 +0300 Subject: [PATCH] tmux : include ls dirs in autocomplete. --- .linux/bash/module/tmux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.linux/bash/module/tmux.sh b/.linux/bash/module/tmux.sh index d7b4b00..04d6ac8 100644 --- a/.linux/bash/module/tmux.sh +++ b/.linux/bash/module/tmux.sh @@ -72,8 +72,8 @@ _tmux_sessions() _tmux_names() { - _autocomplete_first "${PWD##*/}" + _autocomplete_first "${PWD##*/}" $(ls --classify | grep /$ | sed -e 's/\/$//') } complete -F _tmux_sessions ta tk -complete -F _tmux_names tr tn +complete -o nosort -F _tmux_names tr tn