You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have a function to get the current edit: mode, as far as I can tell this doesn't exist right now. My use case is that I like to run ls automatically after changing directories, but would like to conditionally not run it to avoid issues in location / navigation mode. Using edit:notify as recommended in the docs is a bit restricting, eg. it limits the output (seems to remove unicode icons) (this was eza being piped).
set builtin:after-chdir = [$@builtin:after-chdir {|_| eza }]
Some more thoughts: I went back to this and it looks like the issue was ANSI color escape codes. Maybe a better solution to the problem would be allowing edit:notify to take byte input as well?
What new feature should Elvish have?
I'd like to have a function to get the current
edit:
mode, as far as I can tell this doesn't exist right now. My use case is that I like to runls
automatically after changing directories, but would like to conditionally not run it to avoid issues in location / navigation mode. Usingedit:notify
as recommended in the docs is a bit restricting, eg. it limits the output(seems to remove unicode icons)(this was eza being piped).Output of "elvish -version"
0.21.0+official
Code of Conduct
The text was updated successfully, but these errors were encountered: