Shell cosmetic changes
This commit is contained in:
parent
a444cdcbfd
commit
0f6b0e5133
11 changed files with 66 additions and 61 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue