-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_bashrc.tmpl
More file actions
28 lines (21 loc) · 842 Bytes
/
Copy pathdot_bashrc.tmpl
File metadata and controls
28 lines (21 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# =============================================================================
# Bash Configuration
# =============================================================================
# Cargo environment
[[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
# Atuin shell history
if [[ -f ~/.bash-preexec.sh ]]; then
source ~/.bash-preexec.sh
command -v atuin &>/dev/null && eval "$(atuin init bash)"
fi
# Mise version manager
[[ -x "$HOME/.local/bin/mise" ]] && eval "$(~/.local/bin/mise activate bash)"
# GHCup Haskell environment
[[ -f "$HOME/.ghcup/env" ]] && . "$HOME/.ghcup/env"
eval "$(starship init bash)"
{{- if eq .chezmoi.os "darwin" }}
# Homebrew
[[ -x /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
{{- end }}
export PATH="${HOME}/.local/bin:$PATH"
export PATH="${HOME}/.local/xonsh-env/xbin:$PATH"