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
|
||||
|
@ -18,8 +18,12 @@ export PATH HOME TERM LC_CTYPE
|
|||
case "$-" in
|
||||
*i*)
|
||||
case "$SHELL" in
|
||||
/bin/bash) . ~/.shrc ;;
|
||||
/bin/ksh | /bin/loksh | /bin/mksh) export ENV=~/.shrc ;;
|
||||
/bin/bash)
|
||||
. ~/.shrc
|
||||
;;
|
||||
*)
|
||||
export ENV=~/.shrc
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -19,9 +19,9 @@ setxkbmap \
|
|||
xset r rate 300 75
|
||||
|
||||
xset b off
|
||||
test -d /usr/local/share/fonts/bitmaps \
|
||||
&& xset +fp /usr/local/share/fonts/bitmaps \
|
||||
&& xset fp rehash
|
||||
test -d /usr/local/share/fonts/bitmaps &&
|
||||
xset +fp /usr/local/share/fonts/bitmaps &&
|
||||
xset fp rehash
|
||||
test -r ~/.Xresources && xrdb -merge ~/.Xresources
|
||||
|
||||
exec herbstluftwm -l >~/local/var/log/herbstluftwm 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue