andrewraycode / bash-prompt-builder Goto Github PK
View Code? Open in Web Editor NEWWebsite for building a bash prompt
Home Page: http://andrewray.me/bash-prompt-builder/index.html
Website for building a bash prompt
Home Page: http://andrewray.me/bash-prompt-builder/index.html
and make them SUPER, NEATo
also ad remove header for good measurlek
If we can!!
currently does noyt
barrrrf git: svn: hg:
barrrffffffff
laksdjflkasjdflkasdf
in hg / git?
lkasdjflaksdf
no more komments!!
git / hg bisect
asdjflskdf
if rebasing, it would be better to show (rebase) than (no branch!)
BAAAARF
combine two prompt= lines into one?
in prompt
damb
asdfasdfadsf
barf barf
back into shindigs
wouldbe nice
if I have nothing else I care about to do on this
if it doesn't exist don't add it to the url
if it's true make it '1'
_git_check || _svn_check line isn't affected :(
didn't even know this was a THING
Seems to me that svnversion
returns the "modified" state of the working copy. Any reason to use svnstatus | ack | wc
rather than just look for the M
flag on svnversion
output?
color picker
at least I think that's the case...
delvarworld@~/repo (no branch! ✎ ) $ git rebase --continue
components.tt: needs update
git status
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: components.tt
components.tt should appear in the prompt, but as you can see in the first line, they don't
the file was not added but it didn't show up
wire up max conflict files
fixxxxxxx them
-bash: cd: /Users/bobsag/Downloads/Thing: No such file or directory
asdfasdfasdf
Steps to repro:
PS1="\$(${dvcs_function})\[$COLOR_RESET\] \h:\W \u\$ "
Expected:
(default) Ed-Brannins-MacBook-Pro:empty ed$
Observed:
cat: /Users/ed/tmp/empty/.hg/branch: No such file or directory
() Ed-Brannins-MacBook-Pro:empty ed$
I tried replacing this line:
# If we are in mercurial ...
if [ -n \"\$_hg_dir\" ]; then
hgBranch=\`cat \"\$_hg_dir/.hg/branch\"\`
with this one:
# If we are in mercurial ...
if [ -n \"\$_hg_dir\" ]; then
hgBranch=`hg branch`
...but now I get this upon opening a new shell, which is why this isn't a pull request:
abort: no repository found in '/Users/ed' (.hg not found)!
something like
cd $_svn_dir; command
and make "cd $_sv_dir" a string in a variable so it's optional and checkboxable
barf
lol LOL OH GOD LOL
I'm not exactly sure what hg prompt does, but it'd be nice to use an alternative method if it doesn't exit.
including list of files, add count
man wouldn't that be sweet
bisect=$(git rev-list --bisect 2> /dev/null | cut -c1-7)
packer
no one likes the swirl
step 1: choose colors
step 2: choose theme (and git / hg / svn)
step 3: review / copy / save / done!
allow for in depth editing
asdfasdf
might be neat
if they aren't selected, gray them out
asdf@~/dev/asdf $ git init
Initialized empty Git repository in /Users/asdf/dev/asdf/.git/
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revision
asdf@~/dev/asdf (git:master:HEAD △ ) $ git commit -m "first commit"
[master (root-commit) 7742e0e] first commit
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 170644 README.md
asdf@~/dev/asdf (git:master:6777e0e) $ git status
nothing to commit (working directory clean)
no conflicts left = remove files + gray out max conflicts
barf barf!!!!
yeaaahhh
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.