Signed-off-by: Frank Terbeck <ft@bewatermyfriend.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)).
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