From f6d101e7ad83f5921e981db54495349ee52f0926 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Mon, 3 Jul 2017 16:26:27 -0700 Subject: [PATCH] fix undef var reference in `history` The change for issue #4163 brought to light the pointless attempt to use `$_` in the `history` function. --- share/functions/history.fish | 1 - 1 file changed, 1 deletion(-) diff --git a/share/functions/history.fish b/share/functions/history.fish index 6e130fd76..709540333 100644 --- a/share/functions/history.fish +++ b/share/functions/history.fish @@ -29,7 +29,6 @@ function __fish_unexpected_hist_args --no-scope-shadowing end function history --description "display or manipulate interactive command history" - set -l cmd $_ set -l cmd history set -l hist_cmd set -l search_mode