From dd6cfb63ad85d0164cbe4ac04f7aea9f6a842f02 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 28 May 2024 15:27:15 -0500 Subject: feat!: remove unused configs and cleanup paths --- git/.local/bin/git-bump | 27 --------------------------- git/.local/bin/git-ignore | 20 -------------------- 2 files changed, 47 deletions(-) delete mode 100755 git/.local/bin/git-bump delete mode 100644 git/.local/bin/git-ignore (limited to 'git/.local/bin') diff --git a/git/.local/bin/git-bump b/git/.local/bin/git-bump deleted file mode 100755 index d75a755..0000000 --- a/git/.local/bin/git-bump +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -tag="$(git describe --abbrev=0 2>/dev/null)" -IFS=. read -r major minor patch <&2 - exit 1 - ;; -esac - -git shortlog "$tag"..HEAD | git tag -s "v${major}.${minor}.${patch}" --file - diff --git a/git/.local/bin/git-ignore b/git/.local/bin/git-ignore deleted file mode 100644 index 7df638d..0000000 --- a/git/.local/bin/git-ignore +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# Create useful gitignore files -# Usage: gi [param] -# param is a comma separated list of ignore profiles. -# If param is ommited choose interactively. - -__gi() { - curl -L -s https://www.gitignore.io/api/"$*" -} - -if [ "$#" -eq 0 ]; then - IFS=$IFS+"," - for item in $(__gi list); do - echo "$item" - done | fzf --multi --ansi | paste -s -d "," - | - { read -r result && __gi "$result"; } -else - __gi "$@" -fi -- cgit v1.2.3-70-g09d2