Skip to content

Instantly share code, notes, and snippets.

@0gust1
Created June 25, 2013 12:03
Show Gist options
  • Save 0gust1/5857958 to your computer and use it in GitHub Desktop.
Save 0gust1/5857958 to your computer and use it in GitHub Desktop.
My .zshrc (used with cygwin and console2) : http://www.typeof.co/post/a-better-terminal-for-windows
# The following lines were added by compinstall
zstyle :compinstall filename '/home/10071495/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# prompt extensions
autoload -U promptinit && promptinit
# history stuff : http://stackoverflow.com/questions/171563/whats-in-your-zshrc
# Where it gets saved
HISTFILE=~/.history
# Remember about a years worth of history (AWESOME)
SAVEHIST=10000
HISTSIZE=10000
setopt APPEND_HISTORY
setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_REDUCE_BLANKS
setopt HIST_VERIFY
setopt HIST_SAVE_NO_DUPS
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_FIND_NO_DUPS
# some custom aliases
alias ls='ls --color'
alias lsa='ls -a --color'
alias goWorkSpace='cd /cygdrive/c/Users/10071495/Documents/workspace'
alias st='sublime_text&'
alias winmerge='WinMergeU&'
# Set prompts (first attempt)
PROMPT='%T-%M%# ' # default prompt
RPROMPT=' %~' # prompt for right side of screen
# Set prompt (2nd)
prompt adam2
@tstone
Copy link

tstone commented Sep 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment