summaryrefslogtreecommitdiff
path: root/dev-env
diff options
context:
space:
mode:
Diffstat (limited to 'dev-env')
-rwxr-xr-xdev-env9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-env b/dev-env
index 2fa9ae2..4f3443c 100755
--- a/dev-env
+++ b/dev-env
@@ -2,7 +2,7 @@
source util
-dry="1"
+dry="0"
while [[ $# -gt 0 ]]; do
if [[ "$1" == "--dry" ]]; then
dry="1"
@@ -10,17 +10,16 @@ while [[ $# -gt 0 ]]; do
shift
done
-#cd $target/dotfiles
+cd $target/dotfiles
log "Copying Scripts"
-scripts="$(find ./scripts -maxdepth 1 -mindepth 1 -perm +111 -type f)"
+scripts="$(find ./scripts -maxdepth 1 -mindepth 1 -executable -type f)"
for script in $scripts; do
log $script
copy_file "$script" "$target/bin"
done
log "Copying Configs"
-copy_dir ".config" $HOME
-copy_file ".config/.profile" $HOME
+copy_dir .config $HOME/.config
copy_file ".config/.profile" $HOME
copy_file ".config/shells/zsh/.zshrc" $HOME