|
|
@ -1,49 +1,27 @@ |
|
|
|
#!/bin/sh |
|
|
|
alias \ |
|
|
|
q='exit' \ |
|
|
|
ls="ls --color=auto" \ |
|
|
|
ll="ls -G -alh" \ |
|
|
|
dd='sudo dd status=progress' \ |
|
|
|
h="history 1 | grep" \ |
|
|
|
vim='nvim' \ |
|
|
|
grep='grep --color=auto' \ |
|
|
|
p='sudo pacman' \ |
|
|
|
extip='curl -s www.icanhazip.com' \ |
|
|
|
gitup='git remote | xargs -L1 git push --all' \ |
|
|
|
gco='git checkout' \ |
|
|
|
gbls='git --no-pager branch -a' \ |
|
|
|
vv='nvim ~/.config/nvim/init.lua' \ |
|
|
|
vz='nvim ~/.zshrc && source ~/.zshrc' \ |
|
|
|
va='nvim ~/.config/aliasrc && source ~/.zshrc' \ |
|
|
|
sz='source ~/.zshrc' \ |
|
|
|
delorig='find . -name "*.orig" -exec rm {} \;' \ |
|
|
|
delbak='find . -name "*.bak" -exec rm {} \;' \ |
|
|
|
cpp="rsync --progress --recursive" \ |
|
|
|
sv="sudo nvim" \ |
|
|
|
c="xclip -selection clipboard" \ |
|
|
|
v="xclip -selection clipboard -o" \ |
|
|
|
lf="lfcd" \ |
|
|
|
dcu='docker-compose up' \ |
|
|
|
dce='docker-compose exec' \ |
|
|
|
dps="docker ps" \ |
|
|
|
ds="docker stop" \ |
|
|
|
dce-test='docker-compose exec fpm ./artisan test' \ |
|
|
|
dc-phpunit='docker-compose exec fpm ./vendor/bin/phpunit' \ |
|
|
|
dm='mysql -h localhost -P 33061 --protocol=tcp -u root -psecret' \ |
|
|
|
staging-mysql='mysql --host tf-codium-staging.ch66levpagqo.ap-southeast-2.rds.amazonaws.com --user=root --password=r43r34rg' \ |
|
|
|
mailhog='docker run -d --restart unless-stopped -p 1025:1025 -p 8025:8025 mailhog/mailhog' \ |
|
|
|
t12wl='docker run -it -v $(pwd):/workpace -v /root/.ssh:/root/.ssh:ro -v ~/.aws:/root/.aws -w /workpace hashicorp/terraform:0.12.27 workspace list ' \ |
|
|
|
t12ws='docker run -it -v $(pwd):/workpace -v /root/.ssh:/root/.ssh:ro -v ~/.aws:/root/.aws -w /workpace hashicorp/terraform:0.12.27 workspace select ' \ |
|
|
|
t12wd='docker run -it -v $(pwd):/workpace -v /root/.ssh:/root/.ssh:ro -v ~/.aws:/root/.aws -w /workpace hashicorp/terraform:0.12.27 workspace delete ' \ |
|
|
|
t12='docker run -it -v $(pwd):/workpace -v /root/.ssh:/root/.ssh:ro -v ~/.aws:/root/.aws -w /workpace hashicorp/terraform:0.12.27 ' \ |
|
|
|
ducks='du -cks * | sort -rn | head' \ |
|
|
|
fn="find . -name" \ |
|
|
|
artisan="docker-compose exec fpm php artisan" \ |
|
|
|
tinker="docker-compose exec fpm php artisan tinker" \ |
|
|
|
phpunit="docker-compose exec fpm ./vendor/bin/phpunit" \ |
|
|
|
jsonlint="python -m json.tool" \ |
|
|
|
migseed="docker-compose exec fpm php artisan migrate --seed" \ |
|
|
|
dsa="docker kill $(docker ps -q)" |
|
|
|
|
|
|
|
alias thermoview-run='docker-compose -f docker-compose.yml run desktop bash -c "/opt/local-electron.sh" ; rm -rf desktop/pulse-*' |
|
|
|
alias thermoview-build-run='dce node gulp && docker-compose -f docker-compose.yml run desktop bash -c "/opt/build/build-local.sh && /opt/local-electron.sh" ; rm -rf desktop/pulse-*' |
|
|
|
alias q='exit' |
|
|
|
alias ls="ls --color=auto" |
|
|
|
alias ll="ls -G -alh" |
|
|
|
alias dd='sudo dd status=progress' |
|
|
|
alias h="history 1 | grep" |
|
|
|
alias vim='nvim' |
|
|
|
alias grep='grep --color=auto' |
|
|
|
alias p='sudo pacman' |
|
|
|
alias extip='curl -s www.icanhazip.com' |
|
|
|
alias vz='nvim ~/.zshrc && source ~/.zshrc' |
|
|
|
alias va='nvim ~/.config/aliasrc && source ~/.zshrc' |
|
|
|
alias sz='source ~/.zshrc' |
|
|
|
alias c="xclip -selection clipboard" |
|
|
|
alias v="xclip -selection clipboard -o" |
|
|
|
alias lf="lfcd" |
|
|
|
alias dc='docker-compose' |
|
|
|
alias dcu='docker-compose up' |
|
|
|
alias dce='docker-compose exec' |
|
|
|
alias dps="docker ps" |
|
|
|
alias phpunit='docker-compose exec fpm ./vendor/bin/phpunit' |
|
|
|
alias paratest='docker-compose exec fpm ./test' |
|
|
|
alias tinker="docker-compose exec fpm php artisan tinker" |
|
|
|
alias artisan="docker-compose exec fpm php artisan" |
|
|
|
alias ducks='du -cks * | sort -rn | head' |
|
|
|
alias jsonlint="python -m json.tool" |