From c589a1e89cbed602d0f2177c1594dd8035615256 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 9 Dec 2020 10:35:46 +0530 Subject: added zshrc file --- zshrc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 zshrc diff --git a/zshrc b/zshrc new file mode 100644 index 00000000..403a44a4 --- /dev/null +++ b/zshrc @@ -0,0 +1,38 @@ +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +setopt autocd beep notify +bindkey -v +colorscript random +# autoload -U colors && colors +# source /home/zt/.local/zsh-autocomplete/zsh-autocomplete.plugin.zsh + +# paths +export GOPATH="/zt/Docs/Go/" +export PATH=/zt/Docs/Go:$PATH +export PATH=/home/zt/.config/scripts:$PATH +export PATH=/zt/Programs:$PATH +export PATH=/home/zt/.local/bin:$PATH +export PATH=/zt/Docs/GoMinder:$PATH +export PATH=/usr/local/bin:$PATH + +# aliases +# directories +alias waifu='cd /zt/waifu' +alias docs='cd /zt/Docs' +alias zt='/zt/' +alias progs='/zt/Programs/' +alias scripts='~/.config/scripts/' +alias goproj='/zt/Docs/Go/src/github.com/MikunoNaka' + +# programs +alias pf='clear && pfetch' +alias rm='rm -i' +alias ls='exa -l' +alias la='exa -a' +alias lsa='exa -al' +alias nf='neofetch' + +eval "$(starship init zsh)" +# syntax highlighting, needs to be at the end +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -- cgit v1.2.3