-
Notifications
You must be signed in to change notification settings - Fork 1k
/
.bash_profile
47 lines (36 loc) · 1.42 KB
/
.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
43
44
45
46
47
#
# Author: Hari Sekhon
# Date: 2006-06-28 23:25:09 +0100 (Wed, 28 Jun 2006)
#
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
trap clear EXIT
# the default umask is set in /etc/login.defs
#umask 022
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# not supported in the tmux terminal in GCP Cloud Shell
#if ! is_mac &&
# ! isGoogleCloudShell &&
# [ "${TERM:-}" != "xterm-256color" ]; then
# setterm -blank 0
#fi
# prints a cool spinning welcome message which shows the time of last login
# this is available in the Python / Perl and Golang Devops Tools repos,
# as well as a function in .bash.d/welcome.sh in the DevOps Bash Tools repo
#if type welcome &>/dev/null; then
# welcome
#fi
#eval "$(rbenv init -)"
# from brew install bash-completion
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
#sudo setmixer -V pcm 100
complete -C /usr/local/bin/terragrunt terragrunt
# ============================================================================ #
# This should be automatically added to ~/.bash_profile when you install SDKman (install/install_sdkman.sh):
#
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "/Users/<user>/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/<user>/.sdkman/bin/sdkman-init.sh"