diff --git a/README.md b/README.md new file mode 100644 index 0000000..55bb47c --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# szsh +speedie's zsh configuration. +Works well with my [st](https://github.com/speedie-de/st) configuration. + +Installation +- git clone +- cd szsh/.config +- cp -r zsh ~/.config +- echo "export ZDOTDIR=~/.config/zsh/dotfiles" >> ~/.zprofile +- Install zsh using your package manager +- chsh /bin/zsh diff --git a/commit.sh b/commit.sh new file mode 100755 index 0000000..22e79bb --- /dev/null +++ b/commit.sh @@ -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 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..62bef89 --- /dev/null +++ b/install.sh @@ -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."