Ver código fonte

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

Kyle P Davis 10 anos atrás
pai
commit
26b6b37734
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      install.sh

+ 3 - 2
install.sh

@@ -21,8 +21,9 @@ link() {
 	fi
 	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"
 link "$CMD_DIR/.vimrc" "$HOME/.vimrc"