mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 15:09:40 +00:00
fish: formatted fish functions
This commit is contained in:
parent
6169d1e7ff
commit
667dce99d1
15 changed files with 176 additions and 176 deletions
|
|
@ -1,3 +1,3 @@
|
|||
function snakecase
|
||||
echo $argv | sed -E 's/[^A-Za-z0-9_\n]+/_/g' | sed -E 's/__+/_/g' | tr '[:upper:]' '[:lower:]'
|
||||
echo $argv | sed -E 's/[^A-Za-z0-9_\n]+/_/g' | sed -E 's/__+/_/g' | tr '[:upper:]' '[:lower:]'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue