From aacdaee6a9b0587d87bc176553bf1489453a8530 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 29 Mar 2016 19:56:14 +0200 Subject: [PATCH] Add history --help This was probably an oversight - the builtin supports it, the function doesn't. --- share/functions/history.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/functions/history.fish b/share/functions/history.fish index 758b5ea56..a26db0f4c 100644 --- a/share/functions/history.fish +++ b/share/functions/history.fish @@ -36,6 +36,8 @@ function history --description "Deletes an item from history" set cmd print case --merge set cmd merge + case --help + set cmd help case -- set -e argv[$i] break @@ -131,6 +133,8 @@ function history --description "Deletes an item from history" builtin history $argv case merge builtin history --merge + case help + builtin history --help case clear # Erase the entire history echo "Are you sure you want to clear history ? (y/n)"