forked from werebus/vimfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
39 lines (32 loc) · 938 Bytes
/
bashrc
File metadata and controls
39 lines (32 loc) · 938 Bytes
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
# shellcheck disable=SC2148,SC1091
# Source bash_aliases
if [ -e "$HOME/.bash_aliases" ]; then
source "$HOME/.bash_aliases"
fi
# Source local bashrc
if [ -e "$HOME/.bashrc.local" ]; then
source "$HOME/.bashrc.local"
fi
# Source local bash_aliases
if [ -e "$HOME/.bash_aliases.local" ]; then
source "$HOME/.bash_aliases.local"
fi
# Source devicons
if [ "$VTE_VERSION" ] || [ "$TILIX_ID" ]; then
source "/etc/profile.d/vte.sh"
fi
# Source rbenv
if [ -e "$HOME/.rbenv/" ]; then
eval "$(rbenv init - --no-rehash bash)"
fi
# set PATH so it includes user's private ~/.local/bin if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
# KITTY_SHELL_INTEGRATION
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then
source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"
fi
if command -v direnv; then
eval "$(direnv hook bash)"
fi