Updated .bashrc.
This commit is contained in:
parent
c6cb13952b
commit
2f529f5b43
@ -15,13 +15,13 @@ shopt -s autocd
|
|||||||
#Invironment variables
|
#Invironment variables
|
||||||
export QT_ACCESSIBILITY=1
|
export QT_ACCESSIBILITY=1
|
||||||
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
|
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
|
||||||
PS1='[\W] % '
|
PS1='[\u@\h \W] \$ '
|
||||||
export DIALOGOPTS='--no-lines --visit-items'
|
export DIALOGOPTS='--no-lines --visit-items'
|
||||||
if [[ -z "$DISPLAY" ]]; then
|
if [[ -z "$DISPLAY" ]]; then
|
||||||
export BROWSER=w3m
|
export BROWSER=w3m
|
||||||
export EDITOR=ne
|
export EDITOR=nano
|
||||||
else
|
else
|
||||||
export BROWSER=seamonkey
|
export BROWSER=chromium
|
||||||
export EDITOR=pluma
|
export EDITOR=pluma
|
||||||
fi
|
fi
|
||||||
GPG_TTY=$(tty)
|
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
|
# Don't put commands prefixed with space, or duplicate commands in history
|
||||||
export HISTCONTROL=ignoreboth
|
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.
|
# 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
|
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.
|
# Stop pulseaudio from autospawning, we run system wide.
|
||||||
[[ -L "$HOME/.config/systemd/user/pulseaudio.socket" ]] || systemctl -q --user mask pulseaudio.socket >& /dev/null
|
[[ -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
|
### Added by surfraw. To remove use surfraw-update-path -remove
|
||||||
export PATH=$PATH:/usr/lib/surfraw
|
export PATH=$PATH:/usr/lib/surfraw
|
||||||
### End surfraw addition.
|
### End surfraw addition.
|
||||||
|
Loading…
Reference in New Issue
Block a user