2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[pay-respects] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias f="$(pay-respects zsh)"
|
|
|
|
fi
|
|
|
|
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[navi] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
eval "$(navi widget zsh)"
|
|
|
|
alias wtf="navi"
|
|
|
|
alias help="navi"
|
|
|
|
fi
|
|
|
|
|
2024-07-10 11:44:45 -04:00
|
|
|
alias rzsh="source ~/.zshrc && echo 'Successfully reloaded zsh!'"
|
2024-10-07 12:03:35 -04:00
|
|
|
alias aliases="${EDITOR} $ZSH_CUSTOM/aliases.zsh && rzsh"
|
2024-10-11 18:33:12 -04:00
|
|
|
alias func="${EDITOR} $ZSH_CUSTOM/func.zsh && rzsh"
|
2024-10-07 12:03:35 -04:00
|
|
|
alias zshrc="${EDITOR} ~/.zshrc && rzsh"
|
2024-07-10 12:19:02 -04:00
|
|
|
alias zshconfig="zshrc"
|
2024-10-07 12:03:35 -04:00
|
|
|
alias zshcustom="${EDITOR} $ZSH_CUSTOM && rzsh"
|
|
|
|
alias ohmyzsh="${EDITOR} ~/.oh-my-zsh && rzsh"
|
|
|
|
alias vi="${EDITOR}"
|
|
|
|
alias vim="${EDITOR}"
|
|
|
|
alias nano="${EDITOR}"
|
2024-10-11 09:56:00 -04:00
|
|
|
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[pacman] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
# this lists packages installed with pacman by size in mebibytes
|
|
|
|
alias pacsize="pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste - - | column -t | sort -nrk 2 | grep MiB | less"
|
|
|
|
fi
|
|
|
|
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[yay] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias aur="yay"
|
|
|
|
alias yaystats="yay -P --stats"
|
|
|
|
alias pacstats="yaystats"
|
|
|
|
fi
|
|
|
|
|
2024-11-14 13:18:41 -05:00
|
|
|
if (( $+commands[bat] )); then
|
|
|
|
alias cat="bat"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if (( $+commands[eza] )); then
|
|
|
|
alias ls="eza --icons"
|
2024-11-14 15:53:03 -05:00
|
|
|
alias l="eza -lgh --icons"
|
2024-11-14 13:18:41 -05:00
|
|
|
fi
|
|
|
|
|
2024-11-14 15:02:57 -05:00
|
|
|
if (( $+commands[cpg] )); then
|
|
|
|
alias cp="cpg"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if (( $+commands[mvg] )); then
|
|
|
|
alias mv="mvg"
|
|
|
|
fi
|
|
|
|
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[lazygit] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias lg="lazygit"
|
|
|
|
fi
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[lazydocker] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias lad="lazydocker"
|
|
|
|
fi
|
|
|
|
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[nvidia-smi] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias driver="nvidia-smi"
|
|
|
|
fi
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[nvidia-settings] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias gpu="sudo nvidia-settings"
|
|
|
|
fi
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[forgejo-runner] )); then
|
|
|
|
alias runactions="forgejo-runner exec --network=host --default-actions-url=https://www.coastalcommits.com --gitea-instance=https://www.coastalcommits.com"
|
2024-10-11 09:56:00 -04:00
|
|
|
fi
|
2024-10-11 18:33:12 -04:00
|
|
|
if (( $+commands[tailscale] )); then
|
2024-10-11 09:56:00 -04:00
|
|
|
alias taildrop="tailscale file"
|
|
|
|
fi
|
2024-08-19 02:32:29 -04:00
|
|
|
alias protontricks="flatpak run com.github.Matoking.protontricks"
|
2024-10-07 11:46:11 -04:00
|
|
|
alias sober="flatpak run org.vinegarhq.Sober"
|
2024-11-14 13:30:38 -05:00
|
|
|
alias c="clear"
|
2024-07-10 11:44:45 -04:00
|
|
|
alias sudo="sudo "
|