[ "${BLING_SOURCED:-0}" -eq 1 ] && return
BLING_SOURCED=1
if [ "$(command -v eza)" ]; then
alias ll='eza -l --icons=auto --group-directories-first'
alias l.='eza -d .*'
alias ls='eza'
alias l1='eza -1'
fi
if [ "$(command -v ug)" ]; then
alias grep='ug'
alias egrep='ug -E'
alias fgrep='ug -F'
alias xzgrep='ug -z'
alias xzegrep='ug -zE'
alias xzfgrep='ug -zF'
fi
if [ "$(command -v bat)" ]; then
alias cat='bat --style=plain --pager=never'
fi
ATUIN_INIT_FLAGS="${ATUIN_INIT_FLAGS:-}"
BLING_SHELL="$(basename "$(readlink /proc/$$/exe)")"
if [ "${BLING_SHELL}" = "bash" ]; then
[ -f "/etc/profile.d/bash-preexec.sh" ] && . "/etc/profile.d/bash-preexec.sh"
[ -f "/usr/share/bash-prexec" ] && . "/usr/share/bash-prexec"
[ -f "/usr/share/bash-prexec.sh" ] && . "/usr/share/bash-prexec.sh"
[ -f "${HOMEBREW_PREFIX}/etc/profile.d/bash-preexec.sh" ] && . "${HOMEBREW_PREFIX}/etc/profile.d/bash-preexec.sh"
fi
[ "$(command -v direnv)" ] && eval "$(direnv hook "${BLING_SHELL}")"
[ "$(command -v starship)" ] && eval "$(starship init "${BLING_SHELL}")"
[ "$(command -v zoxide)" ] && eval "$(zoxide init "${BLING_SHELL}")"
if command -v mise >/dev/null 2>&1; then
if [ "${BLING_SHELL}" = "bash" ]; then
if [ "$MISE_BASH_AUTO_ACTIVATE" != "0" ]; then
eval "$(mise activate bash)"
fi
elif [ "${BLING_SHELL}" = "zsh" ]; then
if [ "$MISE_ZSH_AUTO_ACTIVATE" != "0" ]; then
eval "$(mise activate zsh)"
fi
fi
fi