mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Replace use of which
with command -sq
This commit is contained in:
parent
03571b82be
commit
ddb9350ea9
|
@ -1,4 +1,4 @@
|
|||
if which abook >/dev/null ^/dev/null
|
||||
if command -sq abook
|
||||
complete -c mutt -f -a '(__fish_print_abook_emails)'
|
||||
complete -c mutt -s c -x -d 'Specify a carbon-copy (CC) recipient' -a '(__fish_print_abook_emails)'
|
||||
complete -c mutt -s b -x -d 'Specify a blind-carbon-copy (BCC) recipient' -a '(__fish_print_abook_emails)'
|
||||
|
|
Loading…
Reference in New Issue
Block a user