Skip to content

Commit

Permalink
docs: add bash profile context
Browse files Browse the repository at this point in the history
resolves #939
  • Loading branch information
JanDeDobbeleer committed Sep 14, 2021
1 parent ebaa20e commit a549cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/install-customize-cmd.mdx
Expand Up @@ -49,7 +49,7 @@ When adjusted, reload your profile for the changes to take effect.
export_poshconfig "~/.mytheme.omp.json" json
```

Once you're done editing, adjust `~/.bashrc` to use your newly created theme.
Once you're done editing, adjust `~/.bashrc` (could be `~/.profile` or `~/.bash_profile` depending on your environment) to use your newly created theme.

```bash
eval "$(oh-my-posh --init --shell bash --config '~/.mytheme.omp.json')"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/install-shells.mdx
Expand Up @@ -53,7 +53,7 @@ source ~/.zshrc
</TabItem>
<TabItem value="bash">

Add the following to `~/.bashrc` (or `~/.profile` on MacOS):
Add the following to `~/.bashrc` (could be `~/.profile` or `~/.bash_profile` depending on your environment):

```bash
eval "$(oh-my-posh --init --shell bash --config ~/jandedobbeleer.omp.json)"
Expand Down

0 comments on commit a549cc8

Please sign in to comment.