Files
dotfiles/bash/.bashrc
T
2026-06-26 20:00:41 -04:00

41 lines
949 B
Bash

# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export TIME_STYLE="long-iso"
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# export LC_TIME=C
export MANGOHUD_CONFIGFILE=~/.config/MangoHud/MangoHud.conf
# Swap xbox for playstation
export SDL_GAMECONTROLLER_USE_BUTTON_LABELS=0
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
# >>> grok installer >>>
export PATH="$HOME/.grok/bin:$PATH"
[[ -r "$HOME/.grok/completions/bash/grok.bash" ]] && source "$HOME/.grok/completions/bash/grok.bash"
# <<< grok installer <<<
# If not running interactively, don't do anything
[[ $- != *i* ]] && return