A simple, semi-toy Unix shell written in Rust.
Note: Rust environment is needed for installation
You can try cicada
out without installing it by checking out the repository
and run cargo run
in its root directory.
$ make install
This will install cicada
under your /usr/local/bin
. Use sudo
if needed.
Appending /usr/local/bin/cicada
into your /etc/shells
, then run
$ chsh -s /usr/local/bin/cicada
```
$ ls Desktop Documents Downloads Dropbox Movies Music
$ man awk | awk -F "[ ,.\"]+" '{for(i=1;i<=NF;i++)A[$i]++}END{for(k in A)print k, A[k]}' | sort -k2nr | head -n8 the 70 of 40 a 27 is 27 and 24 are 21 in 21 to 21
$ ls file-not-exist 2>&1 | wc > e.txt $ cat e.txt 1 7 46
$ 1 + 2 * 3 - 4 3 $ (1 + 2) * (3 - 4) / 8.0 -0.375 ```
Cicada use RC file: "~/.cicadarc". Currently only support ENVs and aliases:
```
export RUSTBACKTRACE='full' export LESS="-R" export COPYFILEDISABLE=1
export PATH="/usr/local/bin:$PATH"
export HISTORY_FILE=/Users/mitnk/.local/share/xonsh/xonsh-history.sqlite
alias ls="ls -G" alias ll="ls -lh" ```
see doc (to add)
Ctrl-Z
, fg
, bg
etc)