diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index ae24d2f..659c0c7 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -126,25 +126,22 @@ alias prunx="podman run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$D alias drun="sudo docker run --rm -it" alias drunx="sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\"" -PATH="/usr/bin:/bin" -for dir in $HOME/.local/bin \ - $HOME/bin \ - /app/bin \ - /snap/bin \ - /sbin \ - /usr/sbin \ - /usr/X11R6/bin \ - /usr/X11R7/bin \ - /usr/local/bin \ - /usr/local/sbin \ - /usr/pkg/bin \ - /usr/pkg/sbin \ - /usr/games \ - /usr/local/heirloom-doctools/bin \ - /var/lib/snapd/snap/bin \ +PATH="/usr/sbin:/usr/bin:/sbin:/bin" +for dir in $HOME/bin \ $GOPATH/bin \ $HOME/.cargo/bin \ $HOME/.gem/ruby/*/bin \ + /usr/X11R7/bin \ + /usr/X11R6/bin \ + /usr/local/sbin \ + /usr/local/bin \ + /usr/pkg/sbin \ + /usr/pkg/bin \ + /usr/games \ + /usr/local/heirloom-doctools/bin \ + /var/lib/snapd/snap/bin \ + /app/bin \ + /snap/bin \ ; do if [ -d "$dir" ]; then PATH="$PATH:$dir"