2021-03-20 22:36:25 +00:00
|
|
|
# History improvements
|
|
|
|
export HISTFILE=~/.zsh_history
|
|
|
|
export HISTFILESIZE=1000000000
|
|
|
|
export HISTSIZE=1000000000
|
|
|
|
export SAVEHIST=100000
|
|
|
|
setopt INC_APPEND_HISTORY
|
|
|
|
setopt HIST_IGNORE_ALL_DUPS
|
2021-04-06 19:56:10 +00:00
|
|
|
# Vimode
|
|
|
|
bindkey -v
|
|
|
|
bindkey -M vicmd "?" history-incremental-search-backward
|
|
|
|
bindkey -M vicmd "/" history-incremental-search-forward
|
2021-03-20 22:36:25 +00:00
|
|
|
|
2022-05-10 18:32:18 +00:00
|
|
|
# Aliases
|
2023-03-02 20:03:25 +00:00
|
|
|
alias gicm="git checkout main && git pull || git checkout master && git pull"
|
2022-05-10 18:32:18 +00:00
|
|
|
alias gic="git checkout"
|
|
|
|
|
2022-08-05 19:24:50 +00:00
|
|
|
alias difft="difftastic"
|
2022-05-31 07:04:14 +00:00
|
|
|
alias vim="nvim"
|
|
|
|
|
2021-03-20 22:36:25 +00:00
|
|
|
# PATH
|
2024-01-29 00:16:37 +00:00
|
|
|
export PATH=$PATH:$HOME/.bin:$HOME/go/bin
|
2021-03-20 22:36:25 +00:00
|
|
|
|
2021-04-30 09:01:56 +00:00
|
|
|
# ENV
|
|
|
|
export EDITOR=vim
|
|
|
|
|
2021-03-20 22:36:25 +00:00
|
|
|
# Starship
|
|
|
|
export STARSHIP_CONFIG=~/.starship.toml
|
|
|
|
eval "$(starship init zsh)"
|