Johannes Altmanninger
330883b6fd
Run fish_indent on share/**.fish
...
This is mostly to show that some of my following indent changes don't break
current behavior.
2021-02-08 07:31:33 +01:00
Fabian Homborg
b722e9ae32
sample_prompts/sorin: Move the right prompt into the prompt function
...
Our old problem with fish_config
2021-01-26 19:23:59 +01:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Leonard Hecker
988283c717
Improved performance of the sorin theme
...
This improves performance of the sorin theme tremendously
for repositories with a large number of changes.
2019-02-06 12:29:52 +01:00
Fabian Homborg
50fbc36b73
sample_prompts/sorin: Correct git_action function name
...
We renamed this, and apparently missed it.
[ci skip]
2018-12-19 09:35:26 +01:00
Leonard Hecker
082450b1e7
Severely extended the sorin theme ( #5411 )
...
* Severely extended the sorin theme
This theme should now mostly match the original.
* Removed superfluous whitespace
* Inlined external links as ASCII art
* Made myself the author of the sorin theme
* Removed superfluous read delemiter
* Renamed __fish_git_action to fish_print_git_action
* Adde a minor comment
2018-12-18 15:01:38 +01:00
Fabian Homborg
9cfb1394bf
sample_prompts/sorin: Add a safe way to determine merge status
...
Based on what __fish_git_prompt is doing.
See #5388 .
[ci skip]
2018-12-06 16:15:11 +01:00
Leonard Hecker
0b63c1f46d
Don't run git merge quietly
...
This can and will mess up git rebases and force pushes.
2018-12-06 15:53:34 +01:00
Fabian Homborg
b18693f3c1
sample_prompts/sorin: Improve git parsing
...
This uses some more string, but the main improvement is using "git
rev-list" instead of parsing "git branch" output that happens to be localized.
[ci skip]
2018-11-29 17:38:18 +01:00
Fabian Homborg
376a4eca58
Remove ^ redirection from sample prompts
...
A bunch of these did ^/dev/null. Replace it with 2>/dev/null.
[ci skip]
2018-04-28 18:16:35 +02:00
Fabian Homborg
e0f0164b16
Quote $USER when used with switch
or test
...
Common in prompts, this would fail if $USER is empty.
See #4229 .
2017-07-20 19:45:32 +02:00
Kurtis Rader
c10952c354
lint: fish_indent all sample prompts
2016-11-01 19:19:45 -07:00
Aaron Gyes
edcf15e3d7
Sorin prompt: updates
...
Use $USER, prompt_hostname, string
Update to use correct color names such as magenta over purple.
Use bright color variants instead of bold in some cases.
2016-10-31 23:41:04 -07:00
Aaron Gyes
9f05697dcc
sorin right prompt: reset color at end
...
bold mode being left enabled was causing issues in the pager.
2016-10-31 23:40:29 -07:00
Kurtis Rader
37d91d0c29
change name of the function
2016-10-23 15:02:14 -07:00
Kurtis Rader
07de13f61f
implement a fish_prompt_hostname function
...
Standardize how the host name is included in the prompts that do so.
Fixes #3480
2016-10-23 14:20:54 -07:00
Fabian Homborg
b615534d8d
Fix sorin prompt, remove fallback
...
Closes #2243
2015-08-16 22:51:49 +02:00
ridiculousfish
a4d6a104a6
Correct name and author fields to be lowercase in sorin prompt
...
fish_config requires that these fields be lowercase, otherwise
they won't show up in the prompt list.
2015-06-23 15:58:56 -07:00
Ivan Tham
a150ae76ac
Add sorin theme
2015-06-23 15:46:16 -07:00