ublue-os / fleek

[deprecated] Own your $HOME
https://getfleek.dev
Apache License 2.0
831 stars 27 forks source link

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

Open Heus-Sueh opened 9 months ago

Heus-Sueh commented 9 months ago

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

Additional context

bdols commented 8 months ago

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
                       '';
                };