rushell

Crates.iorushell
lib.rsrushell
version0.2.2
sourcesrc
created_at2020-09-28 05:11:43.741122
updated_at2021-06-15 12:19:33.9919
description`rushell` is a POSIX compatible shell written by Rust language for Linux and MacOS.
homepage
repositoryhttps://github.com/hiking90/rushell
max_upload_size
id293592
size528,362
Jeff Kim (hiking90)

documentation

README

Rushell

rushell is a POSIX compatible shell written by Rust language for Linux and MacOS. It is still under development and it is not fully compatible with Bash.

Features

  • Suggestions
  • Two default fancy prompt
  • POSIX compatible shell (but not perfect yet)
  • Support bash style completer (completer and compgen commands, but not implemented full feature yet.)
  • Support git status prompt and alias of git commands

Config Folder

  • init script
    • $HOME/.config/rushell/init.sh
  • History
    • $HOME/.config/rushell/history

Prompt

Use PROMPT_STYLE environment in $HOME/.config/rushell/init.sh

PROMPT_STYLE=power

power prompt

PROMPT_STYLE=basic

basic prompt

Example init script

This example requires "bat", "exa" and "zoxide" packages.

export PATH=~/bin:~/.cargo/bin:/usr/local/bin:$PATH
PROMPT_STYLE=power
alias less=bat
alias ls=exa
eval "$(zoxide init posix --hook prompt)"

Related Open Source

rushell was started from nsh(https://github.com/nuta/nsh). And, it is heavily depend on forked linefeed(https://github.com/murarth/linefeed).

And, it uses a lot of open sources written by Rust.

Contributing

Please feel free to summit issues if you want to suggest features or if you find any critical bugs.

License

rushell is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

Commit count: 128

cargo fmt