From f2fde1570a04a654e2ed0c165d56feb29ddb25bf Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 6 Dec 2023 01:37:18 +0100 Subject: uni: More code style --- .local/bin/uni | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.local') diff --git a/.local/bin/uni b/.local/bin/uni index b520fec..a45b4c5 100755 --- a/.local/bin/uni +++ b/.local/bin/uni @@ -16,9 +16,7 @@ func setup { '# >$DATA } -if test $#XDG_DATA_HOME -eq 0 { - set XDG_DATA_HOME $HOME/.local/share -} +test $#XDG_DATA_HOME -gt 0 || set XDG_DATA_HOME $HOME/.local/share set DATA $XDG_DATA_HOME/unicode-data test -f $DATA || setup -- cgit v1.2.3