Last active
April 30, 2018 18:26
-
-
Save PellePedro/f96479c3d1bbe221f1291f9fe95107f7 to your computer and use it in GitHub Desktop.
Development Environment Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alias for devops container | |
``` | |
# Alias for .bashrc | |
eval "$(direnv hook bash)" | |
alias fdns='sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache' | |
alias dev='docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/root/host pellepedro/devenv:latest bash' | |
alias godev='docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/root/go/src/host pellepedro/devenv:latest bash' | |
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"' | |
``` | |
``` | |
# Alias for .zshrc | |
eval "$(direnv hook zsh)" | |
alias fdns='sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache' | |
alias dev='docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/root/host pellepedro/devenv:latest bash' | |
alias godev='docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/root/go/src/host pellepedro/devenv:latest bash' | |
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"' | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment