| # /etc/bash/bashrc
|
|
|
| # Proceed no further in the case of a non-interactive shell.
|
| if [[ $- != *i* ]]; then
|
| return
|
| fi
|
|
|
| # Disable errexit in case the user enabled it then chose to re-source this file.
|
| shopt -u -o errexit
|
|
|
| # Disable completion when the input buffer is empty. Mute STDERR because this
|
| # option is only present in the case that bash was built with readline support.
|
| shopt -s no_empty_cmd_completion 2>/dev/null &&
|
| export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:/home/Guilherme/.local/share/flatpak/exports/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
|
| # Append to HISTFILE rather than overwrite upon exiting, per bug #139609. This
|
| # option also requires for bash to have been built with readline support.
|
| shopt -s histappend
|
|
|
| # Initialise PROMPT_COMMAND as an array, unless bash is acting as a login shell.
|
| # In the latter case, the profile.d drop-in will already have initialised it.
|
| shopt -q login_shell || PROMPT_COMMAND=()
|
|
|
| # Don't let the user influence the order of sourcing for bash 5.3 or greater.
|
| unset -v GLOBSORT
|
|
|
| for _ in /etc/bash/bashrc.d/*; do
|
| if [[ $_ == *.@(bash|sh) && -r $_ ]]; then
|
| source "$_"
|
| fi
|
| done
|
| alias ncmpcpp='setsid kitty -o allow_remote_control=yes --listen-on unix:/tmp/kittyncmpcpp -e ncmpcpp >/dev/null 2>&1 < /dev/null &'
|
| export PATH="$HOME/bin:$PATH"
|
| export MANPAGER='nvim +Man'
|
|
|
| export NVM_DIR="$HOME/.nvm"
|
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
| export PATH="$HOME/.local/bin:$PATH"
|
| export MPD_HOST=~/.config/mpd/socket
|
| export MPD_HOST=~/.config/mpd/socket
|