소스 검색

Explicitly declare PATH variable

Avoid duplicates in the list of PATH.
DricomDragon 5 년 전
부모
커밋
b5e0879d0d
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      Install/fish-custom

+ 3 - 4
Install/fish-custom

@@ -1,13 +1,12 @@
 #!/usr/bin/fish
 
 # Install fish customization
-mkdir --parents /home/jovian/.config/fish
-cp --recursive --update --link ./Templates/fish/* /home/jovian/.config/fish/
+mkdir --parents ~/.config/fish
+cp --recursive --update --link ./Templates/fish/* ~/.config/fish/
 
 # Export environment variables
 set --export --universal JHE 'jovian-hersemeule.eu'
 set --export --universal EDITOR 'vi -e'
 set --export --universal VISUAL vim
 set --export --universal TERMINAL alacritty
-set --export --universal PATH ~/.bin $PATH
-
+set --export --universal PATH ~/.bin ~/.local/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin