2023-10-23 12:57:02 +00:00
|
|
|
# wow proper history stuff
|
|
|
|
HISTFILE=~/.histfile
|
|
|
|
HISTSIZE=1000
|
|
|
|
SAVEHIST=1000
|
|
|
|
|
|
|
|
# what the fuck are any of these
|
|
|
|
setopt extendedglob
|
|
|
|
setopt nomatch
|
|
|
|
setopt notify
|
|
|
|
|
|
|
|
# who the fuck would want either of these
|
|
|
|
unsetopt autocd
|
|
|
|
unsetopt beep
|
|
|
|
|
|
|
|
# i dont even know what this does lmao
|
|
|
|
bindkey -v
|
|
|
|
|
|
|
|
# c++ compiler
|
|
|
|
export CXX=clang++;
|
|
|
|
|
|
|
|
# aliases for common utilities
|
|
|
|
alias v=nvim;
|
|
|
|
alias s=sudo;
|
|
|
|
alias nf=neofetch;
|
|
|
|
alias ssu="sudo su";
|
|
|
|
alias m="make";
|
|
|
|
alias gaa="git add -A";
|
|
|
|
alias gc="git commit -S -a";
|
|
|
|
alias gcm="git commit -S -a -m";
|
|
|
|
alias cls="clear"
|
2023-10-23 12:59:14 +00:00
|
|
|
alias ls="exa"
|
2023-10-23 12:57:02 +00:00
|
|
|
|
|
|
|
# line
|
|
|
|
PS1=$'\u256d\u2500 %F{cyan}%n@%m%F{white} | %F{red}%/%f > \n\u2570%(!.#.$) ';
|
|
|
|
PS2=$'%{\x1b[A\u2502 \x1b[B\x1b[G%0G%}\u2570%(!.#.$) ';
|