Create sysadmin's home directory and update .gitignore files.

This commit is contained in:
Darren 'Tadgy' Austin 2025-09-13 11:16:22 +00:00
commit 374e0818c0
13 changed files with 265 additions and 3 deletions

View file

@ -0,0 +1,14 @@
#!/bin/bash - not strictly necessary, but helps nano with syntax highlighting.
# Clear the screen/console on logout.
if (( SHLVL == 1 )); then
if [[ -x /usr/bin/clear_console ]]; then
/usr/bin/clear_console -q
elif [[ -x /usr/bin/clear ]]; then
/usr/bin/clear
elif [[ -x /usr/bin/tput ]]; then
/usr/bin/tput clear
else
echo -ne "\e[2J"
fi
fi