From 780bb1e4999a5fe36ea8d659e96e18f31e39cf22 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 19 Aug 2020 12:34:12 -0500 Subject: [PATCH 1/2] zsh fix --- README.md | 20 ++++++++++++++++++-- aliasrc | 1 + 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 51890d7..1d151f2 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,28 @@ 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` diff --git a/aliasrc b/aliasrc index 95da79e..4c6b8ab 100644 --- a/aliasrc +++ b/aliasrc @@ -82,6 +82,7 @@ alias gds-stop='sudo systemctl stop openvpn-client@gds' gitpush() { git add . git commit -m "$*" + git pull git push } alias gp=gitpush From b4f80ba29ed771b4b22bae2583cdcabb00b78f31 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Mon, 31 Aug 2020 08:44:29 -0500 Subject: [PATCH 2/2] readme fix --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1d151f2..1e340d8 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ # zsh + My ZSH Config ## Setup + ``` -touch "$HOME/.cache/zshhistory +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 +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 + +## 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