-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc
More file actions
42 lines (39 loc) · 1 KB
/
dot_zshrc
File metadata and controls
42 lines (39 loc) · 1 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
41
42
if [[ -n "${_ZSHRC_ALREADY_LOADED:-}" ]]; then
return
fi
typeset -g _ZSHRC_ALREADY_LOADED=1
## [Completion]
## Completion scripts setup. Remove the following line to uninstall
[[ -f /Users/dididi/.dart-cli-completion/zsh-config.zsh ]] && . /Users/dididi/.dart-cli-completion/zsh-config.zsh || true
## [/Completion]
if command -v navi >/dev/null 2>&1; then
eval "$(navi widget zsh)"
fi
if command -v zoxide >/dev/null 2>&1; then
eval "$(zoxide init zsh)"
fi
if command -v starship >/dev/null 2>&1; then
eval "$(starship init zsh)"
fi
if command -v atuin >/dev/null 2>&1; then
eval "$(atuin init zsh)"
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 rm="trash"
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"