Add aur and su fish functions

This commit is contained in:
Daniele Fucini
2026-10-14 11:09:17 +02:00
parent cfbe7fcbc4
commit be1818b335
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
function su
command su --shell=/usr/bin/fish $argv
end