feat: remove unused items in bin
This commit is contained in:
parent
a3fda9c427
commit
7a123e0341
6 changed files with 2 additions and 92 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,8 +3,7 @@ lfm/.config/lfm/lfm.history
|
|||
lazygit/.config/jesseduffield/lazygit/state.yml
|
||||
lazygit/.config/**/*.patch
|
||||
|
||||
bin/.local/bin/mopen
|
||||
bin/.local/bin/autobuild
|
||||
bin/.local/bin/
|
||||
|
||||
fish/.config/fish/functions/pdl.fish
|
||||
fish/.config/fish/fishd.*
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -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
|
|
@ -1 +0,0 @@
|
|||
/home/bca/.config/v-analyzer/bin/v-analyzer
|
Binary file not shown.
Loading…
Add table
Reference in a new issue