home/.zshc/aliases.zsh

39 lines
1.4 KiB
Bash
Raw Normal View History

alias f="$(pay-respects zsh)"
alias wtf="navi"
alias help="navi"
alias rzsh="source ~/.zshrc && echo 'Successfully reloaded zsh!'"
alias aliases="${EDITOR} $ZSH_CUSTOM/aliases.zsh && rzsh"
alias zshrc="${EDITOR} ~/.zshrc && rzsh"
2024-07-10 12:19:02 -04:00
alias zshconfig="zshrc"
alias zshcustom="${EDITOR} $ZSH_CUSTOM && rzsh"
alias ohmyzsh="${EDITOR} ~/.oh-my-zsh && rzsh"
alias vi="${EDITOR}"
alias vim="${EDITOR}"
alias nano="${EDITOR}"
alias neofetch="fastfetch"
alias nf="fastfetch"
alias ff="fastfetch"
alias uf="uwufetch"
alias aur="yay"
# 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"
2024-07-21 19:47:44 -04:00
alias lg="lazygit"
alias lad="lazydocker"
alias htop="btop"
if [[ "${XDG_SESSION_TYPE}" == "x11" ]]; then
alias clip="xsel -ib"
elif [[ -n "${WAYLAND_DISPLAY}" ]]; then
alias clip="wl-copy"
else
alias clip='echo "Cannot determine desktop session type, are you running a display server that is not X11 or Wayland?"'
fi
alias driver="nvidia-smi"
alias gpu="sudo nvidia-settings"
alias yaystats="yay -P --stats"
alias pacstats="yaystats"
alias taildrop="tailscale file"
alias protontricks="flatpak run com.github.Matoking.protontricks"
alias sober="flatpak run org.vinegarhq.Sober"
alias runactions="forgejo-runner exec --network=host --default-actions-url=https://www.coastalcommits.com --gitea-instance=https://www.coastalcommits.com"
alias sudo="sudo "