birdsurf

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e71d26edcfa87aafc179a596e0cde9ffa7b46c56
parent a48321159f919587d27b2f2be904f7844f3a2309
Author: grouse <bdmfegys@duck.com>
Date:   Sat, 24 Feb 2024 23:57:34 -0500

simplify if statement in surf-open.sh

Diffstat:
Msurf-open.sh | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/surf-open.sh b/surf-open.sh @@ -6,10 +6,11 @@ xidfile="$HOME/tmp/tabbed-surf.xid" uri="" -if [ "$#" -gt 0 ]; -then - uri="$1" -fi +#if [ "$#" -gt 0 ]; +#then +# uri="$1" +#fi +[ "$#" > 0 ] && uri="$1" runtabbed() { tabbed -dn tabbed-surf -r 2 surf -e '' "$uri" >"$xidfile" \