zsh fix
This commit is contained in:
parent
22b3de8619
commit
780bb1e499
2 changed files with 19 additions and 2 deletions
20
README.md
20
README.md
|
@ -3,12 +3,28 @@ My ZSH Config
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
```
|
```
|
||||||
git clone --recursive https://github.com/ChrisTitusTech/zsh
|
touch "$HOME/.cache/zshhistory
|
||||||
ln -s -f ~/zsh/.zshrc ~/.zshrc
|
#-- 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
|
## Get Dependencies
|
||||||
- zsh-syntax-highlighting - syntax highlighting for ZSH in standard repos
|
- 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
|
- autojump - jump to directories with j or jc for child or jo to open in file manager
|
||||||
- zsh-autosuggestions - Suggestions based on your history
|
- 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
|
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`
|
||||||
|
|
1
aliasrc
1
aliasrc
|
@ -82,6 +82,7 @@ alias gds-stop='sudo systemctl stop openvpn-client@gds'
|
||||||
gitpush() {
|
gitpush() {
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$*"
|
git commit -m "$*"
|
||||||
|
git pull
|
||||||
git push
|
git push
|
||||||
}
|
}
|
||||||
alias gp=gitpush
|
alias gp=gitpush
|
||||||
|
|
Reference in a new issue