diff options
Diffstat (limited to 'share/functions/__fish_move_last.fish')
-rw-r--r-- | share/functions/__fish_move_last.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/functions/__fish_move_last.fish b/share/functions/__fish_move_last.fish index b4a70f8c..c1d06043 100644 --- a/share/functions/__fish_move_last.fish +++ b/share/functions/__fish_move_last.fish @@ -14,14 +14,14 @@ function __fish_move_last -d "Move the last element of a directory history from set -g (echo $dest) $$dest (command pwd) set ssrc $$src - + # Change dir to the last entry in the source dir-hist builtin cd $ssrc[$size_src] - # Keep all but the last from the source dir-hist + # Keep all but the last from the source dir-hist set -e (echo $src)\[$size_src] # All ok, return success return 0 -end +end |