nerd stuff
1zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
2zstyle ':completion:*' insert-unambiguous true
3zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
4zstyle ':completion:*' list-prompt '%SAt %p: tab for more %s'
5zstyle :compinstall filename "$HOME/.zshrc"
6
7autoload -Uz compinit
8compinit
9
10source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
11
12path () {
13 export PATH="$PATH:$@"
14}
15
16export ZSH_AUTOSUGGEST_STRATEGY=(completion)
17export EDITOR='nvim'
18export MANPATH="/usr/local/man:$MANPATH"
19export BUN_INSTALL="$HOME/.bun"
20
21
22path ~/scripts
23path ~/.scripts
24path ~/bin
25path ~/.local/bin
26path ~/.cargo/bin
27path ~/go/bin
28path /snap/bin
29path /usr/local/bin
30path /usr/local/go/bin
31path $BUN_INSTALL/bin
32
33alias dotfiles="cd ~/.dotfiles"
34alias vi="nvim"
35alias py="python3"
36alias spt="spotify_player"
37alias cat="bat"
38alias cd="z"
39alias ls="eza -l --icons"
40alias tree="eza --icons --tree"
41alias gl="git log --all --graph --pretty=format:'%C(magenta)%h %C(white) %an %ar%C(auto) %D%n%s%n'"
42alias gs="git status"
43alias gd="git diff"
44alias ga="git add"
45alias gaa="git add ."
46alias gap="git add --patch"
47alias gc="git commit"
48alias gp="git push"
49alias gu="git pull --rebase"
50alias cls="clear"
51
52export NVM_DIR="$HOME/.nvm"
53[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
54[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
55[ -s "/home/$HOME/.bun/_bun" ] && source "/home/$HOME/.bun/_bun"
56
57eval "$(starship init zsh)"
58eval "$(zoxide init zsh)"
59
60fastfetch