This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

20
local_bin/ignore Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
function __gi() {
curl -L -s https://www.gitignore.io/api/"$@"
}
if [ "$#" -eq 0 ]; then
IFS+=","
result=$(for item in $(__gi list); do
echo $item
done | fzf --multi --ansi | paste -s -d "," -)
if [ -n "$result" ]; then
__gi "$result" > .gitignore
echo ".gitignore created: $result"
fi
else
__gi "$@" > .gitignore
echo ".gitignore created: $@"
fi