|
|
@@ -19,7 +19,7 @@ function add_string_to_file() {
|
|
|
|
|
|
# Bashrc
|
|
|
add_string_to_file "$HOME/.bashrc" "# Setup Aliases"
|
|
|
-add_string_to_file "$HOME/.bashrc" "source $HOME/dots/aliases"
|
|
|
+add_string_to_file "$HOME/.bashrc" "source $HOME/dots/default_aliases"
|
|
|
add_string_to_file "$HOME/.bashrc" "source $HOME/dots/seafly-prompt"
|
|
|
|
|
|
add_string_to_file "$HOME/.bashrc" "# Scripts"
|
|
|
@@ -34,11 +34,18 @@ cp "./tmux.conf" "$HOME/.tmux.conf"
|
|
|
|
|
|
|
|
|
# PATH VARS
|
|
|
-if [ -f "$HOME/.user_paths" ]; then
|
|
|
- chmod 660 "$HOME/.user_paths"
|
|
|
+if [ -f "$HOME/.dots/user_paths" ]; then
|
|
|
+ chmod 660 "$HOME/.dots/user_paths"
|
|
|
add_string_to_file "$HOME/.bashrc" "# PATH FILE"
|
|
|
- add_string_to_file "$HOME/.bashrc" "source $HOME/.user_paths"
|
|
|
+ add_string_to_file "$HOME/.bashrc" "source $HOME/.dots/user_paths"
|
|
|
fi
|
|
|
|
|
|
+if [ -f "$HOME/.dots/user_aliases" ]; then
|
|
|
+ chmod 660 "$HOME/.dots/user_aliases"
|
|
|
+ add_string_to_file "$HOME/.bashrc" "# USER ALIASES"
|
|
|
+ add_string_to_file "$HOME/.bashrc" "source $HOME/.dots/user_aliases"
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
# Source
|
|
|
source "$HOME/.bashrc"
|