-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
make the themes a module #648
Conversation
related to - nushell/nu_scripts#648 will require to install `nu-scripts` with Nupm from nushell/nu_scripts#648.
seems reasonable |
note that there will be more renaming like this if we go that route 馃槒 |
I think you can just rename |
yup, that's the biggest part of this PR, it's just an
i wouldn't do that for now 馃憖 use nu-themes/themes/nushell-dark.nu 馃 |
I see, yeah, it makes sense to access the files directly. I was just wondering why not have simply |
馃憤
because there are not only themes in |
may we land this as an experiment? 馃槆 |
Ah, OK, sorry, I'm dumb :-D . I looked wrong and somehow thought you added an extra |
that's a very good point and i don't like it 馃 i've tried a fix in a Nupm PR just above.
mv nu-themes/ themes
mv themes/themes/ themes/nu-themes
the new Nupm would install the |
additional nice thing is that one would have to run use nu-themes/nushell-dark.nu instead of use nu-themes/themes/nushell-dark.nu now 馃構 |
Yeah, changing the |
commands used ```nushell mv nu-themes/ themes mv themes/themes/ themes/nu-themes ```
done in 27e81f4 馃槈 let's land this and see how it goes 馃コ |
i've tried to |
related to
description
with nushell/nupm#33, Nupm can now install separate modules from a single package 馃コ
the
nu_scripts
are a package and looks like they contain a few potential standalone modules:this PR is a proposal to move
themes/
tonu-themes/
and add./nu-themes/
as a module to thenu-scripts
package.that way when running
nupm install --path .
in the root of thenu_scripts
, anu-themes
module will be installed in$env.NUPM_HOME/modules
.then one can run
and next get the theme with
nushell-dark