-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
42 lines (31 loc) · 858 Bytes
/
.bash_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
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
if [ -f ~/.local_profile ]; then
. ~/.local_profile
fi
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/sbin:/usr/sbin
export PATH
export AGENT_HOME=~/agent
export KIOSK_NUMBER=K11001
export VAGRANT_DEFAULT_PROVIDER=docker
export MAN_POSIXLY_CORRECT=1
export NVIM_GTK_NO_WINDOW_DECORATION=1
#AWSume alias to source the AWSume script
alias awsume=". awsume"
#Auto-Complete function for AWSume
_awsume() {
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$(awsume-autocomplete)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
complete -F _awsume awsume
#AWSume alias to source the AWSume script
alias awsume="source awsume"