Comments (13)
+1 for this!
from git-radar.
+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.
What kind of symbol would you use? Maybe an open box?
How about =
resembling a stack of stashed content?
from git-radar.
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.
Nice idea. I'm always tempted to try using the combining diacritical marks to "draw" an icon. Something like:
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.
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.
eh, probably not a good idea, just a bit of fun.
from git-radar.
This is a great idea
from git-radar.
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.
@eproxus these don't seem to have HTML char entity equivalents, which might be nice for mappability.
How about this one?
⩦
⩦
⩦
⩦
from git-radar.
@anaran Well, there is:
≡
≡ ≡
≡
≡
Why is HTML character entity codes relevant?
Here are some more alternatives from that page:
⊟
⊟ ⊟
⊟
⊟
⊔
⊔ ⊔
⊔
⊔
⧉
⧉
⧉
⧉
from git-radar.
@eproxus I like ≡ ≡
Having an HTML representation for the character can be useful for documentation later.
from git-radar.
@lorensr this issue can be closed, yes?
from git-radar.
Related Issues (20)
- is_cwd_a_dot_git_directory:1: = not found HOT 7
- Promote new Maintainers HOT 4
- Calling Formula.sha1 is deprecated! HOT 4
- Calling Formula.sha1 is deprecated! HOT 2
- Not upstream indicator taking up too much space HOT 12
- problem with fish HOT 2
- Weird issue with Makefile HOT 2
- Running git-radar --bash is slow HOT 3
- Fish - LS is completely bugged HOT 2
- command overlaps prompt with stash HOT 1
- odd sed error on branches named with multiple / characters HOT 7
- have to pull twice to update a work branch HOT 22
- Made a new lightweight stable version of git-radar HOT 2
- weird characters show up with git-radar on mac os x HOT 8
- fatal error messages with git-radar on local untracked branches HOT 11
- Unhandled git error when a tracked upstream branch is removed HOT 2
- 0.6 upgrade issue HOT 3
- feature req: color prompt red when folder not writable HOT 1
- Reduce the number of binaries needed to be added to the path HOT 3
- cd .git/ produces fatal: /usr/lib/git-core/git-stash cannot be used without a working tree HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-radar.