Update gcloud Shell bashrcs
Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
5ce412e8d8
commit
094d9ba564
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
# Avoid sourcing bashrc.google more than once for a session as some of
|
# Avoid sourcing bashrc.google more than once for a session as some of
|
||||||
# the commands below are not reentrant.
|
# the commands below are not reentrant.
|
||||||
if [[ -n "${GOOGLE_BASHRC_SOURCED}" ]]; then
|
#if [[ -n "${GOOGLE_BASHRC_SOURCED}" ]]; then
|
||||||
return
|
# return
|
||||||
fi
|
#fi
|
||||||
GOOGLE_BASHRC_SOURCED=1
|
GOOGLE_BASHRC_SOURCED=1
|
||||||
|
|
||||||
START_TIME=$(date +%s%3N)
|
START_TIME=$(date +%s%3N)
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
# for examples
|
# for examples
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
#case $- in
|
||||||
*i*) ;;
|
# *i*) ;;
|
||||||
*) return;;
|
# *) return;;
|
||||||
esac
|
#esac
|
||||||
|
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
# See bash(1) for more options
|
# See bash(1) for more options
|
||||||
|
@ -110,9 +110,9 @@ fi
|
||||||
export LD_LIBRARY_PATH=/usr/local/lib
|
export LD_LIBRARY_PATH=/usr/local/lib
|
||||||
|
|
||||||
# After all of these, source my customized Google Cloud Shell bahsrc.
|
# After all of these, source my customized Google Cloud Shell bahsrc.
|
||||||
if [ -f "/google/devshell/bashrc.google" ]; then
|
#if [ -f "/google/devshell/bashrc.google" ]; then
|
||||||
source "$HOME/.dotfiles/bashrc/google.bashrc"
|
# source "$HOME/.dotfiles/bashrc/google.bashrc"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# Instead of using Google Cloud Shell's preinstalled nvm, I manually installed it on my home directory.
|
# Instead of using Google Cloud Shell's preinstalled nvm, I manually installed it on my home directory.
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
@ -150,3 +150,4 @@ eval $(gpg-agent --daemon) >> /dev/null 2>&1
|
||||||
# We still need this, just in case gpg-agent is being a dick
|
# We still need this, just in case gpg-agent is being a dick
|
||||||
source $DOTFILES_STUFF_BIN/source-ssh-agent
|
source $DOTFILES_STUFF_BIN/source-ssh-agent
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
eval "$(direnv hook bash)"
|
Loading…
Reference in New Issue