I suck with md, also work bash profile
parent
2a2fcee48f
commit
33d04ee565
|
@ -1,5 +1,4 @@
|
|||
# Brandon's dotfiles
|
||||
---
|
||||
|
||||
[Stowed](https://www.gnu.org/software/stow/) by application.
|
||||
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
HISTFILESIZE=50000
|
||||
|
||||
# Enable bash completion
|
||||
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
|
||||
|
||||
# bx command auto complete
|
||||
[ -f /usr/local/ibmcloud/autocomplete/bash_autocomplete ] && . /usr/local/ibmcloud/autocomplete/bash_autocomplete
|
||||
|
||||
# Ruby version manager (is annoying)
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
||||
|
||||
#Promptttttt
|
||||
export PS1="\[\e[0m\](\A) \[\e[1;31m\]\h\[\e[m\] \[\e[1;34m\]\W\[\e[m\] \[\e[32m\]\$(__git_ps1 '[%s] ')\[\e[m\]\\$ "
|
||||
|
||||
# Editor vars
|
||||
export VISUAL=nvim
|
||||
export EDITOR=$VISUAL
|
||||
|
||||
# Ignore duplicates in history
|
||||
export HISTCONTROL=ignoredups:erasedups
|
||||
|
||||
# LS preferences
|
||||
# * -F puts an * after executables, | after pipes, @ after symlinks, / after dirs, etc
|
||||
# * -h uses human-readable sizes
|
||||
alias ls='ls -Fh'
|
||||
|
||||
# Use color for terminal commands
|
||||
export CLICOLOR=1
|
||||
|
||||
#PATH settings
|
||||
# Golang
|
||||
export PATH="$PATH:/usr/local/opt/go/libexec/bin"
|
||||
|
||||
# Python
|
||||
export PATH="$PATH:$HOME/Library/Python/3.6/bin"
|
||||
|
||||
# ~/bin/
|
||||
export PATH="$PATH:$HOME/bin"
|
||||
|
||||
####################### ALIASES ####################
|
||||
alias watch_diff_clean_five="watch -d -t -n 5"
|
||||
|
||||
alias watch-pods="watch_diff_clean_five kubectl get pods"
|
||||
alias watch-jobs="watch_diff_clean_five kubectl get jobs"
|
||||
alias comma-newline="tr , '\n'"
|
Loading…
Reference in New Issue