mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:27:28 +08: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:
parent
5441ebc91f
commit
21d8b465cc
|
@ -39,6 +39,7 @@
|
|||
- `bosh`
|
||||
- `vagrant`
|
||||
- The git prompt in informative mode now shows the number of stashes if enabled.
|
||||
- The nextd and prevd functions no longer print "Hit end of history", instead using a BEL.
|
||||
|
||||
### For distributors and developers
|
||||
- The autotools-based build system and legacy Xcode build systems have been removed, leaving only the CMake build system. All distributors and developers must migrate to the CMake build.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user