-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc.darkwing
50 lines (41 loc) · 1.49 KB
/
bashrc.darkwing
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
# This .bashrc is the local config. It will call the system config, do
# some setup, call the common config, and then finish up as needed.
SYSTEM_BASHRC=/etc/bashrc
COMMON_BASHRC=$HOME/dotfiles/bashrc.common
# Source system config
for file in $SYSTEM_BASHRC
do
#echo "Sourcing system bashrc $file"
if [ -f $file ]; then
source $file
fi
done
# Set up some variables needed by the common config
SSH_IDENTITY="$HOME/.ssh/id_ed25519"
# Source common config
for file in $COMMON_BASHRC
do
#echo "Sourcing common bashrc $file"
if [ -f $file ]; then
source $file
fi
done
##### begin environment variables
SECRETS_HOME=/Users/troscoe/evi/secrets
##### end environment variables
##### begin aliases
### general
alias ls="gls --color=auto" # BSD ls :(
alias terraform='echo NO!!!!!!1'
alias tf011='/usr/local/opt/[email protected]/bin/terraform'
alias tf12='/usr/local/opt/[email protected]/bin/terraform'
alias tf13='/usr/local/opt/[email protected]' # brew doesn't have [email protected] or @0.13.7, and latest has floated to 0.15 so i'm managing this by hand'
alias tf14='/usr/local/bin/terraform-0.14.6' # brew doesn't have [email protected] or @0.14.6, and latest has floated to 0.15 so i'm managing this by hand
alias tf10='/usr/local/opt/[email protected]/bin/terraform'
alias tf11='/usr/local/opt/[email protected]/bin/terraform'
##### end aliases
##### begin other configuration
umask 007 # this is for "one user per group" type systems.
#eval `dircolors`
##### end other configuration
. $HOME/dotfiles/bashrc.darkwing.secrets