aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/up-or-search.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/up-or-search.fish')
-rw-r--r--share/functions/up-or-search.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/up-or-search.fish b/share/functions/up-or-search.fish
index 18c37e83..fc51d710 100644
--- a/share/functions/up-or-search.fish
+++ b/share/functions/up-or-search.fish
@@ -6,14 +6,14 @@ function up-or-search -d "Depending on cursor position and current mode, either
end
# We are not already in search mode.
- # If we are on the top line, start search mode,
+ # If we are on the top line, start search mode,
# otherwise move up
set lineno (commandline -L)
switch $lineno
case 1
commandline -f history-search-backward
-
+
case '*'
commandline -f up-line
end