Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ Then add `nix-shell` to the plugins list in `~/.zshrc`.

If you have installed `zsh` using `nix` the plugins directory is readonly since it's inside of the nix store.
To get around this you can override the [`ZSH_CUSTOM` directory](https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#using-another-customization-directory).
Simply create a writable directory inside of your home directory (e.g. `$HOME/.config/oh-my-zsh`) and set `ZSH_CUSTOM` to that path inside of your `.zshrc` file.
Do so by setting the "custom" attribute in your oh-my-zsh Nix config:

```sh
ZSH_CUSTOM=$HOME/.config/oh-my-zsh
```nix
oh-my-zsh = {
custom = "/home/YOURUSERNAME/.config/oh-my-zsh";
};
```

After that simply install for `oh-my-zsh` as normal.
Expand Down