-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
50 lines (42 loc) · 1.62 KB
/
bashrc
File metadata and controls
50 lines (42 loc) · 1.62 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $HOME/.bashrc
#
# this file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. so make sure this doesn't display
# anything or bad things will happen !
# test for an interactive shell. there is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
# shell is non-interactive. be done now!
return
fi
# load all files from .shell/bashrc.d directory
if [ -d $HOME/Repos/dotfiles/bashrc.d ]; then
for file in "$HOME/Repos/dotfiles/bashrc.d/"*.bash; do
source $file
done
fi
# load all files from .shell/rc.d directory
if [ -d $HOME/Repos/dotfiles/rc.d ]; then
for file in "$HOME/Repos/dotfiles/rc.d/"*.sh; do
source $file
done
fi
# Load any local bash commands
if [ -e $HOME/.bashrc_local ]; then
source $HOME/.bashrc_local
fi
# added by travis gem
[ -f /Users/johannes/.travis/travis.sh ] && source /Users/johannes/.travis/travis.sh
alias ic="ibmcloud"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then source $(brew --prefix)/etc/bash_completion; fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
. "/Users/johannes/.deno/env"
. "$HOME/.atuin/bin/env"
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
eval "$(atuin init bash)"