My configuration for Nushell.
This repository contains the configuration files for Nushell. This file is synchronized using this Git repository. The following instructions detail how to use and sync this repository.
Some packages need to be installed before using this configuration. My Nushell configuration relies on a couple of other utilities: carapace-bin for completions and Starship for the prompt configuration. The following instructions install these along with Nushell itself.
-
Add the
rsteube
user’s RPM repository to your system./etc/yum.repos.d/rsteube-fury.repo[fury] name=Gemfury Private Repo baseurl=https://yum.fury.io/rsteube/ enabled=1 gpgcheck=0
-
Add the
starship
COPR repository to your system.curl --location https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora/atim-starship-fedora.repo \ | sudo tee /etc/yum.repos.d/atim-starship-fedora.repo
-
Install the
carapace-bin
,nu
, andstarship
packages.sudo rpm-ostree install carapace-bin nu starship
-
Reboot for the changes to take effect.
sudo systemctl reboot
Install these settings with the following instructions.
-
Clone this repository.
git -C ~/Projects clone git@github.com:jwillikers/nushell-config.git
-
Create the ~/.config/nushell directory.
mkdir ~/.config/nushell
-
Symlink the configuration files in the
nushell
directory to the Nushell configuration directory.ln --relative --symbolic --force ~/Projects/nushell-config/nushell/*.nu ~/.config/nushell/
-
Follow the install instructions in the Starship config repository to configure the prompt.
-
Open a new shell to complete the installation.
Please refer to the project’s Code of Conduct.