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