Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make anything adding to .zshrc or .bash_profile or .bashrc idempotent #89

Open
karlhorky opened this issue Aug 1, 2024 · 0 comments
Open
Assignees

Comments

@karlhorky
Copy link
Member

karlhorky commented Aug 1, 2024

idempotent = can be run multiple times without leading to duplicate lines in like this:

# pnpm
export PNPM_HOME="/Users/omerszerer/Library/pnpm"
case ":$PATH:" in
  *":$PNPM_HOME:"*) ;;
  *) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end

export PGDATA=/opt/homebrew/var/postgresql@16
export PSQL_PAGER="less --chop-long-lines --header 1"

export PGDATA=/opt/homebrew/var/postgresql@16
export PSQL_PAGER="less --chop-long-lines --header 1"
export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"

export PGDATA=/opt/homebrew/var/postgresql@16
export PSQL_PAGER="less --chop-long-lines --header 1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants