diff options
Diffstat (limited to 'dev-env')
| -rwxr-xr-x | dev-env | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |
