diff options
Diffstat (limited to '.local/bin/up')
-rwxr-xr-x | .local/bin/up | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.local/bin/up b/.local/bin/up index 71da6b5..26afee2 100755 --- a/.local/bin/up +++ b/.local/bin/up @@ -14,9 +14,7 @@ func upload file { } set TOKEN `vlt raw Miscellaneous 'Mpaste (Key)' -if test $#args -lt 2 { - set args $args - -} +test $#args -ge 2 || set args $args - for $args[1..] { async upload $_ } |