mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-15 18:13:08 +00:00
chore(bash): update shellrc files as usual
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
parent
56ae595504
commit
ab3e569190
7 changed files with 83 additions and 9 deletions
|
@ -1,16 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
# # shellcheck disable=SC2046,SC1091,SC2155
|
||||
|
||||
# Stage 0: Source dotenv stuff from homedir
|
||||
source "$HOME/.env"
|
||||
if [[ -f "$HOME/.env.local" ]]; then
|
||||
source "$HOME/.env.local"
|
||||
LOCAL_DOTENV_LOADED=true
|
||||
export LOCAL_DOTENV_LOADED=true
|
||||
fi
|
||||
|
||||
if [[ $TERMUX ]]; then
|
||||
export SSH_AGENT_=todo
|
||||
elif command -v keychain >> /dev/null; then
|
||||
export KEYCHAIN_PATh=$(command -v keychain)
|
||||
export KEYCHAIN_PATH=$(command -v keychain)
|
||||
eval $(keychain --agents gpg,ssh --eval)
|
||||
fi
|
||||
|
||||
|
@ -19,4 +20,5 @@ if [ -f "$HOME/.config/localconfig.env" ]; then
|
|||
. "$HOME/.config/localconfig.env"
|
||||
fi
|
||||
|
||||
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|
||||
# # shellcheck source=./.bashrc
|
||||
source ./.bashrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue