configs/kali-config.sh

18 lines
453 B
Bash
Raw Normal View History

2023-06-30 21:45:57 +02:00
#!/bin/bash
2023-07-04 21:33:01 +02:00
set -e
2023-06-30 21:45:57 +02: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-06-30 21:45:57 +02:00
cp -r $(pwd)/home/.zsh-kali ~
cp -r $(pwd)/home/.vimrc ~
cp -r $(pwd)/home/.local ~
cp -r $(pwd)/home/.config ~
cp -r $(pwd)/home/.tmux-server.conf ~/.tmux.conf
touch ~/.local.zsh
2023-07-04 21:33:01 +02:00
if [ tail -n 1 ~/.zshrc != "source ~/.zsh-kali/zshrc" ]; then
echo "source ~/.zsh-kali/zshrc" >> ~/.zshrc
fi