fix undef var reference in history

The change for issue #4163 brought to light the pointless attempt to use
`$_` in the `history` function.
This commit is contained in:
Kurtis Rader 2017-07-03 16:26:27 -07:00
parent d383e3b92c
commit f6d101e7ad

View file

@ -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