AutoYADM commit: 2025-03-29 22:15:07

This commit is contained in:
Daniel Fichtinger 2025-03-29 22:15:07 -04:00
parent f86e3d800e
commit 3bc6047504

View file

@ -46,7 +46,11 @@ id - select a paste and print its id"
set -l args $argv[2..]
switch $cmd
case create
set -l output (hut paste create $args)
if test (count $args) = 0
set output (hut paste create (fzf))
else
set output (hut paste create $args)
end
if not test $status = 0
echo 'Error creating paste!'
false