-
Notifications
You must be signed in to change notification settings - Fork 1
/
profile
45 lines (36 loc) · 899 Bytes
/
profile
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
#!/bin/sh
# Import default configuration options
if [ -f "$BASH_KIT_DIR/options" ]; then
. "$BASH_KIT_DIR/options"
fi
# Import alias definitions
if [ -f "$BASH_KIT_DIR/aliases" ]; then
. "$BASH_KIT_DIR/aliases"
fi
# Import custom alias definitions
if [ -f "$BASH_KIT_ALIASES" ]; then
. "$BASH_KIT_ALIASES"
fi
# Import function definitions
if [ -f "$BASH_KIT_DIR/functions" ]; then
. "$BASH_KIT_DIR/functions"
fi
# Import Version Control System agnostic commands
if [ -f "$BASH_KIT_DIR/vc" ]; then
. "$BASH_KIT_DIR/vc"
fi
# Import colour definitions
if [ -f "$BASH_KIT_DIR/colours" ]; then
. "$BASH_KIT_DIR/colours"
fi
# Import configuration for the active shell.
if [ "$BASH" ]; then
if [ -f "$BASH_KIT_DIR/shells/bash" ]; then
. "$BASH_KIT_DIR/shells/bash"
fi
fi
if [ "$ZSH" ]; then
if [ -f "$BASH_KIT_DIR/shells/zsh" ]; then
. "$BASH_KIT_DIR/shells/zsh"
fi
fi