aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-22 08:46:37 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-22 08:46:37 +0100
commitb397e8d4fc8ff5b8dbfb39034ab34c0871315434 (patch)
treec303d50448c368aa324808c16bb51a1b22a3493b /fish2024
parent90173363279e803dc34ce87b2f1eb882da75fe96 (diff)
lazy commit - lots of stuff
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