Add aur and su fish functions
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
# Route aur build/sync through the ccache wrapper (~/.local/bin/aurb, aurs)
|
||||||
|
function aur --wraps aur --description 'aur with ccache for build/sync'
|
||||||
|
switch "$argv[1]"
|
||||||
|
case build
|
||||||
|
aurb $argv[2..-1]
|
||||||
|
case sync
|
||||||
|
aurs $argv[2..-1]
|
||||||
|
case '*'
|
||||||
|
command aur $argv
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
function su
|
||||||
|
command su --shell=/usr/bin/fish $argv
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user