2024-08-08 11:49:57 -04:00
|
|
|
### My aliases for my Kitty + OhMyZSH combo.
|
|
|
|
# These aliases go from the very bare basics that will work on any distro, like Kitten integrations,
|
|
|
|
# to Python and Node Version Manager, then distro specific aliases.
|
|
|
|
#
|
|
|
|
#
|
2024-08-09 17:22:02 -04:00
|
|
|
## Basic Utils
|
2024-08-09 17:28:41 -04:00
|
|
|
alias ls="ls -A --color=tty"
|
2024-08-09 17:22:02 -04:00
|
|
|
alias du="du -sh"
|
2024-11-26 12:34:24 -05:00
|
|
|
lsd --version 2>&1 >/dev/null && alias ls="lsd -A --color always" || alias ls="ls -A --color=tty"
|
2024-08-09 17:22:02 -04:00
|
|
|
#
|
|
|
|
#
|
2024-08-08 11:49:57 -04:00
|
|
|
## Kitty
|
2024-09-01 12:14:23 -04:00
|
|
|
# alias kitten="kitty +kitten"
|
|
|
|
# alias ssh="kitten ssh"
|
2024-08-08 11:49:57 -04:00
|
|
|
#
|
|
|
|
#
|
|
|
|
## Python UV
|
2024-09-01 12:14:23 -04:00
|
|
|
if [[ $(uname -o) != "Android" ]] then
|
|
|
|
alias pip="uv pip"
|
|
|
|
alias venv="uv venv"
|
|
|
|
alias suv="source ./.venv/bin/activate"
|
|
|
|
alias rpip="/usr/bin/pip"
|
|
|
|
fi
|
2024-08-08 11:49:57 -04:00
|
|
|
#
|
|
|
|
#
|
|
|
|
## NVM
|
|
|
|
alias loadnvm=". $HOME/.nvm/nvm.sh"
|
|
|
|
#
|
|
|
|
#
|
|
|
|
## Docker, specifically Docker Compose
|
|
|
|
alias dcd="docker compose down"
|
|
|
|
alias dcdr="docker compose down --remove-orphans"
|
|
|
|
alias dcu="docker compose up"
|
|
|
|
alias dcud="docker compose up -d"
|
|
|
|
#
|
|
|
|
#
|
|
|
|
## Debian, Ubuntu and friends
|
|
|
|
alias nala="sudo nala"
|