aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--share/functions/history.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/history.fish b/share/functions/history.fish
index 3d272cf0..d513c191 100644
--- a/share/functions/history.fish
+++ b/share/functions/history.fish
@@ -40,7 +40,7 @@ function history --description "Deletes an item from history"
break
case "-*" "--*"
printf ( _ "%s: invalid option -- %s\n" ) history $argv[1] >& 2
- return
+ return 1
end
end
else