diff options
Diffstat (limited to '.local/bin')
-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 |