diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-25 15:58:06 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-25 15:58:06 +0900 |
| commit | 69eb71877d86fe500061b99769740f662b1a21c1 (patch) | |
| tree | f8363b26a3cd968b7709b3c38019c9561c0343f1 | |
| parent | 7a5a33269b07f22dd2b77c32ea18dd079d7cd903 (diff) | |
modified shell/profile
| -rw-r--r-- | ar/.config/shell/profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile index df9fb42..90c3675 100644 --- a/ar/.config/shell/profile +++ b/ar/.config/shell/profile @@ -9,7 +9,6 @@ # Add all directories in each subdirectory to $PATH [ -d ~/.local/bin ] && export PATH="$(find ~/.local/bin -path '*/.git*' -prune -o \( -type f -o -type l \) -perm -u=x -exec dirname {} \; | sort -u | paste -sd ':' -):$PATH" [ -d ~/.local/share/.password-store ] && export PATH="$(find ~/.local/share/.password-store -type d -name '.extensions' | paste -sd ':' -):$PATH" -command -v npm >/dev/null 2>&1 && export PATH="$(find -L ~/.local/share/npm -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -):$PATH" unsetopt PROMPT_SP 2>/dev/null @@ -168,6 +167,7 @@ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config" ### --- NPM --- ### export NPM_CONFIG_USERCONFIG="~/.config/npm/.npmrc" +command -v npm >/dev/null 2>&1 && export PATH="$(find -L ~/.local/share/npm -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -):$PATH" ### --- NVM --- ### export NVM_DIR="$XDG_CONFIG_HOME/nvm" |
