Get identifiers, paths, URLs and words from the previous command output and use them for the next command in xonsh shell.
BSD-2-CLAUSE License
Published by anki-code over 4 years ago
New parser algorithm creates more clearer tokens
Published by anki-code over 4 years ago
json
tokenizer renamed to dict
and support python dict
Published by anki-code over 4 years ago
Output search now works on any position of the command.
Published by anki-code over 4 years ago
$ VAR='/hello/from:/var'; echo ok
ok
$ <Alt+F>
VAR
/hello/from
/var
...
Published by anki-code over 4 years ago
JSON tokenizer now extract all keys and values:
$ echo '{"One": {"two":"three four", "six":7777}}'
{"One": {"two":"three four", "six":7777}}
$ <Alt+F>
One
two
three four
three
four
six
7777
Published by anki-code over 4 years ago
Reimplementation of tokenizer and generator to make it extendable:
_tokenizer_simple_splitter
- split by white spaces_generator_frame_stripping
- extract token from special characters_generator_env
- generate tokens from env
-like outputPublished by anki-code over 4 years ago
Environment variables support:
$ env | grep ^PATH=
PATH=/one/two:/three/four
$ ls fo<Alt+F>
$ ls /three/four
Published by anki-code over 4 years ago
f__
Published by anki-code over 4 years ago
XONSH_STORE_STDOUT
not used anymore. Now the output is stored only for last not empty command and in memory. It's more secure solution.Published by anki-code over 4 years ago