Skip to content

Instantly share code, notes, and snippets.

@olegantonyan
Created May 10, 2024 15:58
Show Gist options
  • Save olegantonyan/4ecef0a7b2e2901f8b1cec2c5e1861a5 to your computer and use it in GitHub Desktop.
Save olegantonyan/4ecef0a7b2e2901f8b1cec2c5e1861a5 to your computer and use it in GitHub Desktop.
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000000000
SAVEHIST=10000000000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/oleg/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
source ~/.zsh/zsh-git-prompt/zshrc.sh
GIT_PROMPT_EXECUTABLE="haskell"
#PROMPT='%B%m%~%b$(git_super_status) %# '
PROMPT='%{$fg_bold[green]%}%n@%m:%~ $(git_super_status)
$%{$reset_color%} '
autoload up-line-or-beginning-search
autoload down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey "^[[A" up-line-or-beginning-search
bindkey "^[[B" down-line-or-beginning-search
source ~/.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment