feat: Added zshrc eeca009b
stevedylandev · 2025-07-06 18:02 1 file(s) · +101 −0
zsh/.zshrc (added) +101 −0
1 +
# history setup
2 +
HISTFILE=$HOME/.zhistory
3 +
SAVEHIST=1000
4 +
HISTSIZE=999
5 +
setopt share_history 
6 +
setopt hist_expire_dups_first
7 +
setopt hist_ignore_dups
8 +
setopt hist_verify
9 +
10 +
# completion using arrow keys (based on history)
11 +
bindkey '^[[A' history-search-backward
12 +
bindkey '^[[B' history-search-forward
13 +
14 +
# completion using vim keys
15 +
bindkey '^k' history-search-backward
16 +
bindkey '^j' history-search-forward
17 +
18 +
bindkey -v
19 +
20 +
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
21 +
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
22 +
23 +
alias ls="eza --icons=always"
24 +
alias ll="ls -l"
25 +
alias la="ls -a"
26 +
alias lg="lazygit"
27 +
alias nf="neofetch"
28 +
alias fl="fastfetch -c ~/.config/fastfetch/presets/examples/8.jsonc"
29 +
alias ff="fastfetch -c ~/.config/fastfetch/presets/examples/20.jsonc"
30 +
alias cd="z"
31 +
alias ai="aichat"
32 +
alias inv='nvim $(fzf -m --preview="bat --color=always {}")'
33 +
34 +
alias gs="git status"
35 +
alias ga="git add ."
36 +
alias gc="git commit"
37 +
alias gd="git diff | delta"
38 +
alias gl="git log --all --graph --pretty=format:'%C(magenta)%h %C(white) %an  %ar%C(auto)  %D%n%s%n'"
39 +
alias gig="cp ~/.config/git/ignore $(pwd)/.gitignore"
40 +
41 +
gac() { git add . && git commit --message "$*" }
42 +
43 +
44 +
# Exports
45 +
export BAT_THEME="ansi"
46 +
export GOROOT="/usr/local/go"
47 +
export GOPATH="$HOME/.local/share/go"
48 +
export GOMODCACHE="$HOME/.local/share/go-mod-cache"
49 +
50 +
# PATH Configuration - Readable format with comments
51 +
# Homebrew
52 +
export PATH="$PATH:/opt/homebrew/bin"
53 +
export PATH="$PATH:$HOME/.local/share"
54 +
55 +
# Go language
56 +
export PATH="$PATH:/usr/local/go/bin"
57 +
export PATH="$PATH:$HOME/.local/share/go/bin"
58 +
59 +
# Rust
60 +
export PATH="$PATH:$HOME/.cargo/bin"
61 +
62 +
# Standard user binaries
63 +
export PATH="$PATH:$HOME/.local/bin"
64 +
export PATH="$PATH:/usr/local/bin"
65 +
66 +
# JavaScript/Node.js tools
67 +
export PATH="$PATH:$HOME/.bun/bin"
68 +
export PATH="$PATH:$HOME/.deno/bin"
69 +
70 +
# Docker
71 +
export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin"
72 +
73 +
# Terminal/Shell tools
74 +
export PATH="$PATH:$HOME/.tmux/plugins/t-smart-tmux-session-manager/bin"
75 +
76 +
# Blockchain/Web3 tools
77 +
export PATH="$PATH:$HOME/.foundry/bin"
78 +
export PATH="$PATH:$HOME/.local/share/pinata"
79 +
export PATH="$PATH:$HOME/.helios/bin"
80 +
81 +
export FZF_DEFAULT_COMMAND='fd --type f --hidden --exclude ".git"' 
82 +
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
83 +
  --color=fg:#c1c1c1,fg+:#ffffff,bg:#121113,bg+:#222222
84 +
  --color=hl:#5f8787,hl+:#fbcb97,info:#e78a53,marker:#fbcb97
85 +
  --color=prompt:#e78a53,spinner:#5f8787,pointer:#fbcb97,header:#aaaaaa
86 +
  --color=border:#333333,label:#888888,query:#ffffff
87 +
  --border="rounded" --border-label="" --preview-window="border-rounded" --prompt="> "
88 +
  --marker=">" --pointer="◆" --separator="─" --scrollbar="│"'
89 +
90 +
eval "$(zoxide init zsh)"
91 +
eval "$(starship init zsh)"
92 +
93 +
# bun completions
94 +
[ -s "/Users/steve-simkins/.bun/_bun" ] && source "/Users/steve-simkins/.bun/_bun"
95 +
96 +
# fzf
97 +
source <(fzf --zsh)
98 +
99 +
# bun
100 +
export BUN_INSTALL="$HOME/.bun"
101 +
export PATH="$BUN_INSTALL/bin:$PATH"