-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_profile
More file actions
40 lines (38 loc) · 1.04 KB
/
dot_profile
File metadata and controls
40 lines (38 loc) · 1.04 KB
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
if [ -f "$HOME/.shell_env" ]; then
. "$HOME/.shell_env"
fi
# POSIX sh interactive shell setup (bash/zsh use their own rc files)
if [ -z "${BASH_VERSION:-}" ] && [ -z "${ZSH_VERSION:-}" ]; then
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 posix)"
fi
if command -v starship >/dev/null 2>&1; then
eval "$(starship init bash)"
fi
# atuin has no POSIX sh init target.
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
fi