Skip to content

Commit

Permalink
[WIP] Try separating install and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvcc committed Jul 1, 2024
1 parent a4bca1c commit 509c4e0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .cfg/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,3 @@ cfg checkout
cfg "config" status.showUntrackedFiles no
cfg "config" commit.verbose true

if test -f "$(which apt)"; then
CMD=""
if [ "$(id -u)" != "0" ]; then
CMD="sudo"
fi
${CMD} apt install -y zsh
fi

./.cfg/scripts/install-brew.sh
./.cfg/scripts/install-packages.sh

./.cfg/scripts/install-omb.sh
./.cfg/scripts/install-omz.sh

./.cfg/scripts/install-neovim.sh
17 changes: 17 additions & 0 deletions .cfg/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

if test -f "$(which apt)"; then
CMD=""
if [ "$(id -u)" != "0" ]; then
CMD="sudo"
fi
${CMD} apt install -y zsh
fi

./.cfg/scripts/install-brew.sh
./.cfg/scripts/install-packages.sh

./.cfg/scripts/install-omb.sh
./.cfg/scripts/install-omz.sh

./.cfg/scripts/install-neovim.sh

0 comments on commit 509c4e0

Please sign in to comment.