sqish/README.md
2023-02-22 14:56:51 +01:00

29 lines
1.0 KiB
Markdown

# Sqish
Rust Shell. This is an attempt to create a simple but usable shell in Rust, because why not.
TODO:
* git commit -m "message" does not work
* Allow redirecting >> to the end of a file ?
* Implement Ctrl+left and right to jump from word to word
## sqishrc (Config)
See the included sqishrc file included, and copy it as ~/.sqishrc
## Built-in shortcuts
### As Hotkeys
Some shortcuts are built in. They may be unique to Sqish or be copied from Zsh for example.
* Ctrl+Q or Ctrl+D : Quits the shell immediatly
* Ctrl+U : Clears currently written line
* Alt+. : Appends the last word from previous command
* Alt+! : Show a list of the user-configured hotkeys
* Ctrl+A : Jumps to the end of the line
* Ctrl+E : Jumps to the start of the line
* Ctrl+C : Clears the current line and starts a new one
### In Text:
* !12 : Returns command number 12 from history (Replace the number 12 with any number from history). You can add commands after it, like: "!12 | grep squirrel"
* !! : Appends the previous command to the current line. Same principle as !12.