speedie-zsh | Add new config

This commit is contained in:
speedie 2022-11-30 20:47:57 +01:00
parent b03151af1a
commit acce313e84
3 changed files with 35 additions and 0 deletions

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# szsh
speedie's zsh configuration.
Works well with my [st](https://github.com/speedie-de/st) configuration.
Installation
- git clone <this-page>
- cd szsh/.config
- cp -r zsh ~/.config
- echo "export ZDOTDIR=~/.config/zsh/dotfiles" >> ~/.zprofile
- Install zsh using your package manager
- chsh /bin/zsh

16
commit.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
if [ -e "$HOME/.config/zsh" ]; then
rm -rf .config/zsh
cp -r $HOME/.config/zsh .config/
# remove history
rm -rf .config/zsh/.zcompcache
rm -rf .config/zsh/.zcompdump
rm -rf .config/zsh/history
rm -rf .config/zsh/dotfiles/history
git add .config/*
git commit -a -m "speedie-zsh | Add new config"
git push
fi

8
install.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
echo 3; sleep 1; echo 2; sleep 1; echo 1; sleep 1
[ -e "$HOME/.config/zsh" ] && cp -r $HOME/.config/zsh /tmp/zsh-backup && rm -rf $HOME/.config/zsh
cp -r .config/zsh $HOME/.config/
echo "installed."