zshrc: Remove fir
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 29 Nov 2011 13:22:08 +0000 (14:22 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:46 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/zsh/zshrc

index b9e6ef2..f653b38 100644 (file)
@@ -578,11 +578,6 @@ which is an online dictionary (See: http://en.wiktionary.org/).
 : **exirename()**
 Renames image files based on date/time informations in their exif headers.
 
-: **fir()**
-Opens given URL with Firefox (Iceweasel on Debian). If there is already an
-instance of firefox running, attaches to the first window found and opens the
-URL in a new tab (this even works across an ssh session).
-
 : **freload()**
 Reloads an autoloadable shell function (See autoload in zshbuiltins(1)).
 
index 1954dc5..5daa972 100644 (file)
@@ -2696,14 +2696,7 @@ disassemble(){
     emulate -L zsh
     gcc -pipe -S -o - -O -g $* | as -aldh -o /dev/null
 }
-#f5# Firefox remote control - open given URL
-fir() {
-    if [ -e /etc/debian_version ]; then
-        firefox -a iceweasel -remote "openURL($1)" || firefox ${1}&
-    else
-        firefox -a firefox -remote "openURL($1)" || firefox ${1}&
-    fi
-}
+
 # smart cd function, allows switching to /etc when running 'cd /etc/fstab'
 cd() {
     if (( ${#argv} == 1 )) && [[ -f ${1} ]]; then