From cc9c8cbd53a36390d97bb22e5a2e5f54eec443c8 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:22:08 +0100 Subject: [PATCH] zshrc: Remove fir Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 5 ----- etc/zsh/zshrc | 9 +-------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index b9e6ef2..f653b38 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -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)). diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 1954dc5..5daa972 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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 -- 2.1.4