You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DevOps-Bash-tools/.bash_profile

46 lines
1.4 KiB
Bash

#
# 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
# ============================================================================ #
# This should be automatically added to ~/.bash_profile when you install SDKman (setup/install_sdkman.sh):
#
##THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
#export SDKMAN_DIR="/Users/hari.sekhon/.sdkman"
#[[ -s "/Users/<user>/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/<user>/.sdkman/bin/sdkman-init.sh"