aboutsummaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-05-06 09:53:43 +0200
committerMattias Andrée <maandree@kth.se>2024-05-06 09:53:43 +0200
commit16c57bb791a1fc76b8b00894e29c050681809402 (patch)
tree5627d8bf0ed3767956caf89d28eabb6155ff8879 /base
parentm (diff)
downloaddotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.gz
dotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.bz2
dotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.xz
...
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'base')
-rw-r--r--base/user-profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/user-profile b/base/user-profile
index 2206a1f..370d637 100644
--- a/base/user-profile
+++ b/base/user-profile
@@ -13,10 +13,10 @@ export MAIN_ALSA_MIXER=PCM
export MANSECT="1p:8p:1:8:2:3p:3:0:5:4:9:6:7:n:l"
# Ensure ~/.local/bin and ~/.usr/bin are in PATH
-if ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.local/bin >/dev/null; then
+if ! ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.local/bin >/dev/null; then
export PATH="${HOME}/.local/bin:${PATH}"
fi
-if ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.usr/bin >/dev/null; then
+if ! ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.usr/bin >/dev/null; then
export PATH="${HOME}/.usr/bin:${PATH}"
fi