mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fix(fish): improved snakecase function
This commit is contained in:
parent
db5fb450fd
commit
08e97af624
2 changed files with 1 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
|||
function codewars_rust
|
||||
|
||||
if count $argv >/dev/null
|
||||
set -f kata_name "codewars_"(snakecase $argv)
|
||||
set -f kata_date (date +%Y.%-m.%-d)
|
||||
|
|
@ -19,5 +18,4 @@ authors = [ \"Léana 江 <leana.jiang@icloud.com>\" ]
|
|||
echo "You must provide a new project name"
|
||||
return 1
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue