From db5213a116da236ff829ee4fa9a14c20867a852b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 10 Mar 2011 19:59:55 -0500 Subject: Remove the use of positional arguments Positional arguments should be given meaningful names. --- examples/data/scripts/session.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/data/scripts/session.sh') diff --git a/examples/data/scripts/session.sh b/examples/data/scripts/session.sh index 80c9744..73ee99b 100755 --- a/examples/data/scripts/session.sh +++ b/examples/data/scripts/session.sh @@ -32,6 +32,7 @@ UZBL="uzbl-browser -c \"$UZBL_CONFIG_FILE\"" # add custom flags and whatever her scriptfile="$(readlink -f "$0")" # this script act="$1" +shift if [ -z "$act" ]; then [ -f "$UZBL_SESSION_FILE" ] && act="launch" || act="endsession" -- cgit v1.2.3