Created
June 5, 2019 21:01
-
-
Save karlramberg/ba94979ca6248f73f88fac34a8be3b61 to your computer and use it in GitHub Desktop.
various dotfiles
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
# if not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# bash completion | |
if ! shopt -oq posix; then | |
if [ -f /usr/share/bash-completion/bash_completion ]; then | |
. /usr/share/bash-completion/bash_completion | |
elif [ -f /etc/bash_completion ]; then | |
. /etc/bash_completion | |
fi | |
fi | |
# run ls with color | |
alias ls='ls --color=auto' | |
# command prompt | |
PS1='\w \\$ ' | |
#aliases | |
alias rf='rm -rf' | |
alias ll='ls -1' | |
alias la='ls -al' | |
alias hm='cd ~' | |
# add to path | |
export PATH="$HOME/.scripts/":$PATH | |
export PATH="$PATH:/usr/local/go/bin" | |
export GOPATH="$HOME/Desktop/go" | |
export PATH="$PATH:$(go env GOPATH)/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment