Created
May 12, 2019 03:10
-
-
Save zquestz/a7b604d6608b3ab853969b7125860017 to your computer and use it in GitHub Desktop.
.profile
This file contains hidden or 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
# Setup Go. | |
export GOPATH=~/go | |
export GOBIN=~/go/bin | |
# Include key binary paths. | |
export PATH=~/go/bin:$PATH:$HOME/.rvm/bin | |
# Enable QT package config. | |
export QT_PKG_CONFIG=true | |
# Setup rvm. | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# Setup terminal colors, use yellow for directories | |
export CLICOLOR=1 | |
export LSCOLORS=dxfxcxdxbxegedabagacad | |
# Set good default editor | |
export EDITOR=/usr/bin/vim | |
# Bunch of useful aliases. | |
alias ls="ls --color=auto" | |
alias be="bundle exec" | |
alias vi="vim" | |
alias pbcopy='xclip -selection clipboard' | |
alias pbpaste='xclip -selection clipboard -o' | |
alias si='s -b "chromium --incognito"' | |
alias pimp='sudo pacman -Rns $(pacman -Qtdq)' | |
# Setup ssh-agent and ssh keys. | |
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" | |
ssh-add ~/.ssh/id_ed25519 > /dev/null 2>&1 | |
ssh-add ~/.ssh/id_rsa > /dev/null 2>&1 | |
source /etc/profile.d/vte.sh | |
export GPG_TTY=$(tty) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment