feat: remove unused items in bin

This commit is contained in:
Bruno Carlin 2025-02-11 15:23:05 +01:00
parent a3fda9c427
commit 7a123e0341
6 changed files with 2 additions and 92 deletions

3
.gitignore vendored
View file

@ -3,8 +3,7 @@ lfm/.config/lfm/lfm.history
lazygit/.config/jesseduffield/lazygit/state.yml lazygit/.config/jesseduffield/lazygit/state.yml
lazygit/.config/**/*.patch lazygit/.config/**/*.patch
bin/.local/bin/mopen bin/.local/bin/
bin/.local/bin/autobuild
fish/.config/fish/functions/pdl.fish fish/.config/fish/functions/pdl.fish
fish/.config/fish/fishd.* fish/.config/fish/fishd.*

View file

@ -1,16 +0,0 @@
#!/usr/bin/env bash
ISSUE_ID=
while read line; do
if [[ "$line" == X-Redmine-Issue-Id:* ]]; then
ISSUE_ID=${line##*: }
fi
done
if [[ $ISSUE_ID = "" ]]; then
echo No issue id found
exit 2
else
nohup xdg-open "https://alm.waarp.fr/issues/$ISSUE_ID" 1>/dev/null 2>&1 &
fi

View file

@ -1,22 +0,0 @@
#!/usr/bin/env fish
usage() {
switch $argv[1]
case new
echo "ERROR: Not Implemented"
case new-letter
echo "ERROR: Not Implemented"
case build
echo "ERROR: Not Implemented"
case '*'
usage
end
# doc new-letter file.md
# doc new file.md
# doc build file.md

View file

@ -1,50 +0,0 @@
#!/usr/bin/env bash
#set -x
usage() {
cat <<EOT
Usage: git f [COMMAND]
Available commands:
workon Switch to a branch for the given issue
help Shows this message
EOT
}
t_workon() {
local branch
if [[ $1 == "" ]]; then
cat <<EOT
ERROR: No issue given
Usage: git f workon [ISSUE]
EOT
return 1
fi
git fetch -p
branch=$(git branch -r | grep "$1" | cut -d'/' -f2)
if [[ $branch == "" ]]; then
echo ERROR: no branch found for this issue
return 2
fi
git checkout "$branch"
}
ACTION=$1
shift
case $ACTION in
workon)
t_workon "$1"
;;
*)
usage
;;
esac

View file

@ -1 +0,0 @@
/home/bca/.config/v-analyzer/bin/v-analyzer

Binary file not shown.