| 1 | |
| 2 | export HISTFILE=~/.zsh_history |
| 3 | export HISTSIZE=10000 |
| 4 | export SAVEHIST=10000 |
| 5 | setopt SHARE_HISTORY |
| 6 | setopt HIST_IGNORE_DUPS |
| 7 | setopt HIST_IGNORE_SPACE |
| 8 | |
| 9 | |
| 10 | export EDITOR=nvim |
| 11 | |
| 12 | |
| 13 | alias l=lsd |
| 14 | alias v=nvim |
| 15 | alias nvm=fnm |
| 16 | alias ll='lsd -l' |
| 17 | alias pip='uv pip' |
| 18 | alias yay=paru |
| 19 | alias t='tmux attach || tmux' |
| 20 | alias watchall='watchexec --no-vcs-ignore' |
| 21 | |
| 22 | |
| 23 | bindkey '^[[A' history-substring-search-up |
| 24 | bindkey '^[[B' history-substring-search-down |
| 25 | HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1 |
| 26 | |
| 27 | |
| 28 | if command -v tmux &>/dev/null; then |
| 29 | tmux set -g pane-border-format " #{pane_index} | #{pane_current_command} | $(whoami)@#[bold]$(hostname)#[nobold]:#{pane_current_path} " &>/dev/null |
| 30 | fi |
| 31 | |
| 32 | |
| 33 | |
| 34 | [[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh |