nu_scripts/themes
Antoine Stevan 8add04deb8
update the nu-themes readme (#652)
related to
-
https://discord.com/channels/601130461678272522/601130461678272524/1167879553918705705

## description
this PR updates the README of the `nu-themes` module in the `nu-scripts`
package:
- fix the path with `themes/nu-themes/` instead of `themes/themes/`
- adds some instructions to use `nupm`

> **Note**
> see the [new README
here](https://github.com/amtoine/nu_scripts/tree/update-nu-themes-readme/themes#use-a-colorscheme)
2023-10-29 07:55:13 -05:00
..
nu-themes make the themes a module (#648) 2023-10-23 18:25:04 +02:00
screenshots FEATURE: add catppuccin-mocha theme (#601) 2023-09-12 18:20:16 -05:00
.gitignore FEATURE: allow to run themes/make script from anywhere (#499) 2023-05-17 13:10:43 -05:00
make.nu add missing colors to the themes (#520) 2023-06-02 13:05:20 -05:00
README.md update the nu-themes readme (#652) 2023-10-29 07:55:13 -05:00

Nushell themes

Credit to @lemnos and all contributors.

Use a colorscheme

The manual way

Currently, the theme change has to be a bit manual. To have access to the list of all the themes,

ls ./themes/nu-themes

To use the dracula theme for instance, please run

use ./themes/nu-themes/dracula.nu
$env.config = ($env.config | merge {color_config: (dracula)})

The theme should be activated!

Using Nupm

git clone https://github.com/nushell/nu_scripts
  • activate the nupm module with use nupm
  • install the nu-scripts package
nupm install --path --force nu_scripts

Note

installing the nu-scripts package will install nu-themes and other modules

  • now, add the following in your config
use nu-themes/nushell-dark.nu
$env.config.color_config = (nushell-dark)

Screenshots

Here are screenshots of our themes.