86 Commits

Author SHA1 Message Date
Justine Pelletreau
ad0dde7232 Autocomplete to longest string when searching commands 2023-12-01 11:58:10 +01:00
Justine Pelletreau
56e5d4e63d Improved sudo handling in autocomplete 2023-11-22 14:14:13 +01:00
Justine Pelletreau
890197e12c Improved hk, renamed the project to sqsh 2023-11-19 12:45:26 +01:00
Justine Pelletreau
57c13fc15b Added the hk command 2023-11-17 18:07:03 +01:00
Justine Pelletreau
9cba5cfde7 Better handling of config at load 2023-11-17 16:30:10 +01:00
Justine Pelletreau
0d57b7a40c Autocompleting to command when starting with sudo or watch 2023-11-16 18:19:37 +01:00
Justine Pelletreau
cf6a9961d1 autocomplete fix ? 2023-11-16 16:46:28 +01:00
Justine Pelletreau
165f4a3a08 Autocomplete fix attempt 2023-11-16 15:32:42 +01:00
Justine
f333069a32 Fixed the ./ bug 2023-05-01 13:42:56 +02:00
Justine
09cea688b7 Added export command 2023-03-04 20:17:22 +01:00
Justine
5743678e23 Fixed bug on incorrect command, missing carriage return on cd 2023-03-04 19:56:50 +01:00
Justine
643c69623c Forget to add the config part 2023-03-04 14:28:20 +01:00
Justine
68dc23a15e Added a dirty implementation of env var setting 2023-03-04 14:19:01 +01:00
Justine Pelletreau
1eb1b239c2 Reformatted the command execution part 2023-03-02 14:49:34 +01:00
Justine Pelletreau
488c9c6e0a Started to implement CmdOutput - keep going... 2023-03-02 11:46:21 +01:00
Justine
4c64bb8038 Reformatted the code to use elems 2023-03-01 17:40:03 +01:00
Justine
9e1d0dfcde Added elems to store terminal variables 2023-03-01 17:00:43 +01:00
Justine
aec1641024 Some code reformat 2023-03-01 00:37:05 +01:00
Justine Pelletreau
df6aee4a49 Implement screen clearing with Ctrl+l 2023-02-24 12:17:04 +01:00
Justine Pelletreau
0656f163fd Added Italic and Bold to prompt, removed some newlines when autocomplete 2023-02-24 11:59:36 +01:00
Justine
d22e34c8bd Now handling double quotes properly 2023-02-23 11:53:49 +01:00
Justine
6f63294857 "Ctrl + P and O more or less do the same thing as Ctrl + Right and left
Also remove a warning about a useless mut"
2023-02-22 16:03:51 +01:00
Justine Pelletreau
809a7e5f71 Fixed the situation where using an alias inside a hotkey 2023-02-21 17:26:04 +01:00
Justine Pelletreau
0bf2c601c3 Added an init line in sqishrc 2023-02-21 17:02:10 +01:00
Justine Pelletreau
c06afb410c History callbacks now allow piping 2023-02-21 16:44:31 +01:00
Justine Pelletreau
e4101883e1 Aliases now take arguments 2023-02-21 16:08:42 +01:00
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
Justine
981cebea5b Can now grep the history :D 2023-02-20 18:24:01 +01:00
Justine
d768ee38b2 Ctrl+C resets the current history number 2023-02-20 17:59:21 +01:00
Justine
91955d1252 Change sqishrc.yaml to sqishrc 2023-02-20 17:42:01 +01:00
Justine
57476671ed Now handling CtrlC properly 2023-02-20 14:41:54 +01:00
Justine
40a61e7e68 Autocomplete is now case insensitive 2023-02-20 14:12:25 +01:00
Justine
13a730eca1 Fixed up/down arrows 2023-02-20 01:03:13 +01:00
Justine
c7e9309a34 Fixed line return for cd 2023-02-20 00:27:46 +01:00
Justine
a552eac25e Removed a warning about unused import 2023-02-20 00:17:10 +01:00
Justine
c9eb3b90df Fixed line returns 2023-02-20 00:16:24 +01:00
Justine
0f6bd3337a Fixed history and cd without args 2023-02-19 20:32:17 +01:00
Justine
2a0866ab64 v1, champagne 2023-02-19 19:41:06 +01:00
Justine
08f80a57c1 Aliases work, Alt + . works, README update 2023-02-19 19:28:01 +01:00
Justine
3f4d13769e Hotkeys now take \n as a press on enter 2023-02-19 15:47:42 +01:00
Justine
31b5fea2af Fixed history filename 2023-02-18 14:37:59 +01:00
Justine
8c0528f92c Fixed history command 2023-02-18 14:37:14 +01:00
Justine
acfce7b390 Ctrl+U cancels the line instead of Ctrl+T, which is more common 2023-02-18 13:37:50 +01:00
Justine
506007e71b Hotkeys babeeee 2023-02-18 13:34:26 +01:00
Justine Pelletreau
6abe6d886d Now reading aliases and hotkeys 2023-02-17 18:12:39 +01:00
Justine
344f14c86f Fixed autocomplete for the case where search string gives nothing on a file search 2023-02-08 23:46:19 +01:00
Justine
cfc052a65a RGB support 2023-02-07 18:55:04 +01:00
Justine
e7ecb6a7d0 Some more autocomplete improvs 2023-02-07 02:04:38 +01:00
Justine
aa9cbb323d Fiddled more with autocompletion 2023-02-07 01:34:43 +01:00
Justine
ac775f8ce0 sqishrc ok 2023-02-06 23:19:51 +01:00