Updated .bashrc.

This commit is contained in:
Storm Dragon 2020-01-03 09:31:39 -05:00
parent c6cb13952b
commit 2f529f5b43

View File

@ -15,13 +15,13 @@ shopt -s autocd
#Invironment variables
export QT_ACCESSIBILITY=1
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
PS1='[\W] % '
PS1='[\u@\h \W] \$ '
export DIALOGOPTS='--no-lines --visit-items'
if [[ -z "$DISPLAY" ]]; then
export BROWSER=w3m
export EDITOR=ne
export EDITOR=nano
else
export BROWSER=seamonkey
export BROWSER=chromium
export EDITOR=pluma
fi
GPG_TTY=$(tty)
@ -30,9 +30,6 @@ export PAGER="w3m -o keymap_file=~/.w3m/pager"
# Don't put commands prefixed with space, or duplicate commands in history
export HISTCONTROL=ignoreboth
# Show reminders for the day if there are any.
grep "^$(date '+%-m/%-e')" ~/calendar &> /dev/null && calendar | w3m
# Run a first-boot script, only if this is the top level shell, only if ~/.firstboot exists and only if a first-boot script exists.
test $SHLVL -eq 1 && test -e ${HOME}/.firstboot && test -e $(command -v first-boot) && command first-boot
@ -40,12 +37,6 @@ test $SHLVL -eq 1 && test -e ${HOME}/.firstboot && test -e $(command -v first-bo
# Stop pulseaudio from autospawning, we run system wide.
[[ -L "$HOME/.config/systemd/user/pulseaudio.socket" ]] || systemctl -q --user mask pulseaudio.socket >& /dev/null
# Load Pdmenu , but only if this is the first shell and not a GUI
if [[ $SHLVL -eq 1 && -z "$DISPLAY" ]]; then
pdmenu -squn
dialog --infobox "Press F10 to return to the menu" 0 0
fi
### Added by surfraw. To remove use surfraw-update-path -remove
export PATH=$PATH:/usr/lib/surfraw
### End surfraw addition.