mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Moves most configuration
This commit is contained in:
15
dev-env
15
dev-env
@@ -52,12 +52,23 @@ update_files() {
|
||||
popd &>/dev/null
|
||||
}
|
||||
|
||||
copy() {
|
||||
log "removing: $2"
|
||||
if [[ $dry_run == "0" ]]; then
|
||||
rm $2
|
||||
fi
|
||||
log "copying: $1 to $2"
|
||||
if [[ $dry_run == "0" ]]; then
|
||||
cp $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
update_files $DEV_ENV/env/.config $XDG_CONFIG_HOME
|
||||
update_files $DEV_ENV/env/.local $HOME/.local
|
||||
#
|
||||
# copy $DEV_ENV/tmux-sessionizer/tmux-sessionizer $HOME/.local/scripts/tmux-sessionizer
|
||||
# copy $DEV_ENV/env/.zsh_profile $HOME/.zsh_profile
|
||||
# copy $DEV_ENV/env/.zshrc $HOME/.zshrc
|
||||
copy $DEV_ENV/env/.zshenv $HOME/.zshenv
|
||||
|
||||
# copy $DEV_ENV/env/.xprofile $HOME/.xprofile
|
||||
# copy $DEV_ENV/env/.tmux-sessionizer $HOME/.tmux-sessionizer
|
||||
# copy $DEV_ENV/dev-env $HOME/.local/scripts/dev-env
|
||||
|
||||
Reference in New Issue
Block a user