diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-08-04 16:08:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-08-04 16:08:08 -0300 |
commit | 6e0cbf56ef8e8b38aa55e6b33b17e54e45de888a (patch) | |
tree | 4ed0b50ee2dc9bb08772c6e277983fc653893fdf | |
parent | 1aa2a8bec033f3fc02225bf6ae2a4923fa1beed5 (diff) | |
download | profile-6e0cbf56ef8e8b38aa55e6b33b17e54e45de888a.tar.gz profile-6e0cbf56ef8e8b38aa55e6b33b17e54e45de888a.tar.bz2 |
Add snap into PATH
-rw-r--r-- | profile.dot.link | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link index 5e0dab7..4ba8466 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -19,6 +19,11 @@ fi # Set PATH PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/local/games +# Add snap into PATH +if [ -d "/snap/bin" ]; then + PATH="/snap/bin:$PATH" +fi + # Add ~/.local/bin folder into PATH if [ -d "$HOME/.local/bin" ]; then PATH=$HOME/.local/bin:$PATH |