aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-08-24 09:19:30 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-10-19 11:30:00 +0200
commit5567637cd78c2eb651de5b53da8001b15a146a4c (patch)
treeeee7784682457687e3764cee61b5db21f98d97fa
parent86dba56365e968e68ae0f871c485bef083152f85 (diff)
Include snap bins if they exist
-rw-r--r--.config/shell/sources7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/shell/sources b/.config/shell/sources
index a9b11b9..43a3bb0 100644
--- a/.config/shell/sources
+++ b/.config/shell/sources
@@ -39,6 +39,13 @@ PATH="${PATH}:/usr/local/sbin"
PATH="${PATH}:/usr/games/bin"
PATH="${PATH}:/opt/bin"
+# snaps were a terrible idea and anyone in favour of them should be ashamed
+# of themselves
+if [ -d "/snap/bin" ]
+then
+ PATH="$PATH:/snap/bin"
+fi
+
# Raku stuff
if [ -d "$HOME/.raku/bin" ]
then