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
|
||||
Reference in New Issue
Block a user