diff --git a/README.md b/README.md index c1b3a23..3d9648c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ include_toc: true [![Static Badge](https://badges.coresecret.dev/badge/Shellstyle-Google-white?style=plastic&logo=google&logoColor=white&logoSize=auto&label=Shellstyle&color=%234285F4)](https://google.github.io/styleguide/shellguide.html)   [![Static Badge](https://badges.coresecret.dev/badge/Gitea-1.24.2-white?style=plastic&logo=gitea&logoColor=white&logoSize=auto&label=gitea&color=%23609926)](https://docs.gitea.com/)   -[![Static Badge](https://badges.coresecret.dev/badge/IntelliJ-2025.1.3-white?style=plastic&logo=intellijidea&logoColor=white&logoSize=auto&label=IntelliJ&color=%23000000)](https://www.jetbrains.com/store/?section=personal&billing=yearly)   +[![Static Badge](https://badges.coresecret.dev/badge/IntelliJ-2025.1.4-white?style=plastic&logo=intellijidea&logoColor=white&logoSize=auto&label=IntelliJ&color=%23000000)](https://www.jetbrains.com/store/?section=personal&billing=yearly)   [![Static Badge](https://badges.coresecret.dev/badge/keepassxc-2.7.10-white?style=plastic&logo=keepassxc&logoColor=white&logoSize=auto&label=KeePassXC&color=%236CAC4D)](https://keepassxc.org/)   [![Static Badge](https://badges.coresecret.dev/badge/netcup-Netcup-white?style=plastic&logo=netcup&logoColor=white&logoSize=auto&label=powered&color=%23056473)](https://www.netcup.com/de)   [![Static Badge](https://badges.coresecret.dev/badge/powered-Centurion-white?style=plastic&logo=europeanunion&logoColor=white&logoSize=auto&label=powered&color=%230F243E)](https://coresecret.eu/)   diff --git a/config/includes.chroot/root/.bashrc b/config/includes.chroot/root/.bashrc index bd20db2..cf60914 100644 --- a/config/includes.chroot/root/.bashrc +++ b/config/includes.chroot/root/.bashrc @@ -38,18 +38,18 @@ export CWHI='\033[1;97m' export CRES='\033[0m' export NL='\n' -PS1="\ -\[\033[1;91m\]\d\[\033[0m\]|\[\033[1;91m\]\u\[\033[0m\]@\ +### Define bash colorful prompt +export PS1="\ +\[\033[1;91m\]\d\[\033[0m\]|\ +\[\033[1;91m\]\u\[\033[0m\]@\ \[\033[1;95m\]\h\[\033[0m\]:\ \[\033[1;96m\]\w\[\033[0m\]/>>\ \$(if [[ \$? -eq 0 ]]; then \ - # Show exit status in green if zero echo -e \"\[\033[1;92m\]\$?\[\033[0m\]\"; \ else \ - # Show exit status in red otherwise echo -e \"\[\033[1;91m\]\$?\[\033[0m\]\"; \ fi)\ -|~\$ " +\$(if [[ \$(id -u) -eq 0 ]]; then echo -e \" \[\033[1;91m\]#\[\033[0m\] \"; else echo -e \" \[\033[1;92m\]\\\$\[\033[0m\] \"; fi)" ### Overwrite Protection set -o noclobber @@ -58,22 +58,22 @@ alias mv='mv -iv' alias rm='rm -iv' ### Welcome message after login -#printf "\n" -#printf "\e[91m🔐 Coresecret Channel Established. \e[0m\n" -#printf "\e[92m✅ Welcome back\e[0m" -#printf "\e[95m '%s' \e[0m" "${USER}"; printf "\e[92m! Type\e[0m"; printf "\e[95m 'celp'\e[0m"; printf "\e[92m for shortcuts. \e[0m\n" -#printf "\n" -#printf "\n" +printf "\n" +printf "\e[91m🔐 Coresecret Channel Established. \e[0m\n" +printf "\e[92m✅ Welcome back\e[0m" +printf "\e[95m '%s' \e[0m" "${USER}"; printf "\e[92m! Type\e[0m"; printf "\e[95m 'celp'\e[0m"; printf "\e[92m for shortcuts. \e[0m\n" +printf "\n" +printf "\n" ### Welcome message after login. -printf "\n" -printf "%s🔐 Coresecret Channel Established. %s%s" "${CRED}" "${CRES}" "${NL}" -printf "%s✅ Welcome back %s " "${CGRE}" "${CRES}" -printf "%s'%s'%s" "${CMAG}" "${USER}" "${CRES}" -printf "%s! Type%s " "${CGRE}" "${CRES}" -printf "%s'celp'%s " "${CMAG}" "${CRES}" -printf "%sfor shortcuts. %s%s" "${CGRE}" "${CRES}" "${NL}" -printf "\n" -printf "\n" +#printf "\n" +#printf "%s🔐 Coresecret Channel Established. %s%s" "${CRED}" "${CRES}" "${NL}" +#printf "%s✅ Welcome back %s " "${CGRE}" "${CRES}" +#printf "%s'%s'%s" "${CMAG}" "${USER}" "${CRES}" +#printf "%s! Type%s " "${CGRE}" "${CRES}" +#printf "%s'celp'%s " "${CMAG}" "${CRES}" +#printf "%sfor shortcuts. %s%s" "${CGRE}" "${CRES}" "${NL}" +#printf "\n" +#printf "\n" # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh diff --git a/config/includes.chroot/root/.ciss/clean_logout.sh b/config/includes.chroot/root/.ciss/clean_logout.sh index 8c8873a..72df103 100644 --- a/config/includes.chroot/root/.ciss/clean_logout.sh +++ b/config/includes.chroot/root/.ciss/clean_logout.sh @@ -36,4 +36,6 @@ echo -e "\e[92m All done" "\e[95m'${USER}'" "\e[92m! \e[0m" echo -e "\e[92m Close shell with 'ENTER' to exit" "\e[95m'${HOSTNAME}'" "\e[92m! \e[0m" # shellcheck disable=SC2162 read +[[ -x /usr/bin/clear_console ]] && /usr/bin/clear_console -q +exit 0 # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 68cee3f..7b640e4 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -15,6 +15,7 @@ include_toc: true ## V8.03.912.2025.07.23 * Updated: [alias](../config/includes.chroot/root/.ciss/alias) +* Updated: [clean_logout.sh](../config/includes.chroot/root/.ciss/clean_logout.sh) * Updated: [f2bchk.sh](../config/includes.chroot/root/.ciss/f2bchk.sh) * Updated: [scan_libwrap](../config/includes.chroot/root/.ciss/scan_libwrap) * Updated: [shortcuts](../config/includes.chroot/root/.ciss/shortcuts)