#!/bin/sh # Misc alias q='exit' alias ls="ls --color=auto" alias ll="ls -G -alh" alias vim='nvim' alias grep='grep --color=auto' alias vz="nvim ${ZDOTDIR}/.zshrc && source ${ZDOTDIR}/.zshrc" alias va="nvim ~/.config/aliasrc && source ${ZDOTDIR}/.zshrc" alias sz='source ~/.zshrc' alias c="xclip -selection clipboard" alias v="xclip -selection clipboard -o" alias ducks='du -cks * | sort -rn | head' # Docker alias dc="docker compose" alias dcu='docker compose up' alias dce='docker compose exec' alias dcr='docker compose run' alias dps="docker ps" alias ds="docker stop" # Docker + Laravel alias artisan="docker compose exec fpm php artisan" alias tinker="docker compose exec fpm php artisan tinker" alias phpunit="docker compose exec fpm ./vendor/bin/phpunit" alias paratest="docker compose exec fpm ./test" alias fresh="docker compose exec fpm php artisan migrate:fresh --seed" alias ts="~/.local/bin/tmux-sessionizer" # Clipboard alias c="xclip -selection clipboard" alias v="xclip -selection clipboard -o" if [[ $(uname) == 'Darwin' ]]; then alias c="pbcopy" alias v="pbpaste" fi # Jack specific alias jack-artisan="dce app-fpm ./artisan" alias jack-paratest="dce app-fpm ./test" alias jack-phpunit="dce app-fpm ./vendor/bin/phpunit" alias jack-subscription-artisan="dce subscription-fpm ./artisan" alias jack-subscription-paratest="dce subscription-fpm ./test" alias jack-subscription-phpunit="dce subscription-fpm ./vendor/bin/phpunit"