tide icon indicating copy to clipboard operation
tide copied to clipboard

Add possibility to see all exit `status` together with the `character` item

Open primeapple opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe

I want to see the exit code of successful commands and commands that exit with 1, but still want to have the character item, as it contains not only the exit status icon but also the vi icon, which is crucial to me.

Describe the solution you'd like

Don't make the code in the status item depend on the character item at all. Instead give it another option like: hide_common_codes and only hide the 0 and 1 exit code if this option is given.

See my comment on this PR: https://github.com/IlanCosman/tide/pull/500#issuecomment-2220102649 , which may fix this.

Additional context

Link to character docs: https://github.com/IlanCosman/tide/wiki/Configuration#character Link to status docs: https://github.com/IlanCosman/tide/wiki/Configuration#status Link to status implementation: https://github.com/IlanCosman/tide/blob/main/functions/_tide_item_status.fish Link to status tests: https://github.com/IlanCosman/tide/blob/main/tests/_tide_item_status.test.fish

primeapple avatar Jul 10 '24 10:07 primeapple