Last active
November 1, 2022 08:28
-
-
Save Jaid/8e6f2105498f7f2bcff9822f38832c67 to your computer and use it in GitHub Desktop.
Stub .bashrc for zsh main usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -f $HOME/.env ]]; then | |
source <(bash ~/.env) | |
fi | |
if [[ -f $HOME/.secrets ]]; then | |
source <(bash ~/.secrets) | |
fi | |
if [[ -f $HOME/.path ]]; then | |
source <(bash ~/.path) | |
fi | |
if [[ $TERM_PROGRAM = vscode ]]; then | |
source "$(code --locate-shell-integration-path bash)" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- target: .bashrc | |
userHome: true | |
backupExisting: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment