Last active
April 30, 2018 23:53
-
-
Save dschulz/1c757effd09050485bb2d503f26543f9 to your computer and use it in GitHub Desktop.
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
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
# Golang | |
if [ -d ${HOME}/Golang ]; then | |
export GOPATH=${HOME}/Golang | |
if [ -d ${HOME}/Golang/bin ]; then | |
PATH=${PATH}:${HOME}/Golang/bin | |
fi | |
fi | |
ulimit -n 8192 | |
alias ls='ls -pGF' | |
alias l='ls -lpGF' | |
alias ll='ls -lpGF' | |
alias la='ls -lapGF' | |
export CLICOLOR=1 | |
# MacPorts | |
alias updports='sudo port -v selfupdate && sudo port upgrade outdated ; sudo port uninstall inactive ; sudo port uninstall leaves ; sudo port uninstall leaves ; sudo port list leaves' | |
# Alias para generar certificado descartable | |
alias newselfsignedsslcert='openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes' | |
# Java | |
JAVA_HOME=$(/usr/libexec/java_home -v 10) | |
export JAVA_HOME | |
# PostgreSQL | |
PG_BIN=/Applications/Postgres.app/Contents/Versions/latest/bin | |
export PATH=$PATH:$JAVA_HOME/bin:${PG_BIN} | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Maven | |
MAVEN_HOME="${HOME}/Applications/apache-maven-3.5.3/" | |
export PATH="${HOME}/bin:${PATH}:${MAVEN_HOME}/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment