AutoYADM commit: 2025-04-25 16:15:06
This commit is contained in:
parent
4a6f414d10
commit
87ae9f44dd
2 changed files with 15 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
function mkfish --description 'Make an executable fish script'
|
||||
if test (count $argv) -eq 0
|
||||
echo Minimum one argument.
|
||||
return 1
|
||||
end
|
||||
# each arg is a script to create
|
||||
for name in $argv
|
||||
printf '#!/usr/bin/env fish'\n\n"echo $name" >"$name.fish"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue