mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
fix(nix): fish functions are wrapped in two layers
This commit is contained in:
parent
710441a578
commit
0b1cd71f58
17 changed files with 245 additions and 300 deletions
|
|
@ -1,3 +1 @@
|
|||
function snakecase
|
||||
echo $argv | sed -E 's/[^A-Za-z0-9_\n]+/_/g' | sed -E 's/__+/_/g' | tr '[:upper:]' '[:lower:]'
|
||||
end
|
||||
echo $argv | sed -E 's/[^A-Za-z0-9_\n]+/_/g' | sed -E 's/__+/_/g' | tr '[:upper:]' '[:lower:]'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue