mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
Replace use of which
with command -sq
This commit is contained in:
parent
03571b82be
commit
ddb9350ea9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue