diff --git a/share/functions/history.fish b/share/functions/history.fish index 3d272cf0e..d513c191b 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