浏览代码

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

Kyle P Davis 10 年之前
父节点
当前提交
26b6b37734
共有 1 个文件被更改,包括 3 次插入2 次删除
  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"