2023-10-30 23:56:14 +00:00
|
|
|
fpath=("$(dirname "$(readlink -f ~/.zshrc)")/zsh" $fpath);
|
2023-10-23 17:17:22 +00:00
|
|
|
|
|
|
|
# completions
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit;
|
|
|
|
|
|
|
|
# wow history stuff
|
|
|
|
HISTFILE=~/.histfile;
|
|
|
|
HISTSIZE=1000;
|
|
|
|
SAVEHIST=1000;
|
2023-10-23 12:57:02 +00:00
|
|
|
|
|
|
|
# what the fuck are any of these
|
2023-10-23 17:17:22 +00:00
|
|
|
setopt extendedglob;
|
|
|
|
setopt nomatch;
|
|
|
|
setopt notify;
|
2023-10-23 12:57:02 +00:00
|
|
|
|
|
|
|
# who the fuck would want either of these
|
2023-10-23 17:17:22 +00:00
|
|
|
unsetopt autocd;
|
|
|
|
unsetopt beep;
|
2023-10-23 12:57:02 +00:00
|
|
|
|
2023-10-23 17:17:22 +00:00
|
|
|
# add vim keybinds
|
|
|
|
bindkey -v;
|
|
|
|
|
|
|
|
# add other keybinds
|
|
|
|
bindkey '^[[3~' delete-char;
|
2023-10-23 12:57:02 +00:00
|
|
|
|
|
|
|
# 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";
|
2023-10-23 17:17:22 +00:00
|
|
|
alias gs="git status";
|
2023-10-23 12:57:02 +00:00
|
|
|
alias cls="clear"
|
2023-10-23 12:59:14 +00:00
|
|
|
alias ls="exa"
|
2023-10-23 12:57:02 +00:00
|
|
|
|
|
|
|
# line
|
2023-10-23 17:17:22 +00:00
|
|
|
autoload -U promptinit;
|
|
|
|
promptinit;
|
2023-10-23 17:19:05 +00:00
|
|
|
prompt miniline;
|