a cute shell thingy that written in rust

Related tags

Command-line nysh
Overview

english |日本語

README LOGO

nysh | nyu shell

Contributor List

a cute shell thingy that written in rust

👥 Contributors

🇺🇸 english

dependancies for build

- rust:nightly 

installation

run this command below:

chmod +x scripts/install.sh
./scripts/install.sh

default, this script add path both bash/zsh & fish

how to launch

nysh will be installed into ~/.nysh, so path through it or...

  • nysh

    launch nysh on ur main shell

buildin commands

  • help

    help tool

  • la

    equals to ls -al

  • cd

    change directory

  • ..

    equals to cd ..

  • exit

    exit the shell really safely

doesn't work?

try importing them into each shell settings:

bash | zsh

~/.profile

export PATH="~/.nysh" : "$PATH" 

fish

~/.config/fish/conf.d/nysh.fish

set PATH ~/.nysh : "$PATH" 

development with a docker

1. launch the docker

# build go image
sudo docker-compose build
# launch image on background process
sudo docker-compose up -d
# exec go to command using docker envinroment
sudo docker-compose exec nysh cargo run

🇯🇵 日本語

ビルドのための依存パッケージ

- rust:nightly 

インストール方法

以下のコマンドを実行:

chmod +x scripts/install.sh
./scripts/install.sh

~/.nyshに実行可能バイナリが投棄されます

デフォルトでは bash zsh & fish にパスが通ります

起動方法

nyshは自動的に~/.nyshに実行可能バイナリが投棄されます。よって、その場所をパスに通すもしくは...

  • nysh

    おてもとのシェルでこれを実行するとnyshが起動します

nyshお手製コマンド

  • help

    ヘルプの表示

  • la

    ls -al

  • cd

    ディレクトリの変更

  • ..

    cd ..

  • exit

    安全にシェルを終了

動きません!

あなたのシェルに以下の記述を手動でおねがいします:

bash | zsh

~/.profile

export PATH="~/.nysh" : "$PATH" 

fish

~/.config/fish/conf.d/nysh.fish

set PATH ~/.nysh : "$PATH" 

ドッカーを使った開発

1. ドッカーを立ち上げます

# イメージをビルド
sudo docker-compose build
# バックグラウンドでイメージを立ち上げる
sudo docker-compose up -d
# go run *.go をコンテナ内で実行する
sudo docker-compose exec nysh cargo run
You might also like...
A "Shell" made in Rust

Ironclad-shell A "shell" command interpreter made in rust. First things first This is my first time posting to reddit and my first time using rust (al

Shell scripting that will knock your socks off
Shell scripting that will knock your socks off

atom Shell scripting that will knock your socks off. NOTE: Click the image above for a video demonstration.

A new type of shell
A new type of shell

A new type of shell

🐢 Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands
🐢 Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands

Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.

A shell for research papers

Reason: A Shell for Research Papers Did I ever read this paper? Which OSDI 2021 papers did I read? Which ones have the word 'Distributed' in their tit

Explore from the safety of your shell
Explore from the safety of your shell

turtlescan Explore from the safety of your shell Installation: cargo install turtlescan tui Starts a little tui which connects to your JSON-RPC server

dune - A shell by the beach!
dune - A shell by the beach!

dune - A shell by the beach!

A command-line shell like fish, but POSIX compatible.
A command-line shell like fish, but POSIX compatible.

A command-line shell like fish, but POSIX compatible.

Zash - A Zuper Awesome Shell
Zash - A Zuper Awesome Shell

Zash - A Zuper Awesome Shell Welcome to zash, its activily being developed and is not near a stable release. Installation Arch: yay -S zash Paru seem

Owner
奥田 龍馬
奥田 龍馬
A cute and smart arm warmer sleeve ^_^

LuLuu! A cute and smart arm-warmer sleeve with a 1.3" full color TFT display built into the back of the hand ^_^ Hardware Runs on a RaspberryPi RP2040

Gray Olson 3 Oct 17, 2023
The joker_query is a cute query builder, with Joker can implement most complex queries with sugar syntax

joker_query The joker_query is most sugared query builder of Rust, with joker_query can implement most complex queries with sugar syntax Features − (O

DanyalMh 8 Dec 13, 2023
A Unix shell written and implemented in rust 🦀

vsh A Blazingly fast shell made in Rust ?? Installation Copy and paste the following command and choose the appropriate installtion method for you. Yo

XMantle 89 Dec 18, 2022
Toy Shell Written in Rust

This is a simple toy shell written in Rust language with porpose of learning system programmim, and in a specific theme, process management.

Júlio César de Brito Gardona 4 May 22, 2022
A unix shell written in rust

rust-shell a unix shell written in rust Features Main features has .rc file (in ~/.rstshrc) has syntax highlighting fish-like autosuggestion emacs edi

matan h 4 Jan 10, 2023
A Rust-based shell script to create a folder structure to use for a single class every semester. Mostly an excuse to use Rust.

A Rust Course Folder Shell Script PROJECT IN PROGRESS (Spring 2022) When completed, script will create a folder structure of the following schema: [ro

Sebastián Romero Cruz 1 Apr 10, 2022
A shell Made in rust 🦀

vsh A Blazingly fast shell made in Rust ?? Why make another shell? Because the current leading rust shell is very opinionated, atleast to me. As it br

null 89 Dec 18, 2022
A command line interface meant to bridge the gap between Rust and shell scripting

clawbang A command line interface meant to bridge the gap between Rust and shell scripting. Intended for use with HEREDOCs and shebangs: $ clawbang <<

Chris Dickinson 52 Mar 25, 2022
Safe Unix shell-like parameter expansion/variable substitution via cross-platform CLI or Rust API

Safe Unix shell-like parameter expansion/variable substitution for those who need a more powerful alternative to envsubst but don't want to resort to

Isak Wertwein 4 Oct 4, 2022
🍬 shell-candy is a library that wraps Rust's `std::process::Command`

?? shell-candy is a library that wraps Rust's `std::process::Command`, providing a functional mechanism for handling stdout/stderr streams of spawned tasks..

Avery Harnish 6 Oct 25, 2022