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:
Fabian Homborg 2019-03-28 11:55:27 +01:00
parent 5441ebc91f
commit 21d8b465cc
2 changed files with 3 additions and 1 deletions

View file

@ -39,6 +39,7 @@
- `bosh` - `bosh`
- `vagrant` - `vagrant`
- The git prompt in informative mode now shows the number of stashes if enabled. - 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 ### 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. - 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.

View file

@ -6,7 +6,8 @@ function __fish_move_last -d "Move the last element of a directory history from
if test $size_src = 0 if test $size_src = 0
# Cannot make this step # 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 return 1
end end