aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024
diff options
context:
space:
mode:
Diffstat (limited to 'fish2024')
-rw-r--r--fish2024/config.fish2
-rw-r--r--fish2024/functions/xupdate.fish4
2 files changed, 5 insertions, 1 deletions
diff --git a/fish2024/config.fish b/fish2024/config.fish
index 7b0981d..edf9773 100644
--- a/fish2024/config.fish
+++ b/fish2024/config.fish
@@ -15,7 +15,7 @@ if not set -Ux SSH_AUTH_SOCK && not set -Ux SSH_AGENT_PID
set -Ux SSH_AGENT_PID $SSH_AGENT_PID
end
-#. ~/perl5/perlbrew/etc/perlbrew.fish
+. ~/perl5/perlbrew/etc/perlbrew.fish
#direnv prints all the variables whenever I start a new shell
direnv hook fish | source
diff --git a/fish2024/functions/xupdate.fish b/fish2024/functions/xupdate.fish
new file mode 100644
index 0000000..8cd4cd9
--- /dev/null
+++ b/fish2024/functions/xupdate.fish
@@ -0,0 +1,4 @@
+function xupdate --wraps='sudo xbps-install -Su' --description 'alias xupdate sudo xbps-install -Su'
+ sudo xbps-install -Su $argv
+
+end