diff options
Diffstat (limited to 'share/functions/dirh.fish')
-rw-r--r-- | share/functions/dirh.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/dirh.fish b/share/functions/dirh.fish index 411a2816..58201767 100644 --- a/share/functions/dirh.fish +++ b/share/functions/dirh.fish @@ -1,5 +1,5 @@ -function dirh --description "Print the current directory history (the back- and fwd- lists)" +function dirh --description "Print the current directory history (the back- and fwd- lists)" if count $argv >/dev/null switch $argv[1] @@ -25,7 +25,7 @@ function dirh --description "Print the current directory history (the back- and set_color $fish_color_history_current echo -n -e $current$separator set_color normal - + for i in (seq (echo (count $dirnext)) -1 1) echo -n -e $dirnext[$i]$separator end |