sqishrc ok

This commit is contained in:
Justine
2023-02-06 23:19:51 +01:00
parent 2dd83d0097
commit ac775f8ce0
7 changed files with 212 additions and 77 deletions

View File

@ -1,11 +1,12 @@
# Sqish
Rust Shell. This is an attempt to create a simple shell in Rust, because why not.
!!! LOOK into the pty crate to handle pseudoterminals such as in top or ssh
TO DO:
* Add prompt RGB support
* Add hotkeys in sqishrc (albeit in the same manner as per colors, the conf Struct already has an hashmap field for it)
* Add aliases in sqishrc (same old same old)
## sqishrc (Config)
See the included sqishrc.yaml.example file included, and copy it as ~/.sqishrc.yaml
My starting point is [this article](https://www.joshmcguigan.com/blog/build-your-own-shell-rust/) which is excellent. I will start with the final form of a shell given in the article and try to reformat it:
## To fix
* Autocomplete : when nothing found, return input
* Autocomplete : Weird permission issues sometimes (ignore unallowed files and folders)
* Bug with find_common_chars (if I type Cargo.t and press tab, we can't choose between Cargo.toml and Cargo.lock)