-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_bashrc
More file actions
44 lines (41 loc) · 1003 Bytes
/
dot_bashrc
File metadata and controls
44 lines (41 loc) · 1003 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
if [ -f "$HOME/.shell_env" ]; then
. "$HOME/.shell_env"
fi
if [[ -n "${_BASHRC_ALREADY_LOADED:-}" ]]; then
return
fi
export _BASHRC_ALREADY_LOADED=1
case "$-" in
*i*)
if command -v navi >/dev/null 2>&1; then
eval "$(navi widget bash)"
fi
if command -v zoxide >/dev/null 2>&1; then
eval "$(zoxide init bash)"
fi
if command -v starship >/dev/null 2>&1; then
eval "$(starship init bash)"
fi
if command -v atuin >/dev/null 2>&1; then
eval "$(atuin init bash)"
fi
alias ls="lsd"
alias l="ls -l"
alias la="ls -a"
alias lla="ls -la"
alias lt="ls --tree"
alias cat="bat --paging=never -p"
alias cd="z"
alias ps="procs"
alias du="dust"
alias top="btm"
alias diff="delta"
alias network="bandwhich"
#alias gcloud="env MISE_PYTHON_VERSION=3.12.4 gcloud"
alias npm_legacy="command npm"
alias npm="pnpm"
alias npx_legacy="command npx"
alias npx="pnpx"
alias http="xh"
;;
esac