diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-03-05 19:23:06 +0100 |
|---|---|---|
| committer | a-kenji <aks.kenji@protonmail.com> | 2021-03-05 19:23:06 +0100 |
| commit | c644a1c2437ac439425eaa185d4f69911cf5ee45 (patch) | |
| tree | 0ca25130d142ba9c26f88a32a7f53daa464a312d /assets | |
| parent | poke at creating Macros (diff) | |
| download | sl0ppij-c644a1c2437ac439425eaa185d4f69911cf5ee45.tar.gz sl0ppij-c644a1c2437ac439425eaa185d4f69911cf5ee45.tar.xz sl0ppij-c644a1c2437ac439425eaa185d4f69911cf5ee45.zip | |
poking
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/completions/_zellij | 2 | ||||
| -rw-r--r-- | assets/completions/zellij.bash | 10 | ||||
| -rw-r--r-- | assets/completions/zellij.fish | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/assets/completions/_zellij b/assets/completions/_zellij index 64bd538c..cd8dce56 100644 --- a/assets/completions/_zellij +++ b/assets/completions/_zellij @@ -22,6 +22,8 @@ _zellij() { '--max-panes=[Maximum panes on screen, caution: opening more panes will close old ones]' \ '-l+[Path to a layout yaml file]' \ '--layout=[Path to a layout yaml file]' \ +'-c+[Path to the configuration yaml file]' \ +'--config=[Path to the configuration yaml file]' \ '-m[Send "move focused pane" to active zellij session]' \ '--move-focus[Send "move focused pane" to active zellij session]' \ '-d[]' \ diff --git a/assets/completions/zellij.bash b/assets/completions/zellij.bash index a921e7c9..0ede5cce 100644 --- a/assets/completions/zellij.bash +++ b/assets/completions/zellij.bash @@ -20,7 +20,7 @@ _zellij() { case "${cmd}" in zellij) - opts=" -m -d -h -V -s -o -l --move-focus --debug --help --version --split --open-file --max-panes --layout " + opts=" -m -d -h -V -s -o -l -c --move-focus --debug --help --version --split --open-file --max-panes --layout --config " if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -55,6 +55,14 @@ _zellij() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --config) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -c) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; *) COMPREPLY=() ;; diff --git a/assets/completions/zellij.fish b/assets/completions/zellij.fish index e902823f..eaba9fa4 100644 --- a/assets/completions/zellij.fish +++ b/assets/completions/zellij.fish @@ -2,6 +2,7 @@ complete -c zellij -n "__fish_use_subcommand" -s s -l split -d 'Send "split (dir complete -c zellij -n "__fish_use_subcommand" -s o -l open-file -d 'Send "open file in new pane" to active zellij session' complete -c zellij -n "__fish_use_subcommand" -l max-panes -d 'Maximum panes on screen, caution: opening more panes will close old ones' complete -c zellij -n "__fish_use_subcommand" -s l -l layout -d 'Path to a layout yaml file' +complete -c zellij -n "__fish_use_subcommand" -s c -l config -d 'Path to the configuration yaml file' complete -c zellij -n "__fish_use_subcommand" -s m -l move-focus -d 'Send "move focused pane" to active zellij session' complete -c zellij -n "__fish_use_subcommand" -s d -l debug complete -c zellij -n "__fish_use_subcommand" -s h -l help -d 'Prints help information' |
