export PATH PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.cargo/bin:$PATH" export VISUAL=vim export EDITOR=$VISUAL export BROWSER=firefox PS1='%F{blue}%n%f@%m %B%40<..<%~%<< %b%# ' HISTFILE=~/.histfile HISTSIZE=1000000000 SAVEHIST=1000000000 HISTORY_IGNORE="(ls|cd|rm|cp|mv|vim|mkdir|cat|tree|code|rg|locate|pdfgrep|mpv|mupdf|firefox) *|git commit -am *|git commit -m *|git grep *|git (mv|show|checkout|add|log|clone) *" setopt auto_pushd setopt autocd setopt HIST_IGNORE_SPACE setopt histignorealldups setopt INTERACTIVE_COMMENTS setopt +o nomatch chpwd() { ls } bindkey -v # vi keybindings bindkey '^R' history-incremental-search-backward alias gitstat='git shortlog -s | sort -nr' alias tree='tree -aF --dirsfirst -I ".git|target|*/.git/*|*/target/*"' alias ls='ls -Ap --color=auto --group-directories-first' alias code=codium alias trmws="sed --in-place 's/[[:space:]]\+$//'" alias cdiff='git diff --color-words --no-index'