Siteshwar Vashisht
659541f4a5
Merge branch 'master' into fish_config_angular
2013-12-07 09:50:59 +05:30
Tom Sutcliffe
0e7acaa3c4
Added completion for Android adb command.
2013-12-05 10:43:44 +00:00
David Adam
f0946baeaa
__fish_git_prompt: initialise colors early
...
Otherwise __fish_git_prompt_informative_status tries to expand an unset
variable.
Closes #1157 .
2013-12-02 20:09:15 +08:00
Konrad Borowski
e1608362d0
Fix s/$remote// mistake.
...
$remote could have contained /.
2013-11-29 15:26:33 +01:00
Shane Xu
0e7790df8c
add port information
2013-11-27 23:39:52 +08:00
Konrad Borowski
591abd340b
Fix bold in informative git prompt.
...
Currently this fix is useless, as web config cannot apply variables,
but in future, it could be more useful.
2013-11-27 11:41:13 +01:00
Jelte Fennema
44d13869ad
Add eselect, rc-update and rc-service completions. (These are utilities used by Gentoo Linux)
...
Disable php completion for the 4th part of the command, since php-eselect is differently designed and causes errors
Closes #1131 .
2013-11-27 18:36:05 +08:00
Konrad Borowski
9862eb930d
Use sed instead of sh for Informative Git Prompt.
...
Informative Git Prompt assumes that sh is bash compatible, but that's
not the case for FreeBSD. Fixes #1140 .
2013-11-27 11:35:01 +01:00
David Adam
0c4dab54f1
__fish_complete_man: Use awk to parse output of apropos
...
Closes #960 .
Uses pattern matching rather than OS detection. Works with BSD awk, GNU
awk and Solaris' nawk.
2013-11-27 17:58:43 +08:00
Misty De Meo
0a54558ee2
Update brew completion with new options
2013-11-26 00:45:13 -08:00
d10n
168d25e780
Do not open CLI browsers when using fish_config.
...
From the Python webbrowser documentation:
"If text-mode browsers are used, the calling process will block until the user exits the browser."
Running fish_config on an ssh server with no GUI browser will open a CLI browser which blocks and stops the server from handling requests.
Using multiprocess to run the server in the background lets CLI browsers access the page, but the page is unusable.
For now, disable CLI browsers and recommend opening the page in a graphical browser.
In the future, maybe write a CLI utility to change prompts and delete history items.
2013-11-26 00:41:09 -08:00
ridiculousfish
63a15e232b
Fix indentation in __fish_complete_cd
2013-11-26 00:07:18 -08:00
Jörg Thalheim
cb86b8f8fc
cd completion: handle not accessible directories
2013-11-26 00:04:31 -08:00
Siteshwar Vashisht
8fc26c1e58
Use fish from $__fish_bin_dir while calling fish_update_completions at startup
2013-11-17 16:24:00 +05:30
Siteshwar Vashisht
6eb7530f75
Do not show files in modprobe completions
2013-11-17 01:21:28 +05:30
Thierry Goettelmann
76ab22f74c
Fix modprobe completion for newer modprobe versions
2013-11-16 20:13:41 +01:00
David Adam
14b6d32fe6
add bindings for PuTTY's I-can't-believe-it's-xterm keyboard
...
(see #170 )
2013-11-13 11:20:59 +08:00
Siteshwar Vashisht
0de26732bf
Don't show warning while generating man page completions on startup
2013-11-12 22:14:14 +05:30
Siteshwar Vashisht
0f02997bcc
Autogenerate manpage completions in background if they do not exist
2013-11-12 22:14:14 +05:30
Siteshwar Vashisht
2271526d2f
Do not highlight selected prompt
2013-11-09 23:33:56 +05:30
Siteshwar Vashisht
ea2e1f016f
Set current prompt as selected prompt after prompt change
2013-11-09 20:43:19 +05:30
Siteshwar Vashisht
c4aa223698
Changed UI of prompt tab
...
Show function definition and use button under prompt demo when prompt
demo is selected
2013-11-09 19:30:41 +05:30
Siteshwar Vashisht
63233655f4
Updated fish_config prompt tab
2013-11-09 18:26:44 +05:30
Konrad Borowski
ba2fcd9dae
Use basename for man argument
...
This protects from providing paths to man, like `./a.out`.
2013-11-09 19:50:38 +08:00
Konrad Borowski
c0ad54fe02
Allow reading manpages by using F1.
2013-11-09 19:50:38 +08:00
Marc Joliet
fe3bca3a88
Prefer standard library lzma module if available
...
Prefer the standard library lzma module if available. This change prevents
using the backports-lzma when it is installed for a version of Python that
already has the lzma module in its standard library.
2013-11-09 19:46:42 +08:00
Konrad Borowski
c5c59d4acb
Implement file autocompletion for git add and git checkout.
...
Fixes bpinto/oh-my-fish#59 .
2013-10-31 21:24:58 +01:00
Asger Hautop Drewsen
4a6592597a
Make type -a print all executables in PATH
2013-10-29 13:32:14 +08:00
David Adam
edc4614e63
add completions for source and document the move away from '.'
...
Closes : #310
2013-10-28 23:33:24 +08:00
Siteshwar Vashisht
9e424ed921
Show actual binding if user clicks a binding item
2013-10-27 18:51:50 +05:30
Konrad Borowski
e204ced1ae
Disallow package names with dots.
...
They cannot be used as arguments (Perl thinks it's version check, but
version checks are pointless for oneliners), and Debian puts path
containing version depending directories (like 5.14.2) in Perl path.
2013-10-25 19:36:10 +02:00
Siteshwar Vashisht
be55d2c57f
Updated handling escape character in binding parser
2013-10-25 00:05:26 +05:30
Siteshwar Vashisht
119dd06ea8
Add a one second delay between query input and filtering history
2013-10-22 23:45:32 +05:30
Siteshwar Vashisht
aed26f8c1e
Added code for parsing end key
2013-10-22 23:08:30 +05:30
Siteshwar Vashisht
6482fd52fb
Moved some color related methods from index.html to colorutils.js
2013-10-22 23:00:38 +05:30
Siteshwar Vashisht
44b091a7c6
Enabled filtering by binding keys
2013-10-22 00:24:15 +05:30
Siteshwar Vashisht
8279a0d477
Display bindings, history and variables in multiple lines on click
2013-10-21 23:42:16 +05:30
Siteshwar Vashisht
7709af7a62
Removed extra spaces while showing function definition
2013-10-21 23:40:43 +05:30
Brian Gernhardt
59dd6678c3
git_prompt: Allow all set_color arguments
...
There is no need to explicitly check for two arguments and set --bold.
Instead the user can simply "set __fish_git_prompt_color_flags --bold
red".
The current check violates the expectation set by the documentation
that you can use any set_color argument as the current code interprets
"--bold red" as "--bold --bold" instead.
Plus, by passing the full contents of the variable directly, the user
can do more adventurous things like set the background as well.
2013-10-21 12:36:42 -04:00
Brian Gernhardt
137463dc6d
git_prompt: Add upstream_prefix when verbose
...
git.git's git-prompt may not contain a configurable prefix, but it
does display a space before the upstream information when displaying
verbose information. Rather than using a space always or never,
default to a space whenever verbose is in showupstream.
2013-10-21 12:34:14 -04:00
Brian Gernhardt
b652920500
git_prompt: optionally show upstream branch name
...
Adds a "name" option to __fish_git_prompt_showupstream that shows an
abbreviated branch name when the upstream type is verbose.
Based on git.git 1f6806c: git-prompt.sh: optionally show upstream
branch name
2013-10-21 12:08:43 -04:00
Siteshwar Vashisht
80a48be324
Changed scheme for loading key bindings
2013-10-20 15:03:47 +05:30
Siteshwar Vashisht
bc9e2266be
Added current scheme in list of color schemes
2013-10-20 14:28:40 +05:30
Siteshwar Vashisht
ff4d0ce1e1
Moved angular.js to js directory
2013-10-19 23:56:23 +05:30
Siteshwar Vashisht
5d8c776250
Moved all functions related to colors to a separate file
2013-10-19 23:54:51 +05:30
Siteshwar Vashisht
3d2315d596
Use single expression instead of a function call to show selected tab
2013-10-19 22:47:18 +05:30
Siteshwar Vashisht
892cc7da31
Added a global error handler
2013-10-19 22:36:18 +05:30
Siteshwar Vashisht
eb9e712f91
Reorganized javascript code across app, filters and controllers
...
Moved all javascript files under js folder
Removed jquery.js from repository
2013-10-19 12:02:00 +05:30
Konrad Borowski
2a6eb83fb4
Merge pull request #1015 from marcecj/add_bz2_lzma_xz_support
...
Support bzip2 and lzma/xz compressed man pages
2013-10-18 05:09:00 -07:00
Siteshwar Vashisht
877a14c0b8
Added a filter for filtering bindings
2013-10-17 19:47:04 +05:30