changeset 477:1f29484ac0c9

Updated shell config
author unexist
date Fri, 27 Apr 2018 11:59:52 +0200
parents d939c7678230
children 3bc70f4a9b24
files .zshalias .zshrc
diffstat 2 files changed, 13 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/.zshalias	Tue Jan 09 12:48:12 2018 +0100
+++ b/.zshalias	Fri Apr 27 11:59:52 2018 +0200
@@ -1,7 +1,7 @@
 #
 # @file Zsh alias file
 #
-# @copyright (c) 2006-2013, Christoph Kappel <unexist@dorfelite.net>
+# @copyright (c) 2006-2018, Christoph Kappel <unexist@subforge.org>
 # @version $Id$
 #
 
@@ -23,20 +23,13 @@
 alias cp='cp -i'
 alias mv='mv -i'
 
-# Bookmarks
-alias ssh_debian="ssh -X unexist@80.244.246.114 -p 10152"
-alias mosh_debian="mosh --ssh='ssh -X -p 10152' unexist@80.244.246.114"
-alias ssh_kufa="ssh -X kufa@kulturfabrik-krefeld.de"
-alias ssh_new="ssh -x unexist@46.4.209.181"
-
 # Sudo
 if [ -e /usr/bin/sudo ] ; then
   alias halt="sudo /sbin/halt"
   alias reboot="sudo /sbin/reboot"
-  alias ntpd="sudo ntpdate -b pool.ntp.org"
   alias killjobs="sudo lprm -"
   alias s="sudo"
-  alias doch='sudo $(fc -ln -1)'
+  alias fuck="sudo $(fc -ln -1)"
 
   # Based on dist
   if [ -e /usr/bin/pacman ] ; then
@@ -56,6 +49,7 @@
 if [ -e /usr/bin/valgrind ] ; then
   alias memcheck="valgrind --tool=memcheck --leak-check=full --suppressions=$HOME/.suppressions"
   alias addrcheck="valgrind --tool=addrcheck --leak-check=full --suppressions=$HOME/.suppressions"
+  alias sgcheck="valgrind --tool=exp-sgcheck"
 fi
 
 # Calc
@@ -68,11 +62,6 @@
   alias hgs="hg status|grep -v '^?'"
 fi
 
-# Subversion
-if [ -e /usr/bin/svn ] ; then
-  alias svns="svn status|grep -v '^?'"
-fi
-
 # Git
 if [ -e /usr/bin/git ] ; then
   alias gits="git status|grep -v '^?'"
@@ -149,3 +138,10 @@
 
 # PA
 alias louder="pactl -- set-sink-volume 0 "
+
+# PowerFolder
+alias pfkill="ps aux | grep -i powerfolder | grep java | awk '{print $2}' | xargs kill -9"
+
+if [ -e "/usr/bin/psql" ] ; then
+  alias pfdb="psql -U powerfolder powerfolder -h localhost"
+fi  
--- a/.zshrc	Tue Jan 09 12:48:12 2018 +0100
+++ b/.zshrc	Fri Apr 27 11:59:52 2018 +0200
@@ -1,7 +1,7 @@
 #
 # @file Zsh profile
 #
-# @copyright (c) 2006-2016, Christoph Kappel <unexist@dorfelite.net>
+# @copyright (c) 2006-2018, Christoph Kappel <unexist@subforge.org>
 # @version $Id$
 #
 
@@ -181,8 +181,8 @@
 fi
 
 # Adding android stuff
-if [ -e /opt/android-sdk ] ; then
-  export PATH=/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/build-tools/20.0.0:$PATH
+if [ -e $HOME/Android ] ; then
+  export PATH=$HOME/Android/Sdk/build-tools/27.0.3/:$HOME/Android/Sdk/platform-tools/:$PATH
 fi
 
 if [ -e /opt/android-sdk/tools ] ; then