Skip to content

Commit e791cf4

Browse files
committed
Add new suppress flags to shell completion scripts
1 parent 5d4a09f commit e791cf4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

contrib/completions.fish

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ complete -c exa -l 'time-style' -x -d "How to format timestamps" -a "
7474
long-iso\t'Display longer ISO timestaps, up to the minute'
7575
full-iso\t'Display full ISO timestamps, up to the nanosecond'
7676
"
77+
complete -c exa -l 'no-permissions' -d "Suppress the permissions field"
78+
complete -c exa -l 'no-filesize' -d "Suppress the filesize field"
79+
complete -c exa -l 'no-user' -d "Suppress the user field"
80+
complete -c exa -l 'no-time' -d "Suppress the time field"
7781

7882
# Optional extras
7983
complete -c exa -s 'g' -l 'git' -d "List each file's Git status, if tracked"

contrib/completions.zsh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ __exa() {
4040
{-S,--blocks}"[List each file's number of filesystem blocks]" \
4141
{-t,--time}="[Which time field to show]:(time field):(accessed changed created modified)" \
4242
--time-style="[How to format timestamps]:(time style):(default iso long-iso full-iso)" \
43+
--no-permissions"[Suppress the permissions field]" \
44+
--no-filesize"[Suppress the filesize field]" \
45+
--no-user"[Suppress the user field]" \
46+
--no-time"[Suppress the time field]" \
4347
{-u,--accessed}"[Use the accessed timestamp field]" \
4448
{-U,--created}"[Use the created timestamp field]" \
4549
--git"[List each file's Git status, if tracked]" \

0 commit comments

Comments
 (0)