Create sysadmin's home directory and update .gitignore files.
This commit is contained in:
parent
3da28718a6
commit
374e0818c0
13 changed files with 265 additions and 3 deletions
14
home/sysadmin/.bash_logout
Normal file
14
home/sysadmin/.bash_logout
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue