diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 10:07:26 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:28 -0400 |
commit | b9cc0b3e0a9ed7f5ce1181e94cf813544011547e (patch) | |
tree | d63bfd8fdafd3bd0d3ddc9c159e4dc8a5e8f783c /examples/data/scripts/load_url_from_history.sh | |
parent | 32aabff645692e78e2ef2c438d11ce2fafac9b91 (diff) |
Put `then' on the same line as `if'
Diffstat (limited to 'examples/data/scripts/load_url_from_history.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_history.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/data/scripts/load_url_from_history.sh b/examples/data/scripts/load_url_from_history.sh index 62e02ac..bec6258 100755 --- a/examples/data/scripts/load_url_from_history.sh +++ b/examples/data/scripts/load_url_from_history.sh @@ -6,8 +6,7 @@ history_file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/history # choose from all entries, sorted and uniqued # goto=`awk '{print $3}' $history_file | sort -u | dmenu -i` COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030" -if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'; -then +if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'; then DMENU="dmenu -i -xs -rs -l 10" # vertical patch # choose an item in reverse order, showing also the date and page titles # pick the last field from the first 3 fields. this way you can pick a url (prefixed with date & time) or type just a new url. |