Brick Shell is a small shell adapted from Bubble Shell written in Rust
Note: This shell has only been tested un Ubuntu, if you are running another OS you might have to make adjustments
Brick Shell currently supports the following features:
-
Chaining commands through pipes
-
A custom
lsimplementation -
Command history, which can be cleared using
clear-history -
Autocompletion using
TABfor files, directories and commonly used commandsNote: Commands get added to a list and are available for autocompletion upon restart of the shell
-
Hinting what the shell will autocomplete to
-
aliases using
alias [-p / -t] [name] "alias"Where -p indicates permanent aliases and -t only aliases for this session. -
Chaining commands by adding
&&betweem them
You can restart the shell and by that also reload aliases etc by using restart
If you don't have Rust installed, you can get it here
Once you have Rust installed just run cargo build to build the executable.
To use this shell, you need to do the following things:
-
run
bash move_shell.bashto copy the executable to/bin/ -
run
chshand enter/bin/brick_shellas your new shell path -
go into
/etc/passwdand change the line that looks like{user}:x:1000:1000:{user}:/home/{user}:/bin/{your active shell}to{user}:x:1000:1000:{user}:/home/{user}:/bin/brick_shell
({user} denotes the currently active username)
On Ubuntu if you want the shell to startup when you click your terminal do the following:
Right-click on the terminal icon -> Preferences -> Select a profile (your start profile should just be Unnamed) -> Command
Here check Run command as login shell and Run custom command instead of my shell
as the command you enter /bin/brick_shell