Skip to content

Instantly share code, notes, and snippets.

@therealparmesh
Last active September 17, 2025 14:57
Show Gist options
  • Save therealparmesh/2716d3b5cbb96f63d58ac08685f22d95 to your computer and use it in GitHub Desktop.
Save therealparmesh/2716d3b5cbb96f63d58ac08685f22d95 to your computer and use it in GitHub Desktop.

Revisions

  1. therealparmesh revised this gist Sep 17, 2025. 1 changed file with 1 addition and 8 deletions.
    9 changes: 1 addition & 8 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -19,13 +19,6 @@ setopt share_history
    export EDITOR="nvim"
    export PATH="$HOME/.local/bin:$PATH"

    bindkey "^[[1;2C" forward-word
    bindkey "^[[1;2D" backward-word

    . $HOME/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
    bindkey "^[[A" history-substring-search-up
    bindkey "^[[B" history-substring-search-down

    eval "$(fzf --zsh)"
    eval "$(mise activate zsh)"
    eval "$(fzf --zsh)"
    eval "$(starship init zsh)"
  2. therealparmesh created this gist Sep 16, 2025.
    31 changes: 31 additions & 0 deletions .zshrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    autoload -Uz compinit
    compinit

    setopt append_history
    setopt auto_pushd
    setopt autocd
    setopt cdable_vars
    setopt complete_in_word
    setopt correct
    setopt glob_dots
    setopt hist_ignore_all_dups
    setopt hist_ignore_space
    setopt hist_reduce_blanks
    setopt nocaseglob
    setopt pushd_ignore_dups
    setopt pushd_minus
    setopt share_history

    export EDITOR="nvim"
    export PATH="$HOME/.local/bin:$PATH"

    bindkey "^[[1;2C" forward-word
    bindkey "^[[1;2D" backward-word

    . $HOME/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
    bindkey "^[[A" history-substring-search-up
    bindkey "^[[B" history-substring-search-down

    eval "$(fzf --zsh)"
    eval "$(mise activate zsh)"
    eval "$(starship init zsh)"