|
@@ -19,11 +19,11 @@ function add_string_to_file() {
|
|
|
|
|
|
|
|
# Bashrc
|
|
# Bashrc
|
|
|
add_string_to_file "$HOME/.bashrc" "# Setup Aliases"
|
|
add_string_to_file "$HOME/.bashrc" "# Setup Aliases"
|
|
|
-add_string_to_file "$HOME/.bashrc" "source $HOME/dots/aliases" && source "$HOME/.bashrc"
|
|
|
|
|
-add_string_to_file "$HOME/.bashrc" "source $HOME/dots/seafly-prompt" && source "$HOME/.bashrc"
|
|
|
|
|
|
|
+add_string_to_file "$HOME/.bashrc" "source $HOME/dots/aliases"
|
|
|
|
|
+add_string_to_file "$HOME/.bashrc" "source $HOME/dots/seafly-prompt"
|
|
|
|
|
|
|
|
add_string_to_file "$HOME/.bashrc" "# Scripts"
|
|
add_string_to_file "$HOME/.bashrc" "# Scripts"
|
|
|
-add_string_to_file "$HOME/.bashrc" "bash $HOME/dots/life.sh 1993-07-21 control" && source "$HOME/.bashrc"
|
|
|
|
|
|
|
+add_string_to_file "$HOME/.bashrc" "bash $HOME/dots/life.sh 1993-07-21 control"
|
|
|
|
|
|
|
|
# NVIM
|
|
# NVIM
|
|
|
mkdir -p "$HOME/.config/nvim/"
|
|
mkdir -p "$HOME/.config/nvim/"
|
|
@@ -37,5 +37,8 @@ cp "./tmux.conf" "$HOME/.tmux.conf"
|
|
|
if [ -f "$HOME/.user_paths" ]; then
|
|
if [ -f "$HOME/.user_paths" ]; then
|
|
|
chmod 660 "$HOME/.user_paths"
|
|
chmod 660 "$HOME/.user_paths"
|
|
|
add_string_to_file "$HOME/.bashrc" "# PATH FILE"
|
|
add_string_to_file "$HOME/.bashrc" "# PATH FILE"
|
|
|
- add_string_to_file "$HOME/.bashrc" "source $HOME/.user_paths" && source "$HOME/.bashrc"
|
|
|
|
|
|
|
+ add_string_to_file "$HOME/.bashrc" "source $HOME/.user_paths"
|
|
|
fi
|
|
fi
|
|
|
|
|
+
|
|
|
|
|
+# Source
|
|
|
|
|
+source "$HOME/.bashrc"
|