projects
/
uzbl-mobile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Verbosify cookie_daemon.py
[uzbl-mobile]
/
examples
/
data
/
uzbl
/
scripts
/
history.sh
diff --git
a/examples/data/uzbl/scripts/history.sh
b/examples/data/uzbl/scripts/history.sh
index
ccc6b40
..
d726f9c
100755
(executable)
--- a/
examples/data/uzbl/scripts/history.sh
+++ b/
examples/data/uzbl/scripts/history.sh
@@
-1,5
+1,6
@@
-#!/bin/bash
+#!/bin/sh
#TODO: strip 'http://' part
+
file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/history
[ -d `dirname $file` ] || exit 1
echo "$8 $6 $7" >> $file