-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bashrc
30 lines (24 loc) · 1014 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# For zsh parity
alias ..="cd .."
### stickier .bash_history
shopt -s histappend
export HISTIGNORE="clear:bg:fg:cd:cd -:exit:date:w:* --help"
# heroku autocomplete setup
HEROKU_AC_BASH_SETUP_PATH="$HOME"/Library/Caches/heroku/autocomplete/bash_setup
if [[ -f $HEROKU_AC_BASH_SETUP_PATH ]]; then
source "$HEROKU_AC_BASH_SETUP_PATH"
else
CLEAR_LINE='\r\033[K'
NO_COLOR='\033[0m'
YELLOW='\033[0;33m'
printf "${CLEAR_LINE}⚠️${YELLOW} .bashrc: Missing Heroku CLI Completions. See: https://devcenter.heroku.com/articles/heroku-cli-autocomplete.${NO_COLOR}\n"
fi
# `rbenv init` will forceably put itself in this file, unless this file already
# contains the string "rbenv init." And now it does. Twice. 😏
# Source our .profile which does a lot of path and tooling initialization. Yes,
# it's not actually meant for Bash, but I took care not to use any zsh-specific
# functionality, so it works for both!
source "${HOME}/.profile"
if [[ -f "$HOME/.fzf.bash" ]]; then
source "$HOME/.fzf.bash"
fi