Skip to content

Commit e41c8b5

Browse files
committed
Remove private data
1 parent 0c2445d commit e41c8b5

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
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

private

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/base_install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ _do() {
44
}
55

66
function 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

scripts/utils.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ NODE: $NODE
5757
USER: $(whoami)
5858
HOME: $HOME
5959
DOTFILES_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
}

0 commit comments

Comments
 (0)