12 lines
326 B
Fish
12 lines
326 B
Fish
# 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
|