aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/functions')
-rw-r--r--.config/fish/functions/sudo.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/fish/functions/sudo.fish b/.config/fish/functions/sudo.fish
new file mode 100644
index 0000000..acfb49f
--- /dev/null
+++ b/.config/fish/functions/sudo.fish
@@ -0,0 +1,3 @@
+function sudo --wraps='sudo' --description 'use doas instead of sudo'
+ doas $argv;
+end