AutoYADM commit: 2025-03-28 18:45:08
This commit is contained in:
parent
393973db39
commit
4606237776
78 changed files with 2856 additions and 1 deletions
7
.config/fish/functions/__gitnow_slugify.fish
Normal file
7
.config/fish/functions/__gitnow_slugify.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
# GitNow — Speed up your Git workflow. 🐠
|
||||
# https://github.com/joseluisq/gitnow
|
||||
|
||||
# adapted from https://gist.github.com/oneohthree/f528c7ae1e701ad990e6
|
||||
function __gitnow_slugify
|
||||
echo $argv | LC_ALL=C command iconv -t ascii//TRANSLIT | LC_ALL=C command sed -E 's/[^a-zA-Z0-9\-]+/_/g' | LC_ALL=C command sed -E 's/^(-|_)+|(-|_)+$//g'
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue