-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbash_profile
More file actions
30 lines (24 loc) · 725 Bytes
/
bash_profile
File metadata and controls
30 lines (24 loc) · 725 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
#!/usr/bin/env bash
###
# Bash Profile
#
# Uses custom functions defined in ~/.bashlib/
###
[[ $PROFILE_LOADED ]] && echo "Profile already loaded!"
printf "Loading Bash Profile..."
[[ -r $HOME/.bashrc ]] && source $HOME/.bashrc
if [[ -d $HOME/.bashlib ]]; then
for f in $(find $HOME/.bashlib/ -type f -d 1); do
source $f
done
fi
### Shell Settings
set -o vi # Set vi mode for bash shell
export CLICOLOR=1 # Turn on colors
export LSCOLORS=gxfxcxdxbxegedabagacad # Color files by type
### Prompt
# Pass prompt pattern key - see bashlibs/prompt.sh
set_prompt sexy # (smiley|redline|fancy|sexy)
### Misc
export PROFILE_LOADED="yes"
printf "Done.\n"