Skip to content

Instantly share code, notes, and snippets.

@keckelt
Last active July 7, 2025 08:53
Show Gist options
  • Save keckelt/191b3af0bac2de33eda4c27792b417b7 to your computer and use it in GitHub Desktop.
Save keckelt/191b3af0bac2de33eda4c27792b417b7 to your computer and use it in GitHub Desktop.
Bash/Zsh Aliases
alias ws="cd ~/ws"
alias home="cd ~"
alias fuck='rm -rf'
alias fu='pkill -KILL -f "yarn start|make start|python "'
alias undock='docker stop $(docker ps -a -q)'
alias switch="git switch -"
alias stash="git stash"
alias dev="git switch develop"
ryarn() {
echo "$(date +%T)"
echo "Cleaning yarn cache..."
yarn cache clean && yarn cache clean --mirror
echo "Removing node_modules and lock files..."
rm -rf node_modules package-lock.json yarn.lock
echo "Installing dependencies..."
yarn
# Run the command if any
[[ $# -gt 0 ]] && yarn "$@"
}
rmake() {
echo "Removing existing virtual environment..."
rm -rf .venv
echo "Creating new virtual environment..."
python3 -m venv .venv
echo "Activating virtual environment..."
source .venv/bin/activate
echo "Running make develop..."
make develop
# Run the command if any
[[ $# -gt 0 ]] && make "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment