mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
aliases added
This commit is contained in:
21
zsh/zshalias
Normal file
21
zsh/zshalias
Normal 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
13
zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user