AutoYADM commit: 2025-03-29 22:15:07
This commit is contained in:
parent
f86e3d800e
commit
3bc6047504
1 changed files with 5 additions and 1 deletions
|
@ -46,7 +46,11 @@ id - select a paste and print its id"
|
||||||
set -l args $argv[2..]
|
set -l args $argv[2..]
|
||||||
switch $cmd
|
switch $cmd
|
||||||
case create
|
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
|
if not test $status = 0
|
||||||
echo 'Error creating paste!'
|
echo 'Error creating paste!'
|
||||||
false
|
false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue