ion issueshttps://gitlab.redox-os.org/redox-os/ion/-/issues2021-11-25T17:32:58Zhttps://gitlab.redox-os.org/redox-os/ion/-/issues/981Add HISTTIMEFORMAT variable to allow custom history date formatting2021-11-25T17:32:58ZPerry ThompsonAdd HISTTIMEFORMAT variable to allow custom history date formattingIt would be nice to have some sort of way to use the timestamps saved by HISTORY_TIMESTAMP. In Bash, I use `HISTTIMEFORMAT='%F %T '` and that gives a nicely formatted history with timestamp, like:
188296 2020-10-17 18:42:47 vim ....It would be nice to have some sort of way to use the timestamps saved by HISTORY_TIMESTAMP. In Bash, I use `HISTTIMEFORMAT='%F %T '` and that gives a nicely formatted history with timestamp, like:
188296 2020-10-17 18:42:47 vim .config/ion/initrc
188297 2020-10-17 18:50:26 historyunplannedhttps://gitlab.redox-os.org/redox-os/ion/-/issues/998vi-mode: `e` does not work properly2021-08-31T08:28:31Zmseravallivi-mode: `e` does not work properlyin VI normal mode the `e` navigation does not work properly, it misses the last character.
How to reproduce:
```
[input from keyboard: ESC i l o r e m SPACE i p s u m]
$ lorem ipsum
[input from keyboard: ESC 0 d e]
$ m ipsum
```
Exp...in VI normal mode the `e` navigation does not work properly, it misses the last character.
How to reproduce:
```
[input from keyboard: ESC i l o r e m SPACE i p s u m]
$ lorem ipsum
[input from keyboard: ESC 0 d e]
$ m ipsum
```
Expected result ` ipsum`
This happens as well if I try to change the word:
```
[input from keyboard: ESC i l o r e m SPACE i p s u m]
$ lorem ipsum
[input from keyboard: ESC 0 c e h e l l o]
$ hellom ipsum
```
Expected result `hello ipsum`Ion Shell v1.0.0https://gitlab.redox-os.org/redox-os/ion/-/issues/929cdpath (cd/autocomplete to specified directories from anywhere)2021-06-03T10:25:35Zunrelentingtechcdpath (cd/autocomplete to specified directories from anywhere)In zsh, you can set e.g. `cdpath=(~/src/github.com/myfreeweb)` and then from any directory you can type `dotfiles` to cd to `~/src/github.com/myfreeweb/dotfiles`, and autocompletion would offer these directories (subdirectories of anythi...In zsh, you can set e.g. `cdpath=(~/src/github.com/myfreeweb)` and then from any directory you can type `dotfiles` to cd to `~/src/github.com/myfreeweb/dotfiles`, and autocompletion would offer these directories (subdirectories of anything on `cdpath`) anywhere too.unplannedhttps://gitlab.redox-os.org/redox-os/ion/-/issues/845Better word by word navigation2021-06-01T11:48:56ZDEVELOPER43Better word by word navigationWhen using `Alt+f` and `Alt+b` for word by word navigation, ion does not detect that special characters are not a part of words. also I think that `Ctrl + Left` for moving the cursor left word by word and `Ctrl + Right` for moving the cu...When using `Alt+f` and `Alt+b` for word by word navigation, ion does not detect that special characters are not a part of words. also I think that `Ctrl + Left` for moving the cursor left word by word and `Ctrl + Right` for moving the cursor right word by word is more ergonomic/supplementary than the current `Alt + b/f`Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/928auto pushd mode (ability to customize try_cd)2021-03-19T16:30:53Zunrelentingtechauto pushd mode (ability to customize try_cd)In zsh, it is possible to `setopt auto_pushd`, which turns ordinary `cd` — including implicit/auto cd (!) — into pushd. Would be very useful to have the ability to pushd when just typing the directory name only in ion.In zsh, it is possible to `setopt auto_pushd`, which turns ordinary `cd` — including implicit/auto cd (!) — into pushd. Would be very useful to have the ability to pushd when just typing the directory name only in ion.https://gitlab.redox-os.org/redox-os/ion/-/issues/967Multi-line strings in REPL not working2021-01-08T00:16:27ZAntonio Juan QuerolMulti-line strings in REPL not workingThanks for creating this nice and fast shell, I'm new and trying to use it, following the manual I arrive to this point:
[Multi-line strings](https://doc.redox-os.org/ion-manual/html/misc/05-multiline-strings.html) on issue #241 https:/...Thanks for creating this nice and fast shell, I'm new and trying to use it, following the manual I arrive to this point:
[Multi-line strings](https://doc.redox-os.org/ion-manual/html/misc/05-multiline-strings.html) on issue #241 https://gitlab.redox-os.org/redox-os/ion/issues/241, ii is implemebted for both rpl and scripting, but I use it with (starship), but I enanble and disable it, and I'm getting this error:
toni:~/learn/rust/ion# echo "This is first line
ion: syntax error: unterminated double quote
I tests it whith/without starship, inside emacs with vterm, and from an ion script(it works in this case):
![Captura_de_pantalla_2020-06-03_a_las_9.46.06__2_](/uploads/e9a81456912ebf8ff7c4ecaea34a6569/Captura_de_pantalla_2020-06-03_a_las_9.46.06__2_.png)Ion Shell v1.0.0https://gitlab.redox-os.org/redox-os/ion/-/issues/934Aliases following a subexecutor do not work2020-12-25T02:34:08Zcinerea0Aliases following a subexecutor do not workAttempting to execute an aliased command prefaced by `sudo` or `doas` does not work like how it does in other shells. The following aliases have been set in ion's initrc:
* alias ls = "ls --color"
* alias sudo = "sudo "
* alias doas =...Attempting to execute an aliased command prefaced by `sudo` or `doas` does not work like how it does in other shells. The following aliases have been set in ion's initrc:
* alias ls = "ls --color"
* alias sudo = "sudo "
* alias doas = "doas "
* alias vpm = "vpm --color=yes"
* alias vsv = "vsv -c yes"
These are the results, with the first picture being the expected output that I get from zsh and the second picture being the output I get from ion:
![zsh-color](/uploads/083a4cb9b06b8a83a5960bb1e1be862b/zsh-color.png)
![ion-color](/uploads/aa92b0fe3b053307830b66d6e8db6c90/ion-color.png)
Bizarrely, ion works perfectly when it is running inside tmux:
![ion-color2](/uploads/032de7ad22e5ed16ebb3c4bd2a2fdf5c/ion-color2.png)https://gitlab.redox-os.org/redox-os/ion/-/issues/940Ctrl+W in vi mode doesn't erase the word before the cursor2020-12-13T00:46:37ZÉrico Nogueira RolimCtrl+W in vi mode doesn't erase the word before the cursorHey there! In vi mode, Ctrl+W doesn't have any effect, even though it has the intended effect in Emacs mode (erasing the word behind the cursor).Hey there! In vi mode, Ctrl+W doesn't have any effect, even though it has the intended effect in Emacs mode (erasing the word behind the cursor).Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/971Disabling autosuggest2020-12-13T00:45:40Zcinerea0Disabling autosuggestCurrently, I do not see any way in the documentation to disable the autosuggestion feature. Is this planned for the future? Additionally, if this feature is planned, will it be possible to disable the autosuggestion feature without disab...Currently, I do not see any way in the documentation to disable the autosuggestion feature. Is this planned for the future? Additionally, if this feature is planned, will it be possible to disable the autosuggestion feature without disabling the history substring search functionality?Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/907(Re)consider @ token for array expansion - or allow disabling it in interacti...2020-12-12T22:58:09Ztheduke(Re)consider @ token for array expansion - or allow disabling it in interactive modeI love Ion's speed, and used it as my main shell for a while.
But I ultimately stopped due to the big annoyance of the `@` symbol being used for array expansion. (in part... the other element was lack of dynamic complections, which is no...I love Ion's speed, and used it as my main shell for a while.
But I ultimately stopped due to the big annoyance of the `@` symbol being used for array expansion. (in part... the other element was lack of dynamic complections, which is now being worked on in the Shellac effort, which is awesome!)
This now means having to quote every occurence of `@`.
Due to the prevalence of `@` in things you might type in the shell, the token seems like a suboptimal choice.
(Git URLls, database URIs, FTP, emails, ....)
I briefly mentioned this in chat ages ago, and someone brought up the lack of alternative tokens.
If the `@` symbol is already too ingrained or there isn't a viable alternative, another option could be providing an option that disables `@` in the interactive shell to remedy this.Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/923question+manual: What is the proper way for passing absolute paths?2020-12-12T22:44:21Zmatu3baquestion+manual: What is the proper way for passing absolute paths?Often scripts are called from a relative path, in my case `/opt/scripts/`.
Sadly tab completion only shows me the program, but on enter I cd to that folder.
So I need to type the whole path manually, which is a pain.
What would you sugg...Often scripts are called from a relative path, in my case `/opt/scripts/`.
Sadly tab completion only shows me the program, but on enter I cd to that folder.
So I need to type the whole path manually, which is a pain.
What would you suggest, aside of setting $PATH or adding all folders to initrc, to circumvent that?Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/930feat: pipeline execution error: process ($pid) ended by signal SIGINT (ion in...2020-12-12T22:37:43ZBafDycefeat: pipeline execution error: process ($pid) ended by signal SIGINT (ion in dolphin)Dolphin (KDEs default file manager) has a rather cool feature which allows one to have a terminal pane within the file manager. The file navigation pane and the terminal are also linked. For example if the user navigates to a different d...Dolphin (KDEs default file manager) has a rather cool feature which allows one to have a terminal pane within the file manager. The file navigation pane and the terminal are also linked. For example if the user navigates to a different directory in the file browser, dolphin issues a `cd $dir` inside the terminal and when the user does a `cd $dir` inside the terminal, the file browser pane is updated accordingly.
However, when using ion, the following error message is displayed after each `cd` command (issued by dolphin, not when the user manually enters the `cd` command):
```
ion: pipeline execution error: process ($pid) ended by signal SIGINT
```
where `$pid` is the pid of ion (and it still lives after the command was completed). Also, the `cd` command works as it should (i.e. the directory IS changed).
I don't think that this is a serious issue (it doesnt really bother me much yet) and just wanted to report it for completeness :)https://gitlab.redox-os.org/redox-os/ion/-/issues/941Make Ctrl+W more similar to Fish shell, regarding paths2020-12-12T22:29:33ZÉrico Nogueira RolimMake Ctrl+W more similar to Fish shell, regarding pathsOne thing the Fish shell does pretty well is the behavior of Ctrl+W. If you are typing a path like `/path/to/thing` and press Ctrl+W, the result is `/path/to/`, instead of erasing the whole path like Ion (and Bash, for that matter) does.One thing the Fish shell does pretty well is the behavior of Ctrl+W. If you are typing a path like `/path/to/thing` and press Ctrl+W, the result is `/path/to/`, instead of erasing the whole path like Ion (and Bash, for that matter) does.unplannedhttps://gitlab.redox-os.org/redox-os/ion/-/issues/951abbrev feature2020-12-12T22:21:13Zmanfredlotzabbrev featureIn zsh there are so called global aliases, i.e I can define `alias -g C='| wc -l'` and when typing `ls -l C ` it will be expanded to `ls -l | wc -l`.
I think something like this would be a good feature for ion. One could name it `abbrev...In zsh there are so called global aliases, i.e I can define `alias -g C='| wc -l'` and when typing `ls -l C ` it will be expanded to `ls -l | wc -l`.
I think something like this would be a good feature for ion. One could name it `abbrev` and above definition could look like `abbrev L = '| wc -l`
Wdyt?unplanned