diff options
Diffstat (limited to 'share/functions/prevd.fish')
-rw-r--r-- | share/functions/prevd.fish | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/functions/prevd.fish b/share/functions/prevd.fish index 9e7d4658..eb2536db 100644 --- a/share/functions/prevd.fish +++ b/share/functions/prevd.fish @@ -1,5 +1,14 @@ function prevd -d (N_ "Move back in the directory history") + + if count $argv >/dev/null + switch $argv[1] + case -h --h --he --hel --help + __fish_print_help prevd + return 0 + end + end + # Parse arguments set -l show_hist 0 set -l times 1 |