-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
44 lines (29 loc) · 1.26 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Private settings can be stored in .bashrc_private (see example file)
# User specific aliases and functions
[ -x "$HOME/.aliases.sh" ] && source "$HOME/.aliases.sh"
export VISUAL='vim'
export EDITOR='vim'
[ -x "$HOME/.git-completion.bash" ] && source "$HOME/.git-completion.bash"
if [ -d "$HOME/.rvm" ]; then
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
if [ -f /usr/share/terminfo/x/xterm+256color ]; then
export TERM='xterm-256color'
else
export TERM='xterm-color'
fi
# Allow pattern-matching with **
shopt -s globstar
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
export PATH="$HOME/bin:$HOME/.rbenv/shims:$HOME/.rbenv/bin:$HOME/perl5/bin:$HOME/.rvm/bin:$PATH"
[ -s "~/.fzf.bash" ] && source "~/.fzf.bash"
[ -s "/home/lennaert/.scm_breeze/scm_breeze.sh" ] && source "/home/lennaert/.scm_breeze/scm_breeze.sh"
[ -s "$HOME/.config/broot/launcher/bash/br" ] && source "$HOME/.config/broot/launcher/bash/br"