mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Merge pull request #547 from tony/improve-tmuxp-load
improve tmuxp load completions
This commit is contained in:
+2
-1
@@ -101,7 +101,8 @@ __tmuxp_load() {
|
||||
local s
|
||||
_alternative \
|
||||
'sessions-user:user session:compadd -F line - ~/.tmuxp/*.(json|yml|yaml)(:r:t)' \
|
||||
'sessions-other:session in current directory:_path_files -g "**/*.(json|yaml|yml)(-.)"'
|
||||
'sessions-other:session in current directory:_path_files -/ -g "**/.tmuxp.(yml|yaml|json)"' \
|
||||
'sessions-other:session in current directory:_path_files -g "*.(yml|yaml|json)"'
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user