mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
fix bug in abbr
function
I introduced a bug in the `abbr` function with commit 17dff8c
by
referencing the undefined `$cmd` variable. This fixes that.
This commit is contained in:
parent
26472593aa
commit
d4fb75e9f3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ function abbr --description "Manage abbreviations using new fish 3.0 scheme."
|
|||
set options $options 'h/help' 'a/add' 'r/rename' 'e/erase' 'l/list' 's/show'
|
||||
set options $options 'g/global' 'U/universal'
|
||||
|
||||
argparse -n $cmd $options -- $argv
|
||||
argparse -n abbr $options -- $argv
|
||||
or return
|
||||
|
||||
if set -q _flag_help
|
||||
|
|
Loading…
Reference in a new issue