Skip to content

jwillikers/nushell-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nushell Config

My configuration for Nushell.

Usage

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.

Set up

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.

  1. 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
  2. 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
  3. Install the carapace-bin, nu, and starship packages.

    sudo rpm-ostree install carapace-bin nu starship
  4. Reboot for the changes to take effect.

    sudo systemctl reboot

Install

Install these settings with the following instructions.

  1. Clone this repository.

    git -C ~/Projects clone git@github.com:jwillikers/nushell-config.git
  2. Create the ~/.config/nushell directory.

    mkdir ~/.config/nushell
  3. Symlink the configuration files in the nushell directory to the Nushell configuration directory.

    ln --relative --symbolic --force ~/Projects/nushell-config/nushell/*.nu ~/.config/nushell/
  4. Follow the install instructions in the Starship config repository to configure the prompt.

  5. Open a new shell to complete the installation.

Code of Conduct

Please refer to the project’s Code of Conduct.

License

This repository is licensed under the GPLv3. Please refer to the bundled license.

© 2023-2024 Jordan Williams

Authors

About

My configuration for Nushell

Topics

Resources

License

Unknown, OFL-1.1 licenses found

Licenses found

Unknown
LICENSE.adoc
OFL-1.1
LICENSE_OFL.txt

Stars

Watchers

Forks