Skip to main content

Modern shell for Developers

Project description

Screenshot

Nersh (Nercone Shell)

Modern shell for Developers

Requiments

Installation

using uv (recommended)

uv tool install nercone-shell

using pip3

System Python:

pip3 install nercone-shell --break-system-packages

Venv Python:

pip3 install nercone-shell

Update

using uv (recommended)

uv tool install nercone-shell --upgrade

using pip3

System Python:

pip3 install nercone-shell --upgrade --break-system-packages

Venv Python:

pip3 install nercone-shell --upgrade

Usage

nersh

Configuration

The configuration file is usually located at ~/.nersh/config.json. If the file does not exist when Nersh starts, it will be automatically created.

The following is the default configuration file:

{
    "customization": {
        "show_version": true,
        "accent_color": "blue",
        "override_env": {
            "SHELL": "None"
        },
        "autoruns": [
            "<path to home directory>/.nersh/autostart.sh"
        ]
    },
    "compatibility": {
        "report_invisible_characters": false
    },
    "experimental": {
        "command_history": false
    }
}

Customization

These settings customize the behavior of Nersh.

  • show_version: Sets whether to display version information at startup.
  • accent_color: Accent color used for prompts etc.
  • override_env: Sets the environment variables you want to set at startup in dictionary format.
  • autoruns: Sets the shell scripts you want to run at startup in array format.

Compatibility

These settings allows Nersh to function properly in special environments.

  • report_invisible_characters: A Boolean value that enables reporting of invisible characters to readline, which is necessary in some environments, such as Linux without a GUI (TUI only).

Experimental

The Experimental setting is used to enable experimental features. It enables new features that are incomplete, have many bugs, or have unfixable bugs. Some features are difficult to completely disable, so they are effectively disabled. (Bugs in external libraries/modules, etc.)

  • command_history The readline command history feature.
    • It was marked as an experimental feature because there were frequent issues with the layout collapsing when retracing the history.
    • Since cannot to find a way to disable the history feature in the readline module, it is effectively disabled by clearing the history after each input.

PyPI - Version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nercone_shell-0.4.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nercone_shell-0.4.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file nercone_shell-0.4.1.tar.gz.

File metadata

  • Download URL: nercone_shell-0.4.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nercone_shell-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4a226d9b1ee6f1ce63cdc2ca1665fe6df56b0690153a08d72a1571cd3988218b
MD5 f3d1654d105abb80f8e5cbf4e97c0d02
BLAKE2b-256 efad5bf345b16b92a6544bd291fb2e819630626844a563d36fad780fb27f2393

See more details on using hashes here.

File details

Details for the file nercone_shell-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: nercone_shell-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nercone_shell-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b512852e1249d5012a5d3b9a424635cc6d6cc13916ad10da6ca66396f4730852
MD5 e33288de0f3967161f4eca89ca8e61d9
BLAKE2b-256 976fa1deb852e1e032b09f5c16788b37365fbce0ab8a2dd8867e8a5a69cb3143

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page