Update 'kfg'

This commit is contained in:
2023-05-03 13:39:53 +02:00
parent 53feab6852
commit d1a78fdc2f

12
kfg
View File

@@ -3,6 +3,11 @@
NAME="kfg" NAME="kfg"
VERSION="0.1" VERSION="0.1"
ASK="\e[38;5;9m"
INFO="\e[38;5;39m"
ADD="\e[32m\e[1m"
ENDCOLOR="\e[0m"
function show_help { function show_help {
echo "$NAME v$VERSION" echo "$NAME v$VERSION"
echo -e "Usage: $NAME cmd [ opt ]\n" echo -e "Usage: $NAME cmd [ opt ]\n"
@@ -22,7 +27,7 @@ function show_help {
${INFO}-b${ENDCOLOR} \t\t\t Install binaries depending on the ARCH, ${INFO}-b${ENDCOLOR} \t\t\t Install binaries depending on the ARCH,
${INFO}-z${ENDCOLOR} \t\t\t Set shell to zsh, ${INFO}-z${ENDCOLOR} \t\t\t Set shell to zsh,
${INFO}-a${ENDCOLOR} \t\t\t Just install everything ${INFO}-a${ENDCOLOR} \t\t\t Just install everything
}" }\n"
exit 2 exit 2
} }
@@ -403,11 +408,6 @@ done
#echo "Parameters remaining are: $@" #echo "Parameters remaining are: $@"
ASK="\e[34m"
INFO="\e[91m\e[1m"
ADD="\e[32m\e[1m"
ENDCOLOR="\e[0m"
HOME_PATH="$HOME" HOME_PATH="$HOME"
TMP_PATH="$HOME_PATH/tmp/kamu_install" TMP_PATH="$HOME_PATH/tmp/kamu_install"
CONFIG_PATH="$HOME_PATH/.config" CONFIG_PATH="$HOME_PATH/.config"