Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Support for Oh My Zsh and other configuration frameworks for ZSH (shell) #355

Open
Heus-Sueh opened this issue Feb 9, 2024 · 1 comment

Comments

@Heus-Sueh
Copy link

Is your feature request related to a problem? Please describe.
The problem I'm facing is when trying to install a plugin or theme for zsh and always having to open the .zshrc as sudo because it is read-only

Describe the solution you'd like
Support for oh my zsh and other shell configuration frameworks

Describe alternatives you've considered

  • maybe fleek edit shell-config or another command that allows you to edit the current shell configuration without having to use sudo all the time
  • an allow-list of apps or scripts that are allowed to modify .zshrc

Additional context

@bdols
Copy link

bdols commented Mar 16, 2024

I'm not a maintainer, but I just put this in user.nix:

       programs.zsh = {
                enable = true;
                envExtra = ''
                        export EDITOR='nvim'
                        export VISUAL='nvim'
                        export LESS=FRX
                        export BAT_STYLE=plain
                '';
                oh-my-zsh = {
                        enable = true;
                        plugins = [ "git" "gitfast" ] ;
                        extraConfig = ''
                                autoload -Uz compinit
                                compinit

                                autoload -U select-word-style
                       '';
                };

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants