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
Is your feature request related to a problem? Please describe.
When using osc as a VCS I would like to have a similar prompt indicating the status of my checkout as I have for git. With fish shell it was a trivial to add a function:
function fish_osc_prompt
[ -d .git ] &&returnset-l osc_binary (type-p osc)
if [ -n"$osc_binary"-a-x"$osc_binary"-a-f .osc/_package ]
set-l osc_str (osc status2>/dev/null |cut-d''-f 1|sort|uniq-c|tr-d'\n')
# if [ -n "$osc_str" ]printf' (%s)'$osc_str# endendend
but I don’t know how to do it with osc.
Describe the solution you'd like
Similar short snippet I would source in ~/.bashrc.
The text was updated successfully, but these errors were encountered:
Sorry it took me so long to look into this.
It seems to be working somehow, but I'd prefer to make it faster (it adds about 1s delay before printing a new prompt line). It probably requires some work on my end to provide desired functionality from osc and do it sufficiently fast.
Is your feature request related to a problem? Please describe.
When using osc as a VCS I would like to have a similar prompt indicating the status of my checkout as I have for git. With fish shell it was a trivial to add a function:
but I don’t know how to do it with osc.
Describe the solution you'd like
Similar short snippet I would source in
~/.bashrc
.The text was updated successfully, but these errors were encountered: