changeset 460:6a8c6ef3ceda

Updated zsh stuff
author unexist
date Tue, 14 Jan 2014 15:27:49 +0100
parents 66527127ff64
children 0dd1732f9b76
files .zshrc
diffstat 1 files changed, 3 insertions(+), 31 deletions(-) [+]
line wrap: on
line diff
--- a/.zshrc	Tue Jan 14 15:27:27 2014 +0100
+++ b/.zshrc	Tue Jan 14 15:27:49 2014 +0100
@@ -1,7 +1,7 @@
 #
 # @file Zsh profile
 #
-# @copyright (c) 2006-2011, Christoph Kappel <unexist@dorfelite.net>
+# @copyright (c) 2006-2013, Christoph Kappel <unexist@dorfelite.net>
 # @version $Id$
 #
 
@@ -78,11 +78,6 @@
 bindkey "^R" history-incremental-search-backward
 
 # Functions
-function vman
-{ 
-  /usr/bin/man $* | col -b | view -c 'set ft=man nomod nolist' -
-}
-
 function pastie
 {
   url=$(curl http://pastie.caboo.se/pastes/create \
@@ -126,27 +121,6 @@
   done
 }
 
-function toggle-asound
-{
-  if [ -e /etc/asound.conf ] ; then
-    echo "asound.conf -> asound_conf"
-    sudo mv /etc/asound.conf /etc/asound_conf
-  elif [ -e /etc/asound_conf ] ; then
-    echo "asound_conf -> asound.conf"
-    sudo mv /etc/asound_conf /etc/asound.conf
-  fi
-}
-
-function chpwd
-{
-  RPROMPT="%F{black}[$DISPLAY/${RUBY_VERSION/ruby-/}]%f"
-}
-
-function xbmcpush
-{
-  rsync -avh --progress -e ssh --remove-source-files *.mkv xbmc@192.168.1.5:$*
-}
-
 function pp
 {
   for i in *.(mkv|avi|wmv|mp[1-9]); do
@@ -168,8 +142,6 @@
   PS1=%1~$'%{\e[36;1m%}%(1j.%%%j.)%{\e[34;1m%} ➤ %{\e[0m%}'
 fi
 
-#RPROMPT="%F{black}[$DISPLAY/${RUBY_VERSION/ruby-/}]%f"
-
 umask 022
 
 # Fix broken locales in arch
@@ -189,8 +161,8 @@
 fi
 
 # Adding android stuff
-if [ -e /opt/android-sdk/platform-tools ] ; then
-  export PATH=/opt/android-sdk/platform-tools:$PATH
+if [ -e /opt/android-sdk ] ; then
+  export PATH=/opt/android-sdk/platform-tools:/opt/android-sdk/tools:$PATH
 fi
 
 # Sencha stuff