Skip to content

Instantly share code, notes, and snippets.

@thomxc
Last active June 12, 2019 08:41
Show Gist options
  • Save thomxc/9ec219abbab09dcbe0effefecd265364 to your computer and use it in GitHub Desktop.
Save thomxc/9ec219abbab09dcbe0effefecd265364 to your computer and use it in GitHub Desktop.
# inherit
source ~/.git-bash-for-mac.sh
# aliases
alias laradock="cd ~/workspace/laradock"
alias prod-up="docker-compose -f ~/workspace/laradock/production-docker-compose.yml up -d"
alias up="docker-compose up -d"
alias down="docker-compose down"
alias build="docker-compose up --build"
alias workspace="cd ~/workspace"
alias serve="php artisan serve"
alias gpg-connect="gpg-connect-agent killagent /bye && gpg-connect-agent /bye"
# alias for filezilla through cmd line because gpg
alias filezilla="/Applications/FileZilla.app/Contents/MacOS/filezilla"
# exports
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export PATH=$PATH:$HOME/.composer/vendor/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment