Skip to content

Instantly share code, notes, and snippets.

@Jaid
Last active November 1, 2022 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaid/8e6f2105498f7f2bcff9822f38832c67 to your computer and use it in GitHub Desktop.
Save Jaid/8e6f2105498f7f2bcff9822f38832c67 to your computer and use it in GitHub Desktop.
Stub .bashrc for zsh main usage
#!/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
- target: .bashrc
userHome: true
backupExisting: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment