Meant to do this with zsh. color
This commit is contained in:
parent
2e4664e248
commit
2fa4711997
1 changed files with 4 additions and 7 deletions
11
.zshrc
11
.zshrc
|
|
@ -69,9 +69,10 @@ HISTSIZE=1000
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
HISTFILE=~/.history
|
HISTFILE=~/.history
|
||||||
export GPGKEY="48C7AF0C"
|
export GPGKEY="48C7AF0C"
|
||||||
#C[0]="$reset_color"
|
if [ -x `which git` ] ; then
|
||||||
#C[1]="$fg[red]"
|
GIT_STATUS="git status|grep 'Changed but not updated:' > /dev/null"
|
||||||
C=(foo bar)
|
GIT_STAGED="git status|grep 'Changes to be committed:' > /dev/null"
|
||||||
|
fi
|
||||||
#PS1="%m%# "
|
#PS1="%m%# "
|
||||||
return_red="%(?..$fg[red])"
|
return_red="%(?..$fg[red])"
|
||||||
git_unstaged_green="%($GIT..$fg[green])"
|
git_unstaged_green="%($GIT..$fg[green])"
|
||||||
|
|
@ -92,10 +93,6 @@ export MAILCHECK=0
|
||||||
#export AWT_TOOLKIT=MToolkit
|
#export AWT_TOOLKIT=MToolkit
|
||||||
#export AWT_TOOLKIT=XToolkit
|
#export AWT_TOOLKIT=XToolkit
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
if [ -x `which git` ] ; then
|
|
||||||
GIT_STATUS="git status"
|
|
||||||
GIT_STAGED="git status"
|
|
||||||
fi
|
|
||||||
if [ -x `which less` ] ; then
|
if [ -x `which less` ] ; then
|
||||||
export PAGER==less
|
export PAGER==less
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue