mkshrc: retab

This commit is contained in:
snow flurry 2022-08-06 19:46:26 -07:00
parent f58618fa13
commit 6dda9a7e98

View file

@ -1,7 +1,7 @@
# (mk)shrc
if [ -f /etc/shrc ]; then
. /etc/shrc
. /etc/shrc
fi
export EDITOR=nvim
@ -106,16 +106,16 @@ get_ps1() {
}
case "$-" in *i*)
# interactive mode settings go here
if /bin/test -z "${HOST}"; then
HOST="$(hostname)"
fi
# interactive mode settings go here
if /bin/test -z "${HOST}"; then
HOST="$(hostname)"
fi
PS1='$(get_ps1)'
set -o emacs
set -o emacs
# This file is used by shells that might not support
# set -o tabcomplete, so check before trying to use it.
( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
# This file is used by shells that might not support
# set -o tabcomplete, so check before trying to use it.
( set -o tabcomplete 2>/dev/null ) && set -o tabcomplete
if command -v xclip >/dev/null ; then
alias ctop='xclip -selection clipboard -out | xclip -selection primary -in'
@ -157,5 +157,5 @@ case "$-" in *i*)
echo "obase=$2; ibase=$1; $3" | bc
}
;;
;;
esac