diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-06 01:37:18 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-06 01:37:18 +0100 |
commit | f2fde1570a04a654e2ed0c165d56feb29ddb25bf (patch) | |
tree | 001549186b6051b694feb8cc7532f89639d3c8af | |
parent | 1e7e2c2c5997d1ae1cb368e8131f493f7f805a2b (diff) |
uni: More code style
-rwxr-xr-x | .local/bin/uni | 4 |
1 files changed, 1 insertions, 3 deletions
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 |