File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1- [submodule "private "]
2- path = private
3- url = [email protected] :erichlf/dotfiles-private.git 4- branch = master
51[submodule "home/dot-tmux/plugins/tpm "]
62 path = home/dot-tmux/plugins/tpm
73 url = https://github.com/tmux-plugins/tpm
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ _do() {
44}
55
66function base_install() {
7+ local SYSTEM=" $1 "
8+
9+ local file=" $DOTFILES_DIR /scripts/configs/$SYSTEM .yml"
710 source " $DOTFILES_DIR /scripts/read_yaml.sh"
811 source " $DOTFILES_DIR /scripts/utils.sh"
912
1013 print_details
1114
12- local system=" $1 "
13- local file=" $DOTFILES_DIR /scripts/configs/$system .yml"
14-
15- INFO " Collecting packages for $system ($file )"
15+ INFO " Collecting packages for $SYSTEM ($file )"
1616 collect_yaml_lists " $file "
1717
1818 local i name orig
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ NODE: $NODE
5757USER: $( whoami)
5858HOME: $HOME
5959DOTFILES_DIR: $DOTFILES_DIR
60- "
60+ " " ${RESET} "
6161}
6262
6363# function to create my links
@@ -66,10 +66,7 @@ function sym_links() {
6666 INFO " Creating symlinks..."
6767 mkdir -p " $HOME /.config"
6868 stow -v --dotfiles --adopt --dir " $DOTFILES_DIR " --target " $HOME " --restow home
69- [[ -d $DOTFILES /private/.ssh ]] && stow -v --adopt --dir " $DOTFILES_DIR /private/" --target " $HOME /.ssh" --restow .ssh
7069 stow -v --adopt --dir " $DOTFILES_DIR " --target " $HOME /.config/" --restow config
71- # if the adopt made a local change then undo that
72- git checkout HEAD -- config home private
7370
7471 return 0
7572}
You can’t perform that action at this time.
0 commit comments