AutoYADM commit: 2025-04-25 16:00:05
This commit is contained in:
parent
745ecd64e2
commit
4a6f414d10
4 changed files with 9 additions and 7 deletions
8
.config/fish/functions/mkfish.fish
Normal file
8
.config/fish/functions/mkfish.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
function mkfish --description 'Make an executable fish script'
|
||||
# each arg is a script to create
|
||||
for name in $argv
|
||||
printf '#!/usr/bin/env fish'\n\n"echo $name" >"$name.fish"
|
||||
chmod +x "$name.fish"
|
||||
path resolve "$name.fish"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue