Skip to content

Commit

Permalink
zshrc: Remove fir
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent 5a731e3 commit cc9c8cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
5 changes: 0 additions & 5 deletions doc/grmlzshrc.t2t
Expand Up @@ -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)).

Expand Down
9 changes: 1 addition & 8 deletions etc/zsh/zshrc
Expand Up @@ -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
Expand Down

0 comments on commit cc9c8cb

Please sign in to comment.