Added bash config
Copied over old .bashrc and .bash_aliases because they didn't need really need changing Slightly changed .bash_profile for starting graphical setups Added simple starship.toml setup Updated install script to copy/pull new files
This commit is contained in:
11
dots
11
dots
@@ -10,6 +10,10 @@ Install() {
|
||||
|
||||
[[ ! -d "$1" ]] && mkdir -p "$1"
|
||||
|
||||
cp "bashrc" "$1/.bashrc"
|
||||
cp "bash_profile" "$1/.bash_profile"
|
||||
cp "bash_aliases" "$1/.bash_aliases"
|
||||
|
||||
cp -RT "config" "$1/.config"
|
||||
}
|
||||
|
||||
@@ -18,7 +22,12 @@ Pull() {
|
||||
#
|
||||
echo "[Info] :: Pulling dotfile changes from $1"
|
||||
|
||||
cp -r "$1/.config/nvim" "config/"
|
||||
cp -r "$1/.config/nvim" "config/"
|
||||
cp "$1/.config/starship.toml" "config/starship.toml"
|
||||
|
||||
cp "$1/.bashrc" "bashrc"
|
||||
cp "$1/.bash_profile" "bash_profile"
|
||||
cp "$1/.bash_aliases" "bash_aliases"
|
||||
}
|
||||
|
||||
INSTALL_DIR=${2:-$HOME}
|
||||
|
||||
Reference in New Issue
Block a user