Jin Liu
ccd62ff44b
Bug fix: fish_config/bindings display ESC as "ALT-e"
...
Fixes #3286
2016-08-04 12:39:32 -07:00
Aaron Gyes
d252704fdb
checkout non-empty colorutils.js
...
The last commit was obviously an error!
2016-07-23 17:18:10 -07:00
Aaron Gyes
dfe363c945
clang-format colorutils.js
...
.... should make the #3260 diff shorter.
2016-07-23 17:03:32 -07:00
Aaron Gyes
f04644f749
Lossless recompress of images with pngcrush+zopfli
...
And tweak RTF.
2016-06-18 10:03:26 -07:00
Aaron Gyes
00e32a0909
Use fonts found on terminals for the web config.
...
Instead of just using Courier New across the board, have the
browser try several likely available fonts before defaulting
to the system's "monospace".
Thanks @MarkGriffiths
Fixes #2924
2016-05-18 11:21:14 -07:00
CoolOppo
3daccf3c22
fix typo in webconfig.py comment
2016-05-11 19:51:08 -07:00
Aaron Gyes
36691df6fe
Stringify many completions and functions, with --invert stringification.
...
I believe apm must have been buggy - example output that I found online
showed `tr` was mangling paths with spaces in it. Should be fixed.
Also, use dscl on OS X in __fish_complete_users.fish like
__fish_print_users.fish already does.
2016-04-08 10:49:29 +08:00
Fabian Homborg
dedc7f6f03
Fix acpi check in nim prompt
2016-03-20 12:20:39 +01:00
Fabian Homborg
de0349399c
robbyrussell prompt: Check for git/hg existence
...
Fixes #2826
2016-03-20 12:17:00 +01:00
ridiculousfish
e3968ba872
Remove "w/o Background Color" text from Set Theme button in fish_config
...
This is important information but the Set button is the wrong place to
put it.
2016-03-02 15:02:28 -08:00
ridiculousfish
d7f38a0802
Tweak language and styling of background color text in fish_config
2016-01-14 23:16:34 -08:00
Kurtis Rader
a77ce393ba
respond to feedback
2016-01-14 22:34:25 -08:00
Kurtis Rader
f8ed1d182e
improve set_color and theme color documentation
...
This is meant to make it clear that fish cannot control the terminal
window background color. It also augments the set_color documentation to
describe how it decides which color the terminal can display.
Resolves #2421 .
Resolves #2184 .
2016-01-14 22:34:25 -08:00
Fabian Homborg
4f519297dd
Add new named colors to webconfig
...
The 'br' variants were added in 0a0acc8
, but not to named_colors in
webconfig.py.
Fix this oversight.
2016-01-08 14:00:54 +01:00
Fabian Homborg
482cfca84f
Make informative_git prompt use vcs_prompt -> Rename it to "Informative Vcs"
2015-12-16 19:05:28 +01:00
Fabian Homborg
e29d200ba5
Switch classic + git prompt to all vcsen -> Rename it to Classic + Vcs
...
Keep the variable names for now.
2015-12-16 19:05:28 +01:00
Fabian Homborg
43c7ababf9
Make lonetwin prompt use __fish_vcs_prompt
2015-12-16 19:05:28 +01:00
David Adam
b776327b9d
Revert "prompts: more concise way of getting the hostname."
...
This reverts commit 233c443694
.
See discussion in https://github.com/fish-shell/fish-shell/pull/2489
2015-10-16 07:01:12 +08:00
Michael Fogleman
233c443694
prompts: more concise way of getting the hostname.
2015-10-15 11:59:39 +08:00
Fabian Homborg
c8ac48ff9a
Informative git prompt: Handle root/toor users
...
Fixes #961
This should probably be in a helper function
2015-09-15 21:14:49 +02:00
Fabian Homborg
7fe8a63f53
Webconfig: It's abbr --erase, not abbr --remove
...
This was renamed in c0cf25cf0b
but never
in webconfig.
2015-09-13 22:35:32 +02:00
Fabian Homborg
48874294d6
Webconfig: abbr doesn't support "--"
...
Fixes #2276
2015-09-13 22:35:32 +02:00
Fabian Homborg
60089f9750
Remove setup outside of fish_prompt from sample prompts
...
This doesn't work with fish_config.
For terlar and pythonista, remove unnecessary color setting.
For informative+git and pythonista, move variable setup into fish_prompt
Fixes #1141
2015-08-31 21:27:44 +02:00
ridiculousfish
2b87705a46
Remove vi mode indicator from classic_git prompt
...
It is duplicative of the fish_mode_prompt function
Fixes #2228
2015-08-18 10:52:53 -07:00
Fabian Homborg
b615534d8d
Fix sorin prompt, remove fallback
...
Closes #2243
2015-08-16 22:51:49 +02:00
ridiculousfish
9cf2bb18c2
pngquant delete.png, saving ~1.4 KB
2015-07-12 15:09:24 -07:00
Jonathan Chan
4b8febd44e
Add favicon for web config
2015-07-12 15:06:56 -07:00
Fernando Manfredi
1e32f9431d
👍 New sample prompt from Acidhub
...
New sample prompt from Acidhub (github.com/acidhub)
This prompt show user|path (full), and a small symbol to
show last command status.
If in a git repository, it's show after the path several
symbols to indicate the branch status and the branch name.
Very handy to me so far.
Signed-off-by: Fernando Manfredi <contact@acidhub.click>
2015-07-12 14:22:18 -07: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
ridiculousfish
4115a2f2d1
Tweak and add tests for abbr
...
1. When run with no arguments, make abbr do the equivalent
of `abbr --show`
2. Enable "implicit add", e.g. `abbr gco git checkout`
3. Teach `abbr --show` to not use quotes for simple cases
4. Teach abbr to output -- when the abbreviation has
leading dashes
Add some basic tests to abbr too.
2015-06-14 14:12:29 -07:00
ridiculousfish
0ddd0ed4fb
fish_config to select the proper tab when run with a tab name
...
`fish_config abbr` should show "abbreviations" selected
in the tab list.
2015-06-14 00:10:11 -07:00
ridiculousfish
2d1331e104
Tweak the styling of the abbreviation editor
...
Removes the big white block of the input fields.
2015-06-13 22:56:45 -07:00
ridiculousfish
9223b643b6
Use --remove instead of -e when erasing abbreviations from fish_config
...
Updates fish_config to use the correct argument to abbr
2015-06-13 22:56:01 -07:00
David Adam
c0cf25cf0b
abbr: rename --remove to --erase
...
for consistency with other fish commands
Closes #2071 .
2015-05-22 09:48:39 +08:00
ridiculousfish
a83323705d
Make fish_config work correctly when IPv6 is disabled in the kernel
...
Fixes #1754
2015-05-17 19:13:50 -07:00
Brendan Whitfield
9b5026f7e5
added cursor:pointer to master_element in web_config css
2015-05-03 17:33:25 +08:00
ridiculousfish
879d03d0fe
Reset the color after printing the CWD in classic+git prompt
...
Fixes #2034
2015-04-23 17:53:40 -07:00
ridiculousfish
e896acffd7
Use $PWD instead of (pwd) in sample prompt
...
This improves the case where the working directory has vanished
Fixes #1857
2015-03-24 17:03:40 -07:00
LoveIsGrief
df6f1e8f62
Add hg branch and status to terlar's prompt
2015-01-30 23:07:40 +08:00
David Adam
78dfc57b1e
web_config: set new prompts via JSON instead of URI-encoded
...
Fixes problems with encoding and decoding Unicode from URL-encoded strings,
which was impossible to get right in Python 2.
2015-01-30 22:54:13 +08:00
David Adam
d17ba69f9e
web_config: respect the client's character set for JSON
2015-01-30 22:52:41 +08:00
David Adam
5c16b5598b
web_config: fix python2/3 unification for parse_qs
2015-01-30 22:52:07 +08:00
David Adam
53a4814d8b
web_config: respect linebreaks in prompt demos
2015-01-29 21:41:31 +08:00
volnt
390fe05a87
Update pythonista.fish: make virtualenv aware that prompt is set
...
Closes #1823 , closes #1795 .
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-12-28 19:28:12 +08:00
Konrad Borowski
9a34df604d
Make fish_config handle no LANG variable set.
...
Fixes #1849 .
2014-12-05 21:39:21 +01:00
David Adam
9aaf93f364
web_config: improve abbreviations support
...
* Fetch abbreviations by reading the variable directly.
* Use space separators for writing new abbreviations.
Work on #731 .
2014-11-16 23:20:27 +08:00
David Adam
a7bab7b18b
abbr/web_config: support space-delimited abbreviations
...
Support for space-delimited abbreviations was added to the expansion
parser in fbade198; this commit extends that support to the user-facing
tools, and documents the space-separated behaviour. Equals-delimited
abbreviations are expected to be removed before the next release.
Work on #731 .
2014-11-15 23:48:40 +08:00
Pawel Zubrycki
c84cdcd00c
Added hg repo status to robbyrussell example prompt
2014-10-26 16:00:12 +08:00
David Adam
a64c372a28
web_config: add support for adding and editing abbreviations
...
Possible future enhancements include explanatory text and an image for
the 'save' action.
Work on #731 .
2014-10-17 10:28:26 +08:00