diff --git a/completions/_lla b/completions/_lla index b7437b0..68f68a2 100644 --- a/completions/_lla +++ b/completions/_lla @@ -24,6 +24,7 @@ _lla() { '*--enable-plugin=[Enable specific plugins]: : ' \ '*--disable-plugin=[Disable specific plugins]: : ' \ '--plugins-dir=[Specify the plugins directory]: : ' \ +'--permission-format=[Format for displaying permissions (symbolic, octal, binary, verbose, compact)]: :(symbolic octal binary verbose compact)' \ '-h[Print help information]' \ '--help[Print help information]' \ '-V[Print version information]' \ @@ -36,6 +37,7 @@ _lla() { '--table[Use table listing format (overrides config format)]' \ '-g[Use grid listing format (overrides config format)]' \ '--grid[Use grid listing format (overrides config format)]' \ +'--grid-ignore[Use grid view ignoring terminal width (Warning: output may extend beyond screen width)]' \ '-S[Show visual representation of file sizes (overrides config format)]' \ '--sizemap[Show visual representation of file sizes (overrides config format)]' \ '--timeline[Group files by time periods (overrides config format)]' \ diff --git a/completions/lla.bash b/completions/lla.bash index af4e0fa..bd9b90d 100644 --- a/completions/lla.bash +++ b/completions/lla.bash @@ -67,7 +67,7 @@ _lla() { case "${cmd}" in lla) - opts="-h -V -d -l -t -T -g -S -G -F -s -r -f -c -R --help --version --depth --long --tree --table --grid --sizemap --timeline --git --fuzzy --icons --no-icons --no-color --sort --sort-reverse --sort-dirs-first --sort-case-sensitive --sort-natural --filter --case-sensitive --enable-plugin --disable-plugin --plugins-dir --recursive --include-dirs --dirs-only --files-only --symlinks-only --no-dirs --no-files --no-symlinks --no-dotfiles --dotfiles-only install plugin list-plugins use init config update clean shortcut completion theme help" + opts="-h -V -d -l -t -T -g -S -G -F -s -r -f -c -R --help --version --depth --long --tree --table --grid --grid-ignore --sizemap --timeline --git --fuzzy --icons --no-icons --no-color --sort --sort-reverse --sort-dirs-first --sort-case-sensitive --sort-natural --filter --case-sensitive --enable-plugin --disable-plugin --plugins-dir --recursive --include-dirs --dirs-only --files-only --symlinks-only --no-dirs --no-files --no-symlinks --no-dotfiles --dotfiles-only --permission-format install plugin list-plugins use init config update clean shortcut completion theme help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -109,6 +109,10 @@ _lla() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; + --permission-format) + COMPREPLY=($(compgen -W "symbolic octal binary verbose compact" -- "${cur}")) + return 0 + ;; *) COMPREPLY=() ;; diff --git a/completions/lla.elv b/completions/lla.elv index 755807e..ebbb602 100644 --- a/completions/lla.elv +++ b/completions/lla.elv @@ -27,6 +27,7 @@ set edit:completion:arg-completer[lla] = {|@words| cand --enable-plugin 'Enable specific plugins' cand --disable-plugin 'Disable specific plugins' cand --plugins-dir 'Specify the plugins directory' + cand --permission-format 'Format for displaying permissions (symbolic, octal, binary, verbose, compact)' cand -h 'Print help information' cand --help 'Print help information' cand -V 'Print version information' @@ -39,6 +40,7 @@ set edit:completion:arg-completer[lla] = {|@words| cand --table 'Use table listing format (overrides config format)' cand -g 'Use grid listing format (overrides config format)' cand --grid 'Use grid listing format (overrides config format)' + cand --grid-ignore 'Use grid view ignoring terminal width (Warning: output may extend beyond screen width)' cand -S 'Show visual representation of file sizes (overrides config format)' cand --sizemap 'Show visual representation of file sizes (overrides config format)' cand --timeline 'Group files by time periods (overrides config format)' diff --git a/completions/lla.fish b/completions/lla.fish index 8f7f7b1..f42febe 100644 --- a/completions/lla.fish +++ b/completions/lla.fish @@ -4,12 +4,14 @@ complete -c lla -n "__fish_use_subcommand" -s f -l filter -d 'Filter files by na complete -c lla -n "__fish_use_subcommand" -l enable-plugin -d 'Enable specific plugins' -r complete -c lla -n "__fish_use_subcommand" -l disable-plugin -d 'Disable specific plugins' -r complete -c lla -n "__fish_use_subcommand" -l plugins-dir -d 'Specify the plugins directory' -r +complete -c lla -n "__fish_use_subcommand" -l permission-format -d 'Format for displaying permissions (symbolic, octal, binary, verbose, compact)' -r -f -a "{symbolic ,octal ,binary ,verbose ,compact }" complete -c lla -n "__fish_use_subcommand" -s h -l help -d 'Print help information' complete -c lla -n "__fish_use_subcommand" -s V -l version -d 'Print version information' complete -c lla -n "__fish_use_subcommand" -s l -l long -d 'Use long listing format (overrides config format)' complete -c lla -n "__fish_use_subcommand" -s t -l tree -d 'Use tree listing format (overrides config format)' complete -c lla -n "__fish_use_subcommand" -s T -l table -d 'Use table listing format (overrides config format)' complete -c lla -n "__fish_use_subcommand" -s g -l grid -d 'Use grid listing format (overrides config format)' +complete -c lla -n "__fish_use_subcommand" -l grid-ignore -d 'Use grid view ignoring terminal width (Warning: output may extend beyond screen width)' complete -c lla -n "__fish_use_subcommand" -s S -l sizemap -d 'Show visual representation of file sizes (overrides config format)' complete -c lla -n "__fish_use_subcommand" -l timeline -d 'Group files by time periods (overrides config format)' complete -c lla -n "__fish_use_subcommand" -s G -l git -d 'Show git status and information (overrides config format)' diff --git a/completions/lla.ps1 b/completions/lla.ps1 index 4ba0db0..dfb9a3f 100644 --- a/completions/lla.ps1 +++ b/completions/lla.ps1 @@ -30,6 +30,7 @@ Register-ArgumentCompleter -Native -CommandName 'lla' -ScriptBlock { [CompletionResult]::new('--enable-plugin', 'enable-plugin', [CompletionResultType]::ParameterName, 'Enable specific plugins') [CompletionResult]::new('--disable-plugin', 'disable-plugin', [CompletionResultType]::ParameterName, 'Disable specific plugins') [CompletionResult]::new('--plugins-dir', 'plugins-dir', [CompletionResultType]::ParameterName, 'Specify the plugins directory') + [CompletionResult]::new('--permission-format', 'permission-format', [CompletionResultType]::ParameterName, 'Format for displaying permissions (symbolic, octal, binary, verbose, compact)') [CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help information') [CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Print version information') @@ -42,6 +43,7 @@ Register-ArgumentCompleter -Native -CommandName 'lla' -ScriptBlock { [CompletionResult]::new('--table', 'table', [CompletionResultType]::ParameterName, 'Use table listing format (overrides config format)') [CompletionResult]::new('-g', 'g', [CompletionResultType]::ParameterName, 'Use grid listing format (overrides config format)') [CompletionResult]::new('--grid', 'grid', [CompletionResultType]::ParameterName, 'Use grid listing format (overrides config format)') + [CompletionResult]::new('--grid-ignore', 'grid-ignore', [CompletionResultType]::ParameterName, 'Use grid view ignoring terminal width (Warning: output may extend beyond screen width)') [CompletionResult]::new('-S', 'S', [CompletionResultType]::ParameterName, 'Show visual representation of file sizes (overrides config format)') [CompletionResult]::new('--sizemap', 'sizemap', [CompletionResultType]::ParameterName, 'Show visual representation of file sizes (overrides config format)') [CompletionResult]::new('--timeline', 'timeline', [CompletionResultType]::ParameterName, 'Group files by time periods (overrides config format)')