Explorar o código

add .bash_profile as installed link it is needed for some shell scenarios

Kyle P Davis %!s(int64=10) %!d(string=hai) anos
pai
achega
26b6b37734
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      install.sh

+ 3 - 2
install.sh

@@ -21,8 +21,9 @@ link() {
 	fi
 }
 
-link "$CMD_DIR/.profile" "$HOME/.profile"
-link "$CMD_DIR/.profile" "$HOME/.bashrc"
+link "$CMD_DIR/.profile" "$HOME/.profile" # Mac
+link "$CMD_DIR/.profile" "$HOME/.bashrc" # Linux
+link "$CMD_DIR/.profile" "$HOME/.bash_profile" # certain scenarios use this one
 
 link "$CMD_DIR/.vimrc" "$HOME/.vimrc"