⚰️ Removed old dead flag code

This commit is contained in:
z3rOR0ne 2022-09-09 23:35:07 -07:00
parent a090142f68
commit 371008f49f

View file

@ -185,25 +185,6 @@ function bgit() {
;;
esac
done
# elif [[ $numrepos -eq 0 || $numargs -eq 1 && $1 == "-i" || $numargs -eq 1 && $1 == "--init" ]] ; then
# if [[ $numrepos -eq 0 ]] ; then
# echo "${txtgreen} no git repository found, executing git init...${txtwhite}"
# source $HOME/.config/bgit/bgit_init
# b_init "$@"
# else
# echo "${txtred} git repository already here..."
# source $HOME/.config/bgit/bgit_init
# b_init "$@"
# fi
# elif [[ $numrepos -ge 1 && $numargs -eq 1 && $1 == "-r" || $numargs -eq 1 && $1 == "--revert" ]] ; then
# source $HOME/.config/bgit/bgit_revert
# b_revert "$@"
# elif [[ $numargs -eq 1 && $1 == "-h" || $numargs -eq 1 && $1 == "--help" ]] ; then
# source $HOME/.config/bgit/bgit_help
# b_help "$@"
}
bgit "$@"