fish: Convert abbreviations to aliases
It's annoying to see fish expand the abbreviation while you type.
This commit is contained in:
parent
8d75c7937c
commit
15d24373ac
6 changed files with 14 additions and 7 deletions
3
fish/functions/fl.fish
Normal file
3
fish/functions/fl.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function fl --wraps=fossil
|
||||
command fossil $argv
|
||||
end
|
3
fish/functions/flc.fish
Normal file
3
fish/functions/flc.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function flc --wraps='fossil changes --differ'
|
||||
command fossil changes --differ $argv
|
||||
end
|
|
@ -1,3 +1,3 @@
|
|||
function fld
|
||||
fossil diff $argv -N | colordiff | less -FRX
|
||||
function fld --wraps 'fossil diff'
|
||||
command fossil diff $argv -N | colordiff | less -FRX
|
||||
end
|
||||
|
|
3
fish/functions/gpg.fish
Normal file
3
fish/functions/gpg.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function gpg --wraps=gpg2
|
||||
command gpg2 $argv
|
||||
end
|
3
fish/functions/vi.fish
Normal file
3
fish/functions/vi.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function vi --wraps=vim
|
||||
command vim $argv
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue