From 30a8b4a634491a3db797b210b0b32c19b6d2be9d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 20 Dec 2020 19:44:55 +0530 Subject: placed .zshrc in the right directory --- zsh/.zshrc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 zsh/.zshrc (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 00000000..403a44a4 --- /dev/null +++ b/zsh/.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