Skip to content

Instantly share code, notes, and snippets.

@phroa
Created March 25, 2015 02:09
Show Gist options
  • Save phroa/743bf8f50594831ff82d to your computer and use it in GitHub Desktop.
Save phroa/743bf8f50594831ff82d to your computer and use it in GitHub Desktop.
# The following lines were added by compinstall
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' list-suffixes true
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' squeeze-slashes true
zstyle :compinstall filename '/home/Jack/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd beep extendedglob nomatch notify
bindkey -e
# End of lines configured by zsh-newuser-install
reset_code="$(tput sgr0)"
bold="$(tput bold)"
red="$(tput setaf 1)"
green="$(tput setaf 2)"
yellow="$(tput setaf 3)"
blue="$(tput setaf 4)"
magenta="$(tput setaf 5)"
cyan="$(tput setaf 6)"
white="$(tput setaf 7)"
PROMPT="%{$bold$cyan$bold%}%n%{$bold$yellow$bold%} %~ %b%{$white%}%(!.$red#$white.$) "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment