-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bashrc
26 lines (22 loc) · 864 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
#!/usr/bin/env bash
## ek9/shell-config - https://github.com/ek9/shell-config
## .bashrc
## This file is executed by interactive (non-)login bash shell
# if not running interactively - don't do anything
[[ $- != *i* ]] && return
# load shell agnostic config files from $HOME/.config/shell/config.d
if test -d "$HOME/.config/shell/config.d/"; then
for shell_config in $HOME/.config/shell/config.d/*.sh; do
test -r "$shell_config" && . "$shell_config"
done
unset shell_config
fi
# load bash specific config files from $HOME/.config/bash/config.d
if test -d "$HOME/.config/bash/config.d/"; then
for bash_config in $HOME/.config/bash/config.d/*.sh; do
test -r "$bash_config" && . "$bash_config"
done
unset bash_config
fi
[[ -s "$HOME/.local/sharervm/scripts/rvm" ]] && source "$HOME/.local/share/rvm/scripts/rvm"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash