Merge branch 'master' of github.com:ChrisTitusTech/zsh into master

This commit is contained in:
ChrisTitusTech 2020-09-08 12:01:22 -05:00
commit 3494bece8f
2 changed files with 27 additions and 6 deletions

View file

@ -1,14 +1,34 @@
# zsh
My ZSH Config
## Setup
```
git clone --recursive https://github.com/ChrisTitusTech/zsh
ln -s -f ~/zsh/.zshrc ~/.zshrc
touch "$HOME/.cache/zshhistory"
#-- Setup Alias in $HOME/zsh/aliasrc
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >> ~/.zshrc
```
## Get Dependencies
- zsh-syntax-highlighting - syntax highlighting for ZSH in standard repos
- autojump - jump to directories with j or jc for child or jo to open in file manager
- zsh-autosuggestions - Suggestions based on your history
### Debian Dependencies
```bash
sudo apt install zsh-syntax-highlighting autojump zsh-autosuggestions
```
### Arch Dependencies
```bash
yay -S zsh-syntax-highlighting autojump zsh-autosuggestions
```
Finish the conversion by changing your user in /etc/passwd to /bin/zsh instead of /bin/bash
or typing `chsh $USER` and entering `/bin/zsh`

View file

@ -82,6 +82,7 @@ alias gds-stop='sudo systemctl stop openvpn-client@gds'
gitpush() {
git add .
git commit -m "$*"
git pull
git push
}
gitupdate() {