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
Hi, ty for all your work. I love the charm projects :)
I've been using mods within scripts and alongside other programs, and it doesn't feel right for me that when I have to get the chat histories, I write the full path just because I know it through 'mods --dirs'. I think it would be useful (and elegant) to have the option to get the paths already parsed.
A solution is to accept an extra argument when using --dirs, e.g., 'mods --dirs config', 'mods --dirs cache', or to split the option in two. e.g. 'mods --config', 'mods --cache'. I know there is the --settings option, idk, I don't quite like that opens an editor by itself (it might just be me).
A workaround is just to parse it yourself like:
'cd $(mods --dirs | grep "Cache" | sed 's/Cache://')',
'nvim $(mods --dirs | grep "Configuration" | sed 's/Configuration://')'
I know this FR might be a little picky, and that there is not a correct way to make such an option, but at least I wanted to discuss it.
The text was updated successfully, but these errors were encountered:
* feat: allow --dirs config|cache
closes#251
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Hi, ty for all your work. I love the charm projects :)
I've been using mods within scripts and alongside other programs, and it doesn't feel right for me that when I have to get the chat histories, I write the full path just because I know it through 'mods --dirs'. I think it would be useful (and elegant) to have the option to get the paths already parsed.
A solution is to accept an extra argument when using --dirs, e.g., 'mods --dirs config', 'mods --dirs cache', or to split the option in two. e.g. 'mods --config', 'mods --cache'. I know there is the --settings option, idk, I don't quite like that opens an editor by itself (it might just be me).
A workaround is just to parse it yourself like:
'cd $(mods --dirs | grep "Cache" | sed 's/Cache://')',
'nvim $(mods --dirs | grep "Configuration" | sed 's/Configuration://')'
I know this FR might be a little picky, and that there is not a correct way to make such an option, but at least I wanted to discuss it.
The text was updated successfully, but these errors were encountered: