mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
ref(nix): drop fish legacy support
This commit is contained in:
parent
074e78751a
commit
1bec5057c7
21 changed files with 2 additions and 2 deletions
3
nix/home/common/fish/functions/snakecase.fish
Normal file
3
nix/home/common/fish/functions/snakecase.fish
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
function snakecase
|
||||
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