Shell cosmetic changes

This commit is contained in:
Lucas 2020-08-22 00:01:38 +00:00
parent a444cdcbfd
commit 0f6b0e5133
11 changed files with 66 additions and 61 deletions

View file

@ -1,5 +1,5 @@
# env
# Written in 2019 by Lucas
# Written in 2019-2020 by Lucas
# CC0 1.0 Universal/Public domain - No rights reserved
#
# To the extent possible under law, the author(s) have dedicated all
@ -45,13 +45,15 @@ case $SHELL in
/bin/mksh)
PS1=$PS1'${HOSTNAME:=$(hostname -s)}\$ '
;;
*) PS1=$PS1'\h\$ '
*)
PS1=$PS1'\h\$ '
;;
esac
export PS1
case $(uname -s) in
Linux) stty erase "^?"
Linux)
stty erase "^?"
;;
esac