tmux : include ls dirs in autocomplete.
This commit is contained in:
parent
484646dbe8
commit
db90e0f51a
|
@ -72,8 +72,8 @@ _tmux_sessions()
|
||||||
|
|
||||||
_tmux_names()
|
_tmux_names()
|
||||||
{
|
{
|
||||||
_autocomplete_first "${PWD##*/}"
|
_autocomplete_first "${PWD##*/}" $(ls --classify | grep /$ | sed -e 's/\/$//')
|
||||||
}
|
}
|
||||||
|
|
||||||
complete -F _tmux_sessions ta tk
|
complete -F _tmux_sessions ta tk
|
||||||
complete -F _tmux_names tr tn
|
complete -o nosort -F _tmux_names tr tn
|
||||||
|
|
Reference in a new issue