tide icon indicating copy to clipboard operation
tide copied to clipboard

Make git status char icon configable

Open NextAlone opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe

Describe the solution you'd like

Just make several envs that can be override to change ⇣ ⇔ * ~ + ! ?

    _tide_print_item git $_tide_location_color$tide_git_icon' ' (set_color white; echo -ns $location
        set_color $tide_git_color_operation; echo -ns ' '$operation ' '$step/$total_steps
        set_color $tide_git_color_upstream; echo -ns ' ⇣'$behind ' ⇔'$ahead
        set_color $tide_git_color_stash; echo -ns ' *'$stash
        set_color $tide_git_color_conflicted; echo -ns ' ~'$conflicted
        set_color $tide_git_color_staged; echo -ns ' +'$staged
        set_color $tide_git_color_dirty; echo -ns ' !'$dirty
        set_color $tide_git_color_untracked; echo -ns ' ?'$untracked)

Additional context

NextAlone avatar Sep 25 '22 17:09 NextAlone

Love this idea

BryanSchuetz avatar Oct 25 '22 18:10 BryanSchuetz

This would be lovely.

AlexvZyl avatar Jan 19 '23 10:01 AlexvZyl

I’d also love to have this. Instead of symbols, I like to have the status declared in words so I have to manually edit the file currently to look like this:

    _tide_print_item git $_tide_location_color$tide_git_icon' ' (set_color white; echo -ns $location
        set_color $tide_git_color_operation; echo -ns ' '$operation ' '$step/$total_steps
        set_color $tide_git_color_upstream; echo -ns ' ⇣'$behind ' ⇔'$ahead
        set_color $tide_git_color_stash; echo -ns ' stashed: '$stash
        set_color $tide_git_color_conflicted; echo -ns ' conflicted: '$conflicted
        set_color $tide_git_color_staged; echo -ns ' staged: '$staged
        set_color $tide_git_color_dirty; echo -ns ' dirty: '$dirty
        set_color $tide_git_color_untracked; echo -ns ' untracked: '$untracked)

aral avatar Mar 11 '23 10:03 aral