mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
nextd/prevd: Print BEL instead of "Hit end of history"
That message is just hugely annoying. Hat-tip to @floam and d524bad5f16b5a18c22fefe440.
This commit is contained in:
@@ -6,7 +6,8 @@ function __fish_move_last -d "Move the last element of a directory history from
|
||||
|
||||
if test $size_src = 0
|
||||
# Cannot make this step
|
||||
printf (_ "Hit end of history…\n")
|
||||
# Print a bel, which is the character to print for notifications like these.
|
||||
printf \a
|
||||
return 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user