Modern shell for Developers
Project description
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_historyThe 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nercone_shell-0.4.0.tar.gz.
File metadata
- Download URL: nercone_shell-0.4.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8fbb8ab67d6b19feca756218f26d9def2b638d2f54bcd48ba80959face68f2c
|
|
| MD5 |
04200e6cbd5c17fc61825bdcbf440971
|
|
| BLAKE2b-256 |
6b7260830070cfa1f0bcb2565414cf55eb836f17de12d8f1d4fc62273e2e84cf
|
File details
Details for the file nercone_shell-0.4.0-py3-none-any.whl.
File metadata
- Download URL: nercone_shell-0.4.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da3f13df084aaa2d5406b0683ed91b805517219f804bea4c078d0c8df87cc101
|
|
| MD5 |
4cfb056987ca72405c6e9ec3345b575f
|
|
| BLAKE2b-256 |
ef34540b65eb4603681d7173dfae797f19148ec5e42b3dddd6f1ba56d9d7a791
|