-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
54 lines (43 loc) · 955 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
###
# CUTSOM SETTINGS
###
# Directory colors
LS_COLORS=$LS_COLORS:'di=0;35' ; export LS_COLORS
# Load these files if they exsits
# aliases file exists?
if [ -f ~/dotfiles/aliases ]; then
. ~/dotfiles/aliases
fi
# Fancy prompt
if [ -f ~/dotfiles/prompt ]; then
. ~/dotfiles/prompt
fi
# bash_completion
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# Git config
if [ -f ~/dotfiles/git ]; then
. ~/dotfiles/git
fi
# Git-completion
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
# Cowsay with Fortune
if [ -f ~/dotfiles/cowsayFortune ]; then
. ~/dotfiles/cowsayFortune
fi
# All my functions
if [ -f ~/dotfiles/functions ]; then
. ~/dotfiles/functions
fi
# Colour to manpages
if [ -f ~/dotfiles/manpages ]; then
. ~/dotfiles/manpages
fi