mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
- added a new theme with some nicer colors, a timestamp prompt on the
left, return code display, host and directory (based on muse)
54 lines
No EOL
1.6 KiB
Bash
54 lines
No EOL
1.6 KiB
Bash
# Customize to your needs...
|
|
if [ -d ~/bin ] ; then
|
|
PATH=~/bin:"${PATH}"
|
|
fi
|
|
|
|
if [ -d ~/lib ] ; then
|
|
LD_LIBRARY_PATH=~/lib:"${LD_LIBRARY_PATH}"
|
|
MONO_PATH=~/lib:"${MONO_PATH}"
|
|
PERL5LIB=~/lib/perl5:"${PERL5LIB}"
|
|
PKG_CONFIG_PATH=$HOME/lib/pkgconfig:"${PKG_CONFIG_PATH}"
|
|
fi
|
|
|
|
if [ -d ~/share ] ; then
|
|
PERL5LIB=~/share/perl5:"${PERL5LIB}"
|
|
MANPATH=~/share/man:"${MANPATH}"
|
|
fi
|
|
|
|
# local manpages
|
|
if [ -d /opt/local/man ] ; then
|
|
MANPATH=$MANPATH:/opt/local/man
|
|
fi
|
|
|
|
#homebrew stuff
|
|
if [ -d /usr/local/bin ] ; then
|
|
PATH=/usr/local/bin:$PATH
|
|
fi
|
|
if [ -d /usr/local/sbin ] ; then
|
|
PATH=/usr/local/sbin:$PATH
|
|
fi
|
|
|
|
alias aquamacs='/Applications/Aquamacs.app/Contents/MacOS/Aquamacs'
|
|
|
|
export EDITOR='/Applications/Aquamacs.app/Contents/MacOS/Aquamacs'
|
|
|
|
export PATH MANPATH MONO_PATH PERL5LIB PKG_CONFIG_PATH
|
|
|
|
setopt complete_in_word # ~/Dev/pro -> <Tab> -> ~/Development/project
|
|
setopt dvorak # use spelling correction for dv keyboards
|
|
setopt hist_ignore_dups # when I run a command several times, only store one
|
|
setopt hist_no_functions # don't show function definitions in history
|
|
setopt hist_reduce_blanks # reduce whitespace in history
|
|
setopt hist_verify # ask me before running a command line with history sub
|
|
setopt interactive_comments # why not?
|
|
setopt list_types # show ls -F style marks in file completion
|
|
setopt no_beep # don't beep on error
|
|
setopt numeric_glob_sort # when globbing numbered files, use real counting
|
|
|
|
bindkey -e # use emacs keymap
|
|
|
|
export LANG="C"
|
|
# this is for svn
|
|
export LC_CTYPE=en_US.UTF-8
|
|
export LC_ALL=en_US.UTF-8
|
|
export LANG=en_US.UTF-8 |