You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new tmux session, there is a -c option to set the start-directory. So, tmux new-session -c <tab><tab> should show you the paths of the current dir, just like cdcommand
Current behavior
There is no autocompletion for -c argument in tmux new-session comand
Expected behavior
When creating a new tmux session, there is a -c option to set the start-directory. So,
tmux new-session -c <tab><tab>
should show you the paths of the current dir, just likecd
commandCurrent behavior
There is no autocompletion for -c argument in tmux new-session comand
Possible solution
I think adding the line
-c) COMPREPLY=( $(compgen -d -S / -- "${cur}") ); return 0;;
to new-session file in https://github.com/Bash-it/bash-it/blob/master/completion/available/tmux.completion.bash should do it.I'm not experience enough in bash to know if there is a better way to do this...
Context
No response
Notes
No response
The text was updated successfully, but these errors were encountered: