aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 291f0ddc8581dbbb7f8f64dd88302c87e4abbac3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# pish

This is a shell written in Rust.

## Building it
- Have rust/cargo installed
- `rustup override set nightly`
- `cargo build`

## Trying it out
- `mkdir -p ~/.config/pish/`
- `cp src/profile ~/.config/pish/.pishrc`
- `cargo run`

## Installing it
- first test it out like described in the section above - a malformed or missing `.pishrc` file makes the shell essentially unusable!
- put the binary at a path that is useful to you, like `/usr/bin/pish`
- allow the shell to be used for login by putting `/usr/bin/pish` into `/etc/shells`
- adjust your shell in `/etc/passwd`