aliases added

This commit is contained in:
Thomas Ruoff
2009-09-26 10:07:24 +02:00
parent 4774010226
commit 8edd3a4cc9
2 changed files with 29 additions and 5 deletions

21
zsh/zshalias Normal file
View File

@@ -0,0 +1,21 @@
# general stuff
#
alias ls="ls --color=auto -T 0"
# defining alias for development
# tomcat
alias tcup="tomcat.sh start"
alias tcdw="tomcat.sh stop"
alias tcre="tomcat.sh restart"
alias tclog="tomcat.sh log"
alias cdtc="cd $CATALINA_HOME"
# sling
alias sllog="slinglog.sh"
alias cdsl="cd $SLING_HOME"
#java
alias cdj="cd $JAVA_HOME"
alias psjava="ps aux | grep java | grep -v grep"
alias killjava="skill -9 java"

13
zshrc
View File

@@ -21,8 +21,6 @@ setopt SHARE_HISTORY
setopt HIST_VERIFY
# Alias
alias ls="ls --color=auto -T 0"
## get keys working
bindkey "^[[2~" yank # Insert
@@ -119,7 +117,12 @@ promptinit
# Use the wunjo prompt theme
prompt adam2
if [ -f $HOME/.local_profile ]
then
. HOME/.local_profile
if [ -f $HOME/.local_profile ] then
. $HOME/.local_profile
fi
# Alias
if [ -f $HOME/.zsh/zshalias ] then
. $HOME/.zsh/zshalias
fi