Copy and install unless --files-only specified

This commit is contained in:
Sage Vaillancourt 2023-08-26 00:31:52 -04:00
parent 242089bb2c
commit 599937b806
1 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,5 @@
#!/bin/bash
if [[ "$1" != "--install" ]]; then
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
FAKE_HOME="$SCRIPT_DIR/fake_home"
@ -22,6 +21,7 @@ if [[ "$1" != "--install" ]]; then
done
touch "$HOME/.zsh_local"
if [[ "$1" == "--files-only" ]]; then
exit 0
fi