# Use emacs keybindings even if our EDITOR is set to vi bindkey -e # Edit command line autoload -U edit-command-line zle -N edit-command-line bindkey '^x^e' edit-command-line # Keep 1000 lines of history within the shell and save it to ~/.zsh_history: HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history source "$HOME/.macos" source $HOME/.path source $HOME/.env source $HOME/.aliases source $HOME/.functions # If not running interactively, don't do anything [[ $- != *i* ]] && return source "$HOME/.zinitrc" [ -r $HOME/.nnnrc ] && source $HOME/.nnnrc [ -r $HOME/.fzfrc ] && source $HOME/.fzfrc command -v zoxide > /dev/null && eval "$(zoxide init --cmd j zsh)" [ -d "$HOME/.winevm/shims" ] && export PATH="$HOME/.winevm/shims:$PATH" if command -v direnv > /dev/null; then eval "$(direnv hook zsh)" fi if command -v navi > /dev/null; then eval "$(navi widget zsh)" fi autoload -Uz compinit; compinit setopt histignorealldups sharehistory hist_ignore_space [ -r $HOME/.zsh_local ] && source $HOME/.zsh_local