Update bashrc
This commit is contained in:
parent
052d7d9ccd
commit
bf56ef5ab4
28
.bashrc
28
.bashrc
@ -68,6 +68,10 @@ mkdir -p $GOBIN
|
||||
# And add the gobin to the executable path
|
||||
export PATH="$GOBIN:$PATH"
|
||||
|
||||
# Espressif
|
||||
export IDF_PATH="$HOME/git/.esp-idf"
|
||||
#source "$IDF_PATH/export.sh"
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Convience Aliases ###########################################################
|
||||
@ -124,6 +128,21 @@ if [ -f $HOME/.sdkman/bin/sdkman-init.sh ]; then
|
||||
source $HOME/.sdkman/bin/sdkman-init.sh
|
||||
fi
|
||||
|
||||
# ASDF-vm
|
||||
if [ -f $HOME/.asdf/asdf.sh ]; then
|
||||
. "$HOME/.asdf/asdf.sh"
|
||||
. "$HOME/.asdf/completions/asdf.bash"
|
||||
fi
|
||||
|
||||
# Codex completions
|
||||
if command -v codex >/dev/null 2>&1; then
|
||||
if [ -z "${_CODEX_COMPLETION_LOADED:-}" ]; then
|
||||
eval "$(codex completion)"
|
||||
_CODEX_COMPLETION_LOADED=1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Change shell character based on root/user
|
||||
if [ "$UID" -eq 0 ]; then
|
||||
export PS1="\033[1m\e[0;97m[\e[0;32m\u\e[0;97m@\e[0;31m\h \e[0;97m(\D{}) \w]\n# \033[0m"
|
||||
@ -135,6 +154,9 @@ fi
|
||||
PROG=tea source "$HOME/.config/tea/autocomplete.sh"
|
||||
PROG=pass source "$HOME/.local/bin/pass-completion.sh"
|
||||
which flux > /dev/null 2>&1 && . <(flux completion bash)
|
||||
if [ -f /src/share/bash-completion/completions/git ]; then
|
||||
source /src/share/bash-completion/completions/git
|
||||
fi
|
||||
|
||||
# Store history after every command
|
||||
shopt -s histappend
|
||||
@ -170,3 +192,9 @@ if [ -f '/home/tyler/google-cloud-sdk/path.bash.inc' ]; then . '/home/tyler/goog
|
||||
|
||||
# The next line enables shell command completion for gcloud.
|
||||
if [ -f '/home/tyler/google-cloud-sdk/completion.bash.inc' ]; then . '/home/tyler/google-cloud-sdk/completion.bash.inc'; fi
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
eval "$(opam env)"
|
||||
export PATH="$HOME/Projects/bin:$PATH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user