| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(https://github.com/fish-shell/fish-shell/issues/863)
|
| |
|
| |
|
| |
|
|
|
|
| |
(https://github.com/fish-shell/fish-shell/issues/920)
|
| |
|
| |
|
|
|
|
| |
to prepend it to $PATH instead of appending it (#950)
|
| |
|
| |
|
|
|
|
|
|
| |
grep was throwing warnings when no Makefile was found
Signed-off-by: lledey <lledey@gmail.com>
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/110
|
|
|
|
|
|
| |
It's rather hacky, but it sort of works. (but then, this makes fish
compare to PHP (but PHP doesn't put that newline), so perhaps I
shouldn't do that - http://git.io/GFurbg)
|
| |
|
|
|
|
| |
eval's use of "." function.
|
|
|
|
|
|
| |
I break compatibility with Mac OS X again, that I don't have access
to. Result: Stuff break, and I have to fix it, so it will perhaps
work. At least, I hope it will work.
|
|
|
|
|
| |
Needs documentation (for the new name), but manages to move . to source,
while preserving compatibility.
|
| |
|
|
|
|
| |
/c/c looks awful, and C:/ is simply better.
|
| |
|
| |
|
|
|
|
|
|
| |
Yes, hostname is broken under Cygwin, but for fish it's an issue, as it
makes fish_config more buggy than it needs to be (by making UTF-8 errors
according to Python).
|
|
|
|
|
| |
It appears that dircolors -c under Cygwin has >&/dev/null at end that is
valid C shell syntax, but isn't accepted in fish shell.
|
|
|
|
|
|
| |
git.git's __git_ps1 doesn't have an upstream prefix. I'm not sure why
one was added to our __fish_git_prompt, but it certainly shouldn't
default to a space.
|
| |
|
|
|
|
|
|
| |
It reuses $__fish_git_prompt_char_stateseparator, since it has a
similar meaning and goes otherwise unused when
$__fish_git_prompt_show_informative_status is set.
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the defaults for several characters when
$__fish_git_prompt_show_informative_status is set so that the prompt
looks more like the typical informative prompt.
Before: (master >1<2|+3#4*5%6)
After: (master↑1↓2|●3✖4✚5…6)
The defaults were taken from magicmonty/bash-git-prompt
|
|
|
|
|
|
| |
This makes $__fish_git_prompt_show_informative_status imply
$__fish_git_prompt_showupstream = "informative", while adding a none
option for showupstream to disable it if desired.
|
|
|
|
|
| |
This makes $__fish_git_prompt_showupstream = "auto" mean "informative"
instead of "git" if $__fish_git_prompt_show_informative_status is set.
|
| |
|
|
|
|
|
| |
`test -n informative` will always succeed. We want to test the
informative variable instead so that other modes can still work.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It's easy to forget the definition of ___fish_git_prompt_status_order
when there are dozens of lines between where it is defined and where
it is used.
|
|
|
|
|
|
|
| |
A few characters and colors got added without being added to the event
list for repainting.
Also sort and re-align list of characters in validate_chars.
|
|
|
|
|
| |
based on git.git 14d7649: "bash prompt: avoid command substitution
when checking for untracked files"
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code invoked `git rev-parse` several times when the required
information could be collected all at once.
This is based on the following commits from git.git:
efaa0c1: bash prompt: combine 'git rev-parse' executions in the main code path
e3e0b93: bash prompt: combine 'git rev-parse' for detached head
0f37c12: bash prompt: use bash builtins to check for unborn branch for dirty state
dd0b72c: bash prompt: use bash builtins to check stash state
|
|
|
|
|
|
|
|
| |
It's a one line function called in a single place. I suspect it only
existed because the bash equivalent __gitdir existed (it was more
complex), but that function no longer exists either, as of git.git
511ad15: "bash prompt: run 'git rev-parse --git-dir' directly instead
of __gitdir()"
|
|
|
|
|
|
|
|
|
|
| |
Simply using cut duplicates (poorly) `git rev-parse --short`
This also restores the ... printed after the abbreviation which
__fish_git_prompt had been missing.
Based on git.git e8f21ca: "bash prompt: print unique detached HEAD
abbreviated object name"
|