Skip to content

Instantly share code, notes, and snippets.

@ricardov03
Created July 4, 2022 08:53
Show Gist options
  • Select an option

  • Save ricardov03/bb3148b22815f50f8b310d232c8658a6 to your computer and use it in GitHub Desktop.

Select an option

Save ricardov03/bb3148b22815f50f8b310d232c8658a6 to your computer and use it in GitHub Desktop.
How to export a new directory into your Unix like OS $PATH.
# This is going to include the new directory in the Global Path of your OS.
# IMPORTANT: The default file name could change depending on the Shell you are using.
# Sample: With zshell, the default filename is .zprofile
export PATH="$PATH:/path/to/new/directory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment