Giter Site home page Giter Site logo

Comments (13)

tnguyen14 avatar tnguyen14 commented on July 20, 2024

+1 for this!

from git-radar.

cbandera avatar cbandera commented on July 20, 2024

+1
What kind of symbol would you use? Maybe an open box?
It could be as easy as:

bash_stash_status() {
  local number_stashes="$(git stash list | wc -l)"
  if [ $number_stashes -gt 0 ]; then
    printf " $number_stashes\x01\033[1;33m\x02␣\x01\033[0m\x02)"
  fi
}

from git-radar.

anaran avatar anaran commented on July 20, 2024

What kind of symbol would you use? Maybe an open box?

How about = resembling a stack of stashed content?

from git-radar.

cbandera avatar cbandera commented on July 20, 2024

How about = resembling a stack of stashed content?

Yes, I like that. Do you happen to use zsh and could test this code before I create a pull request?

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

Nice idea. I'm always tempted to try using the combining diacritical marks to "draw" an icon. Something like:

screen shot 2015-08-28 at 11 20 22

Which I got through echo "\xE2\x87\x90\x01\xE2\x83\x9E\x02"

Seems like support on terminals is a bit flaky though.

from git-radar.

cbandera avatar cbandera commented on July 20, 2024

Seems like support on terminals is a bit flaky though.

It's not working for me with: echo -e "\xE2\x87\x90\x01\xE2\x83\x9E\x02" in the normal Ubuntu Terminal

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

eh, probably not a good idea, just a bit of fun.

from git-radar.

pas256 avatar pas256 commented on July 20, 2024

This is a great idea

from git-radar.

eproxus avatar eproxus commented on July 20, 2024

How about "identical" to or "strictly equals"?

≡
IDENTICAL TO
Unicode: U+2261, UTF-8: E2 89 A1

≣
STRICTLY EQUIVALENT TO
Unicode: U+2263, UTF-8: E2 89 A3

from git-radar.

anaran avatar anaran commented on July 20, 2024

@eproxus these don't seem to have HTML char entity equivalents, which might be nice for mappability.

How about this one?



from git-radar.

eproxus avatar eproxus commented on July 20, 2024

@anaran Well, there is:

≡
≡ ≡
≡
≡

Why is HTML character entity codes relevant?

Here are some more alternatives from that page:

⊟
⊟ ⊟
⊟
⊟

⊔
⊔ ⊔
⊔
⊔

⧉
⧉
⧉
⧉

from git-radar.

anaran avatar anaran commented on July 20, 2024

@eproxus I like ≡ ≡

Having an HTML representation for the character can be useful for documentation later.

from git-radar.

c5f avatar c5f commented on July 20, 2024

@lorensr this issue can be closed, yes?

from git-radar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.