mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-26 13:55:28 +03:00
74f23a4980
Complete the support for catppucin-mocha. It looks like there's work for a better way to manage that ( https://github.com/catppuccin/catppuccin/discussions/2140 ) but this can help other people. |
||
---|---|---|
.. | ||
nu-themes | ||
screenshots | ||
.gitignore | ||
make.nu | ||
nupm.nuon | ||
README.md |
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
- install Nupm by following the Nupm instructions
- download the
nu_scripts
repository
git clone https://github.com/nushell/nu_scripts
- activate the
nupm
module withuse nupm
- install the
nu-scripts
package
nupm install --path --force nu_scripts
Note
installing the
nu-scripts
package will installnu-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.