diff --git a/.bash_extra b/.bash_extra index d85647c..4c27dc4 100644 --- a/.bash_extra +++ b/.bash_extra @@ -74,19 +74,19 @@ function m2m { fi fi } -function psk { - if [[ "$1" == "--help" ]]; then - echo "Beende Prozess "\$1"" - echo "" - echo " Usage: psk " - else - if [ -z "$1" ]; then - echo "[ERROR] Prozessname fehlt..." - else - ps -ef | grep "$1" | grep -v grep | awk '{ print $2 }' | xargs kill -9 - fi - fi -} +#function psk { +# if [[ "$1" == "--help" ]]; then +# echo "Beende Prozess "\$1"" +# echo "" +# echo " Usage: psk " +# else +# if [ -z "$1" ]; then +# echo "[ERROR] Prozessname fehlt..." +# else +# ps -ef | grep "$1" | grep -v grep | awk '{ print $2 }' | xargs kill -9 +# fi +# fi +#} function rgf { if [[ "$1" == "--help" ]]; then echo "Finde alle Dateien die "\$1" im Namen haben." @@ -177,6 +177,7 @@ alias grep="grep -i --color=auto" alias hostname="hostname -f" alias untar="tar -xzf" alias unmount="umount" +alias psk="pkill" # git alias gp="git stash && git pull && git stash pop" alias gf="git fetch"