sqish/README.md
Justine 30cb3f9887 Can now cd to a directory containing spaces; entering a command reset
the history callback counter. Changed the exit prompt to be friendlier.
2023-02-20 18:34:42 +01:00

977 B

Sqish

Rust Shell. This is an attempt to create a simple shell in Rust, because why not.

TODO:

  • Aliases don't currently handle arguments. My alias "vless" does not work with "vless lib.rs"
  • A shortcut / implemented command to show all Hotkeys
  • git commit -m "message" does not work
  • Startup script section in sqishrc

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
  • 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 : Reruns command number 12 from history (Replace the number with anything)
  • !! : Appends the previous command to the current line