Created
June 25, 2013 12:03
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That post now lives at: http://array.blue/blog/2012/a-better-terminal-for-windows.html