Added cuomst bash settings file and history date/time for bash commands
This commit is contained in:
@@ -27,6 +27,12 @@ else
|
|||||||
VM="false"
|
VM="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set custom bash settings system wide
|
||||||
|
cat <<EOF > /etc/profile.d/gaunt_custom_bash.sh
|
||||||
|
# set bash history to date and time
|
||||||
|
export HISTTIMEFORMAT="%F %T "
|
||||||
|
EOF
|
||||||
|
|
||||||
# Debian OS
|
# Debian OS
|
||||||
if [ ${OS} == "Debian" ] || [ ${OS} == "Ubuntu" ]; then
|
if [ ${OS} == "Debian" ] || [ ${OS} == "Ubuntu" ]; then
|
||||||
# upgrade all packages
|
# upgrade all packages
|
||||||
|
|||||||
Reference in New Issue
Block a user