diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-10-14 16:00:23 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-10-14 16:00:23 +0530 |
commit | 495b144b5bc9fbd48a5e89d7eafbf8d44e56b3f0 (patch) | |
tree | 1875602b46d2bd2d2229615a4af9c6c86201e4cc | |
parent | b460ecb84abcedf9790ddd4de505c6962c68a78c (diff) |
cleaned up zsh config
-rw-r--r-- | .config/zsh/.zshenv | 13 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 68 |
2 files changed, 6 insertions, 75 deletions
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 612d5ee..9718802 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,8 +1,7 @@ export EDITOR="nvim" export VISUAL="emacs" -export TERMINAL="st" -export BROWSER="librewolf --private-window" -export READER="zathura" +export TERMINAL="alacritty" +export BROWSER="librewolf" export COLORTERM="truecolor" export PAGER="bat" @@ -12,10 +11,10 @@ export PATH=$HOME/.config/emacs/bin:$PATH export PATH=/usr/local/bin:$PATH -export RUST_SRC_PATH=$HOME/.cargo -export PATH=$HOME/.gopath:$PATH -export GOPATH="$HOME/.gopath" -export PATH=$HOME/.local/flutter/bin:$PATH +# export RUST_SRC_PATH=$HOME/.cargo +# export PATH=$HOME/.gopath:$PATH +# export GOPATH="$HOME/.gopath" +# export PATH=$HOME/.local/flutter/bin:$PATH export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index d3eb255..26745c4 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -4,78 +4,10 @@ SAVEHIST=1000 setopt autocd unsetopt beep notify bindkey -v -# autoload -U colors && colors -# source /home/zt/.local/zsh-autocomplete/zsh-autocomplete.plugin.zsh - -# paths -# export PATH=/:$PATH -# export PATH=/zt/.gopath:$PATH -# export PATH=/zt/.path:$PATH -# -# export PATH=/home/zt/.scripts:$PATH -# export PATH=/home/zt/.local/bin:$PATH -# -# export PATH=/usr/local/bin:$PATH -# -# export GOPATH="/zt/.gopath/" # 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' -alias wd='/zt/Docs/web' - -# programs -alias pf='clear && pfetch' alias rm='rm -i' alias ls='exa -l' alias la='exa -a' -alias lsa='exa -al' -# alias nf='neofetch' -alias adbc='adb connect 10.0.0.51:5555' -alias x='chmod +x' -alias rf='rm -rf' -# git -alias gs='git status' -alias ga='git add' -alias gA='git add -A' -alias gc='git commit' -alias gcm='git commit -m' -alias gi='nvim .gitignore' -alias gp='git push' -alias gcl='git clone' - -# dotfiles -alias xc='nvim /home/zt/.config/XMonad/xmonad.hs' -alias zrc='nvim /home/zt/.config/zsh/.zshrc' - -# git bare -alias dots='git --git-dir=$HOME/.dots/ --work-tree=$HOME' -alias da='dots add' -alias dc='dots commit' -# if ssh daemon isn't running, start it and retry pushing -alias dp='dots push || ssh-v && dots push' - -# ssh -# alias ssh-k='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/kalawati_git_key' -alias ssh-v='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/MikunoNaka-GitHub' - -# to change title of terminal -title() { - echo -n -e "\033]0;$@\007" -} - -# record screen -srecord() { - ffmpeg -f x11grab -s 1366x768 -i :0.0 $@ -} -# neofetch -exa eval "$(starship init zsh)" -# syntax highlighting, needs to be at the end -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |