dotfiles/dot_bashrc.tmpl

28 lines
606 B
Cheetah
Raw Normal View History

{{- if (eq .chezmoi.os "linux") -}}
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export MOZ_ENABLE_WAYLAND=1
{{ end }}
2021-04-12 21:56:06 -04:00
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# User specific aliases and functions
2022-05-10 13:58:50 -04:00
if [ -d "$HOME/.config/bash" ]; then
2022-05-10 15:34:50 -04:00
for rc in $HOME/.config/bash/*; do
2021-04-13 14:43:04 -04:00
if [ -f "$rc" ]; then
2021-05-11 12:28:44 -04:00
# shellcheck source=/dev/null
2021-04-13 14:43:04 -04:00
. "$rc"
fi
done
2021-04-12 21:56:06 -04:00
fi
unset rc
if which direnv > /dev/null 2>&1 ; then
eval "$(direnv hook bash)"
fi
if which zoxide > /dev/null 2>&1 ; then
eval "$(zoxide init bash)"
# shellcheck disable=SC2139
alias z="$(which zoxide)"
fi