configs/server-config.sh

20 lines
529 B
Bash
Raw Normal View History

#!/bin/bash
2023-07-04 21:33:01 +02:00
set -e
2023-01-24 23:11:30 +01:00
2023-07-04 21:33:01 +02:00
[ -f ~/.zsh-very.old ] && rm -rf ~/.zsh-very-old
[ -f ~/.zsh-old ] && mv ~/.zsh-old ~/.zsh-very-old
[ -f ~/.zsh ] && mv ~/.zsh ~/.zsh-old
2023-07-04 21:33:01 +02:00
[ -f ~/.zshrc-very-old ] && rm -rf ~/.zshrc-very-old
[ -f ~/.zshrc-old ] && mv ~/.zshrc-old ~/.zshrc-very-old
[ -f ~/.zshrc ] && mv ~/.zshrc ~/.zshrc-old
2023-01-24 23:11:30 +01:00
cp -r $(pwd)/home/.zsh-server ~
cp -r $(pwd)/home/.vimrc ~
cp -r $(pwd)/home/.local ~
cp -r $(pwd)/home/.config ~
2023-02-04 19:07:54 +01:00
cp -r $(pwd)/home/.tmux-server.conf ~/.tmux.conf
2023-04-20 21:48:30 +02:00
touch ~/.local.zsh
2023-01-24 23:11:30 +01:00
ln ~/.zsh-server/zshrc ~/.zshrc