chore(setup): streamline setup script output and flow
This commit is contained in:
@ -10,12 +10,6 @@ git submodule update --init --recursive
|
|||||||
|
|
||||||
find . -type d -name '.git*' -prune -o -type f -print0 | xargs -0 dos2unix > /dev/null 2>&1
|
find . -type d -name '.git*' -prune -o -type f -print0 | xargs -0 dos2unix > /dev/null 2>&1
|
||||||
|
|
||||||
./scripts/gitconfig
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo "[+] Creating symlinks..."
|
|
||||||
echo
|
|
||||||
|
|
||||||
if [ ! -f "$PWD/.zshenv" ]; then
|
if [ ! -f "$PWD/.zshenv" ]; then
|
||||||
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
|
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
|
||||||
|
|
||||||
@ -23,4 +17,10 @@ if [ ! -f "$PWD/.zshenv" ]; then
|
|||||||
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
|
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
./scripts/gitconfig
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "[+] Creating symlinks..."
|
||||||
|
echo
|
||||||
|
|
||||||
stow .
|
stow .
|
||||||
|
Reference in New Issue
Block a user