David Adam
6a0931aeae
web_config: update AngularJS to 1.0.8
2014-10-05 12:23:31 +08:00
Konrad Borowski
1665f84d60
Fix Perl module completions.
...
This fixes the issue with nonexistant directories (some Linux
distributions put these for local modules), and also fixes the
issue of dot meaning any character instead of simply dot.
2014-10-04 11:22:56 +02:00
Roman Inflianskas
fabee7e246
add yast2 completion
2014-10-04 00:41:10 +04:00
Jon Gjengset
0ffa434926
Prevent STDERR leak from abook detection in mutt completion
...
Fixes #1737
2014-10-03 14:39:42 -04:00
Kevin Ballard
a7727765dc
Clean up prompt_pwd with the new function -V flag
...
Also fixes `cd /private` displaying as no path on OS X.
2014-10-02 18:41:39 -07:00
Kevin Ballard
33a76e1f8e
Update psub for the new --inherit-variable flag
...
Also do some minor formatting cleanup, make psub return 1 when executed
outside of a command substitution, and make it respect $TMPDIR.
2014-10-02 18:41:39 -07:00
Kevin Ballard
3f11d90744
# This is a combination of 2 commits.
...
# The first commit's message is:
Simplify default fish_prompt
No need for the set_color caching now that it's a builtin.
Also simplify the 3 classic prompts in fish_config's sample_prompts set.
2014-10-02 18:41:01 -07:00
Kevin Ballard
4ba95ad1c3
Minor tweaks to initial keybinding load
...
Remove comment that AFAICT is not true anymore.
Ensure someone setting __fish_active_key_bindings as a universal
variable doesn't screw up the initial keybinding load.
2014-10-02 12:14:22 -07:00
David Adam
5157ac30fa
Create and use $DATADIR/vendor_completions.d/ for upstream completions
...
Closes #1485 .
2014-10-01 21:28:01 +08:00
David Adam
a186f04f15
Manpage completions: store in $XDG_DATA_HOME
...
Closes #1343 , works towards #1257 .
2014-09-29 19:39:36 +08:00
Vincent Huang
15ca3b426f
Added some completions for opam
...
All opam subcommands and descriptions are covered, along with
all the flags that are common to all commands. However, only
`opam config` has complete subsubcommand coverage.
2014-09-29 14:34:07 +08:00
David Adam
1c9aec4899
bind: add completions for -m and -M
...
See https://github.com/fish-shell/fish-shell/issues/1663
2014-09-29 14:22:37 +08:00
David Adam
f0d8d90ed1
__fish_print_hostnames: use awk to process ssh_config files
...
Uses awk rather than sed to account for multiple formatting options.
Closes #1260 .
2014-09-29 14:08:09 +08:00
David Adam
6ece8523b1
__fish_complete_path: add new completion, mimics builtin path completion
...
Completions can now be written which disable file completion and then
selectively re-enable it using this function.
Closes #834 .
2014-09-29 14:05:18 +08:00
Konrad Borowski
26051ea198
Add Meta+H as keybinding for man page.
...
Apparently, in zsh, Meta+H can be used to display the manpage for
the current command. This commit adds this zsh feature to fish shell.
The F1 keybinding is left, although it's now secondary according to
fish help, as some terminal emulators don't let the user press F1 key.
2014-09-28 11:12:25 +02:00
David Adam
3ac28f2b01
Revert "math.fish: support floating-point maths"
...
This reverts commit 7cad0069e8
.
https://github.com/fish-shell/fish-shell/issues/1723
http://superuser.com/questions/31445/gnu-bc-modulo-with-scale-other-than-0
This is why we can't have nice things.
2014-09-27 23:27:05 +08:00
David Adam
7cad0069e8
math.fish: support floating-point maths
...
Closes #1643 .
Thanks to Mickaël RAYBAUD-ROIG (https://github.com/m-r-r ) for the idea
of printf.
2014-09-27 18:38:44 +08:00
lledey
73158d6255
Fix emacs completion on OS X
...
Avoid calling seq with 0 as argument since its behaviour is wrong on OS X.
2014-09-24 13:05:22 +01:00
Konrad Borowski
8d03baa4e0
Make fish config work if one of colors is undefined.
...
This moves the sorting to be done before sorting remaining colors.
2014-09-23 13:48:00 +02:00
Kevin Ballard
e1f623f548
Only print fish_greeting for interactive shells
...
Shell scripts that use `read` should not trigger fish_greeting.
Fixes #1401 .
2014-09-21 20:35:33 -07:00
Kevin Ballard
a9c8b75599
Tweak git completion for aliases/stashes
...
Use the new `read -z` flag to complete git aliases better. This approach
won't break if an alias contains a newline.
Also fix stash completion, which was broken on BSD sed.
2014-09-21 19:54:42 -07:00
Konrad Borowski
166a2f91bd
Use double dashes for contains in fossil completions.
...
This fixes the issue with strange behaviour of fish shell when first
option of a command is an option.
2014-09-21 14:32:37 +02:00
Kevin Ballard
a381ac2691
Complete custom git commands in $PATH
...
Git treats executables in $PATH that start with "git-" as custom
subcommands. Add completion support for them.
Fixes #1680 .
2014-09-19 19:19:59 -07:00
Kevin Ballard
e2be71cbe4
Better git alias completion
...
Config entries that contained the word "alias" but were not in fact
aliases no longer are treated as aliases.
2014-09-19 19:19:59 -07:00
ridiculousfish
6083c6fc72
Incorporate attribute links for color themes in web_config
2014-09-19 18:44:50 -07:00
Kevin Ballard
0a32d96b27
Reset fish_bind_mode when changing fish_key_bindings
...
Also avoid resetting bindings if fish_key_bindings is "modified" without
actually changing.
Fixes #1638 .
2014-09-18 15:46:17 -07:00
David Adam
eb40baacfc
update completions for builtin commands
2014-09-17 10:17:48 +08:00
Michael Stillwell
133ba6e01b
Ignore "host", "hostname", and hostname wildcards
...
See the PATTERNS section of ssh_config(5) for wildcards supported by ssh.
2014-09-16 17:20:59 +02:00
qjcg
9bfb4f1e11
Fix webconfig URL generation for python3
...
Closes #1677 .
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-09-15 16:40:28 +08:00
Kevin Ballard
f22864b813
Ensure type
still works if $IFS is unset
2014-09-08 23:35:29 -07:00
Kevin Ballard
15cf06438e
Suppress PATH errors in sudo tab-completion
...
Setting a non-existant path component to PATH logs an error to stderr.
This is not appropriate for non-interactive temporary modifications,
like the one done by the `sudo` completion helper function.
2014-09-04 13:22:06 -07:00
Konrad Borowski
1d0279eac5
Fix F1 binding to work with multiple tokens.
2014-08-30 11:18:56 +02:00
Nikolai Aleksandrovich Pavlov
cb29350954
Fix fish_vi_mode.fish
2014-08-29 13:15:13 -07:00
Konrad Borowski
71ab40e536
Add Fossil command completions.
2014-08-29 14:19:55 +02:00
ridiculousfish
f9f773cc28
Comment on why we run 'false' in web_config.py
2014-08-22 12:04:23 -07:00
Kevin Ballard
d9bf53c6e5
Show a non-zero status in the fish_config prompt
...
When selecting a prompt with fish_config, render the prompt with a
non-zero status so the user knows what it looks like.
2014-08-22 12:00:16 -07:00
Kevin Ballard
f549ada16c
Set up fish_{function,complete}_path properly
...
In the base config.fish, fish_function_path and fish_complete_path have
$__fish_datadir/{functions,completions} added to them if not already
present. For some reason they were replacing the final path component
instead of being added on to the end.
2014-08-22 11:54:58 -07:00
Kevin Ballard
61ce9db4ba
Make the alias
built-in function work better
...
The new --wraps functionality was breaking aliases of the form
`alias foo='bar baz'`. That is, aliases where the body is multiple
words. Extract the first word of the body and use that instead.
Use better errors for aliases with no name or no body.
2014-08-22 11:40:59 -07:00
ridiculousfish
2da435712a
Merge branch 'master' of github.com:fish-shell/fish-shell
2014-08-22 11:39:41 -07:00
Andy Lutomirski
9079ec459c
webconfig: fixes for token security
...
* Use 16-byte tokens
* Use os.urandom (random.getrandbits shouldn't be used for security)
* Convert to hex correctly
2014-08-22 15:44:43 +08:00
Andy Lutomirski
aaddccfdb1
webconfig: Use a constant-time token comparison
...
This prevents a linear-time attack to recover the auth token.
2014-08-22 15:39:13 +08:00
ridiculousfish
033373f078
Merge branch 'make_type_better' of github.com:kballard/fish-shell into kballard-make_type_better
2014-08-21 21:36:39 -07:00
ridiculousfish
06400b83b1
Support for command wrapping ("aliases")
...
Add the --wraps option to 'complete' and 'function'. This allows a
command to (recursively) inherit the completions of a wrapped command.
Fixes #393 .
When evaluating a completion, we inspect the entire "wrap chain" for a
command, i.e. we follow the sequence of wrapping until we either hit a
loop (which we silently ignore) or the end of the chain. We then
evaluate completions as if the wrapping command were substituted with
the wrapped command. Currently this only works for commands, i.e.
'complete --command gco --wraps git\ checkout' won't work (that would
seem to encroaching on abbreviations anyways). It might be useful to
show an error message for that case.
The commandline builtin reflects the commandline with the wrapped
command substituted in, so e.g. git completions (which inspect the
command line) will just work. This sort of command line munging is
also performed by 'complete -C' so it's not totally without precedent.
'alias will also now mark its generated function as wrapping the
'target.
2014-08-15 18:14:36 -07:00
ridiculousfish
fe68d30be9
Use sgrep instead of grep in ssh completion
2014-08-13 01:06:15 -07:00
ridiculousfish
a3a11c2e0c
Strip users with leading underscores from ssh completions
2014-08-12 14:46:59 -07:00
ridiculousfish
3f526698ab
Make __fish_print_users work on OS X via dscl
2014-08-12 14:42:49 -07:00
David Adam
4ae2753025
Authenticate connections to web_config service
...
- Require all requests to use a session path.
- Use a redirect file to avoid exposing the '/start' URL on the
command line, as it contains the cookie value.
Fix for CVE-2014-2914.
Closes #1438 .
2014-08-04 13:34:26 +08:00
Kevin Stone
556680cf5e
Update grunt.fish
...
Fixed command error when no local Gruntfile results in a command error.
Fixes #1592 .
2014-08-02 00:04:26 -07:00
Konrad Borowski
6c80a3461c
Add support for toor account.
...
Currently fish doesn't recognize toor as special. However, it's likely
that on BSD systems, fish shell will be used on toor, not on root (toor
is an intentionally existing account to use more advanced shell on, like
shell).
2014-07-30 11:55:47 +02:00
phette23
5591afff6e
add completions for Node.js & NPM
2014-07-29 18:35:08 -07:00
ridiculousfish
b6658c5497
Render sample prompts faster in fish_config by using a thread pool
2014-07-29 12:12:32 -07:00
ridiculousfish
aad5163b49
Make prompt selection more like color selection in fish_config. Remove
...
the "show prompt source" button.
2014-07-29 11:00:39 -07:00
David Xia
6d18bf5cd4
Fix umask function regex
...
Some grep implementations complain of empty subexpression
fixes #1313
2014-07-29 01:43:18 -04:00
David Xia
adabc2d7a0
Fix fish_config error with python3
...
Closes #1253 .
2014-07-28 22:02:55 +08:00
Siteshwar Vashisht
317660c2fe
Avoid using OptionParser to parse bindings in webconfig.py
...
OptionParser eats commaandline arguments passed to bind actions, so avoid using it.
2014-07-25 08:39:31 +05:30
ridiculousfish
f6a89d13c2
Merge branch 'master' of github.com:fish-shell/fish-shell
2014-07-23 22:27:37 -07:00
Siteshwar Vashisht
3e01dd955f
Updated code to parse bindings in webconfig.py
2014-07-23 01:53:15 +05:30
adisbladis
27fa0ea9d7
"webconfig.py: Don't allow NoneType as buffer, fallback to bytes.
...
Fixes TypeErrors when using bindings tab"
2014-07-22 12:31:57 +02:00
Michishige Kaito
2de914d8c3
Select the 4th line of output, instead of the second to last line
2014-07-16 18:22:27 +01:00
Michishige Kaito
616fa85458
Add grunt completion
2014-07-16 16:53:18 +01:00
Kevin Ballard
16e50c258a
type: Restore combined flags behavior
...
Fix the parsing of `type` flags to handle combined short flags as
appropriate, e.g. `type -qf ls`.
2014-07-14 11:27:11 -07:00
Kevin Ballard
72e8489d50
command: Rename -p/--path flag to -s/--search
2014-07-13 19:11:29 -07:00
Kevin Ballard
29b3b6b31e
type: Stop claiming grep
is a function
...
Use `functions -q` instead of searching the `functiosn -na` list for the
provided word. This may result in an automatically-loaded function being
sourced, but that happens anyway with the default output.
This change means the results of `test -q foo` can be relied upon to
indicate whether `foo` can actually be invoked. Previosly, if `foo` was
the name of an automatically-loaded function file but did not actually
define a function `foo`, and there was no execuable `foo`, then `type -q
foo` would lie and say `foo` can be invoked when it can't.
2014-07-13 19:11:29 -07:00
Kevin Ballard
533496e43a
Adopt the new type -q flag in the other functions
2014-07-13 19:11:29 -07:00
Kevin Ballard
6f7a7459c1
test: Add a new --quiet flag to suppress output
...
The --quiet flag is useful when only the exit status matters.
Fix the documentation for the -t flag to no longer claim that `type` can
print "keyword", as it never does that.
Stop printing a blank line for functions/builtins when the -p flag has
been passed. It's just not useful.
2014-07-13 19:11:29 -07:00
Kevin Ballard
6b062b07b4
type: Separate the notion of multi and paths
...
Track whether -a and -f have been supplied separately. That way both
`type -a -f command` and `type -f -a command` behaves correctly, as does
`type -a -f foo` where there are multiple executables named `foo` in the
$PATH.
2014-07-13 19:11:29 -07:00
Kevin Ballard
bfd3a47380
Fix type
function to work better
...
Stop using getopt to parse flags. It's far more expensive than
necessary, and results in long flags not being parsed on OS X. This also
allows args starting with - after the options list to be properly
interpreted as a value to test.
Print the error message to stderr as is appropriate.
Use the new `command -p` functionality when the -a flag has not been
provided (`command` does not have any equivalent to the -a flag),
instead of using `which`. This is faster and also avoids any possible
disagreement between `which` and what fish thinks is valid.
Stop testing every path to see if it's executable, that test has already
been done by `which` or `command -p`.
The end result is `type -P ls` is roughly 250% faster, according to
profiling, on my OS X machine.
2014-07-13 19:11:29 -07:00
Maxim Gonchar
3acd0dfe48
Add dropbox completion
2014-07-06 20:40:53 +08:00
Sascha
ed5e585684
Also add forward/backward movement in insert mode
2014-06-27 22:55:27 +08:00
Sascha
32948b8dc6
Provide more useful insert mode mappings
2014-06-27 22:55:20 +08:00
Cameron Norman
ad5ad3d1ad
Fix bug for systemd being installed but not PID 1
2014-06-20 11:08:35 +08:00
Siteshwar Vashisht
7b3132d39d
Fixed code to parse bindings for webconfig
2014-06-08 16:05:00 +05:30
Konrad Borowski
d97e31b4ab
git prompt shouldn't export variables.
2014-06-01 09:39:28 +02:00
David Adam
3225d7e169
avoid symlink attacks in __fish_print_packages and spawning fishd
...
* use $XDG_CACHE_HOME for __fish_print_packages completion caches
* when starting fishd, redirect fishd output to /dev/null, not a
predictable path
Fix for CVE-2014-3219.
Closes #1440 .
2014-05-12 09:30:05 +08:00
Josh Kuhn
cbef88a593
Fix python completion to work for pypy
...
Pypy outputs 2 lines with the -V option, as well as adding a whole lot of stuff that confuses the very general sed regex that was used before.
2014-05-03 15:06:57 -07:00
SanskritFritz
b13179d4f4
Functions instead of static variables for conditions.
2014-05-03 12:30:41 -07:00
SanskritFritz
cf89d9bfb0
Fixed an unintended result of some copy paste.
2014-05-03 12:30:41 -07:00
SanskritFritz
f49848c8a4
Removed unnecessary comments.
2014-05-03 12:30:41 -07:00
SanskritFritz
0101b39f6c
Completions added/updated.
2014-05-03 12:30:41 -07:00
Maurizio De Santis
4285baa6e1
Prompt sample: Debian chroot environment
...
When you chroot in Debian, bash shows the chroot environment in the prompt:
```bash
...
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
...
```
This is the effect:
```
(chroot_env) user@host:~#
```
It is useful when chrooting, since usually the hostname remains the same and thus you can't distinguish where you are.
2014-05-03 12:28:38 -07:00
David Adam
55bc4168bf
use mktemp(1) to generate temporary file names
...
Fix for CVE-2014-2906.
Closes a race condition in funced which would allow execution of
arbitrary code; closes a race condition in psub which would allow
alternation of the data stream.
Note that `psub -f` does not work (#1040 ); a fix should be committed
separately for ease of maintenance.
Closes #1437
2014-04-28 10:42:00 +08:00
David Flores
2bbb59964f
functions on top
2014-04-19 14:50:15 -07:00
David Flores
4fd32eb48e
added docker completion file
2014-04-19 14:50:15 -07:00
Maxim Gonchar
2872a98b2b
Set fish_vi_key_bindings to start in insert mode by default
...
Add optional argument for fish_vi_key_bindings to set desired initial
mode:
> fish_vi_key_bindings default
2014-04-19 14:48:15 -07:00
Fabian Ruff
f2a507c4a7
fix gem --version/--help tab completions
2014-04-06 12:58:22 -07:00
Steven Allen
17ab7bde44
Bind 0 to beginning-of-line in vi mode.
2014-04-06 12:49:52 -07:00
Steven Allen
fcc363333c
Move cursor back on insert mode exit.
...
Make this consistent with vi.
2014-04-06 12:46:14 -07:00
Daniel Matz
2f6551b3b1
Properly detect when MQ is enabled for Mercurial completion.
2014-03-31 10:08:10 -07:00
Daniel Matz
50ae14cf7b
Properly complete Mercurial bookmarks when only one bookmark exists.
...
The if statement checking the output of hg bookmarks uses two conditions
joined by the or keyword. However, only the first part was being used.
Wrapping the two statements with begin and end properly combines them.
2014-03-31 10:08:10 -07:00
Daniel Matz
79b7cd69bb
Add fallback for label completion in older versions of Mercurial.
2014-03-31 10:08:10 -07:00
Daniel Matz
cf237a0e4f
Replace use of xargs with command substitution in Mercurial completion.
2014-03-31 10:08:10 -07:00
Daniel Matz
c0d147c5c4
Add the __fish prefix to all Mercurial completion functions.
2014-03-31 10:08:10 -07:00
Daniel Matz
bd707b4a96
Remove unnecessary use of uniq in Mercurial completion.
...
Fish already takes care of duplicate completions.
2014-03-31 10:08:10 -07:00
Daniel Matz
daaed863da
Use the current commandline token for Mercurial filename completion.
...
The token variable was being used, but I must have accidentally deleted its
definition while I was working on the original version of the file.
2014-03-31 10:08:10 -07:00
Daniel Matz
2bdfac2036
Use local scope for variables in Mercurial completion functions.
2014-03-31 10:08:10 -07:00
Daniel Matz
d74a23e583
Improve Mercurial command completion.
...
Rewrote the completion file by hand. Added completion of files, bookmarks,
revision labels, etc.
2014-03-31 10:08:09 -07:00
Anders Bergh
44b35f7735
fish_config: Listen on both IPv6 and IPv4.
...
A subclass of TCPServer was created to deny any non-local connections and to
listen using an IPv6 socket.
2014-03-31 10:06:46 -07:00
Kevin Ballard
fe3b439e31
Fix non-verbose, non-informative __fish_git_prompt
...
At some point the non-verbose, non-informative variant of the prompt
(e.g. the variant that looks like the bash prompt) was modified to try
and show the behind/ahead counts the same way the informative prompt
does. Besides being wrong, it also didn't work because behind/ahead
weren't defined.
2014-03-31 09:59:41 -07:00
Lukas Stabe
6c987d6708
add pacsrv completion
2014-03-31 09:54:28 -07:00
ridiculousfish
28fd1a4c5d
Merge branch 'master' of github.com:fish-shell/fish-shell
2014-03-30 21:58:32 -07:00
ridiculousfish
d4fafeb6d6
Merge branch 'master' into 1218_rebase
...
Conflicts:
builtin.cpp
builtin_commandline.cpp
highlight.cpp
input.cpp
input.h
reader.cpp
screen.cpp
screen.h
2014-03-29 14:19:45 -07:00
Knut Ahlers
1270384ede
Fixed appearance of ssh hostnames with [] in them
...
refs https://github.com/fish-shell/fish-shell/issues/1355
2014-03-29 11:46:45 +01:00
Konrad Borowski
1486774249
Force at least one line of output for set_color
.
...
This should fix #1323 .
2014-03-03 22:17:55 +01:00
ridiculousfish
be33d3f2a4
Revert "Merge pull request #1317 from pullreq/cpp"
...
This reverts commit 74135c0600
, reversing
changes made to 6d749789ce
.
See discussion in #1317
2014-02-28 02:16:48 -08:00
Geoff Nixon
18dd6f58e3
Fixes .c -> .cpp in comments. For doxygen.
2014-02-27 06:23:40 -08:00
Konrad Borowski
6d749789ce
Use 127.0.0.1 for fish config.
...
Before this change, fish config used 0 as its address. However, this
isn't a good idea from security point of view, as web service can be
accessed from everywhere, and do anything on the account it was ran on.
This also deals with firewalls which block the access to 0 even from
the host machine itself. It possibly might fix #673 , but I'm not sure.
2014-02-27 14:47:08 +01:00
ridiculousfish
5e7c01c251
Rework color editing in fish_config. Bury customization mode a bit:
...
initially the user only sees the various themes, and has to activate
customization mode to change colors. Tweak the appearance as well.
2014-02-24 01:56:02 -08:00
ridiculousfish
3ab954644f
Make fish install a command_not_found handler in non-interactive uses.
...
Previously, fish's command_not_found handler would be installed in
__fish_config_interactive. Errors that occured early in startup (e.g. in
config.fish) or in non-interactive mode would therefore not be reported.
With this change, fish now exposes its default cnf handler as
__fish_default_command_not_found_handler . config.fish then installs a
cnfh that invokes the default. When fish goes interactive, the initial
cnfh is overwritten with a fancier one, that may in turn fall back to
invoking the default.
2014-02-20 10:26:57 -08:00
Mandeep Sandhu
ef9f2ab31f
Add completions for git stash sub-commands
...
Closes #1102 .
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-02-16 21:58:21 +08:00
Eric Mrak
64ca6c066c
Caching for pacman packages.
2014-02-16 18:09:55 +08:00
Eric Mrak
d1cf5ab286
adding completion for aura. adding pacman integration for __fish_print_packages
2014-02-16 18:09:55 +08:00
waterhouse
b1545c5ce2
'seq' should return 1, not exit 1, on bad arglist
2014-02-16 01:17:12 -08:00
ridiculousfish
77dbaf3aef
Fix for Python out-of-range exception when accessing Bindings tab
2014-02-09 20:19:04 -08:00
glennj
b475325b5e
math.fish: exit if no output (e.g. from syntax error)
...
Closes #1175
2014-02-05 17:26:34 +08:00
ridiculousfish
7d345018af
Redirect stderr of initial call to __fish_reload_key_bindings. Fixes ##1155
2014-02-03 16:46:01 -08:00
David Adam
27b6fe682d
Squashed commit of the following:
...
commit d81ae2665f
Author: Max Gonzih <gonzih@gmail.com>
Date: Sun Feb 2 16:22:18 2014 +0300
Check for command-not-found command on suse
commit 004b794c82
Author: Max Gonzih <gonzih@gmail.com>
Date: Sun Feb 2 14:04:41 2014 +0300
Fix cnf handler for Suse and Fedora
fixes #1208
2014-02-02 21:42:24 +08:00
Siteshwar Vashisht
a1b43b7a09
Fix for opening bindings tab as initial tab
...
'fish_config bindings' command should open bindings tab as initially active tab
2014-01-30 23:53:49 +05:30
ridiculousfish
20130d89dc
Support for escaped colons in makefile targets in __fish_print_make_targets, as part of #1259
2014-01-29 15:42:52 -08:00
David Adam
8490aac025
sshfs completions: use all directories as mount points
...
Closes #1268 .
2014-01-29 13:33:27 +08:00
David Adam
8fbffe250a
__fish_print_packages: correct syntax for yum, improve yum/rpm pipelines
...
Closes #1269 (output to cache file).
Reworks the editing pipeline for both yum and rpm completions down to a
single sed command.
2014-01-29 12:47:56 +08:00
Geoff Nixon
60808a4820
Enhance/fix isatty
using command test
.
...
Presently, `isatty` only works on a handful of keywords. Here it
is rewritten to be able to take any path, device or fd number as
an argument, and eliminates errors printed to stdout.
Per discussion in #1228 , using `builtin test -c` within a pipe to
test special file descriptors is not viable, so this implementation
specifcially uses `command test`. Additionally, a note has been
added to the documentation of `test` regarding this potential
aberration from the expected output of the test utility under the
'Standards' section.
2014-01-28 11:14:54 -08:00
ridiculousfish
7d8766980b
Support escape or up-arrow to cancel the completion search field.
2014-01-27 02:17:31 -08:00
ridiculousfish
5be3606236
Increased support for completion search field. Use btab (shift-tab) to
...
complete-and-search.
2014-01-27 00:56:13 -08:00
ridiculousfish
6d13b8bbc0
Teach down-or-search how to use down-arrow to begin pager navigation
2014-01-25 15:32:13 -08:00
ridiculousfish
2139334c36
Fix for issue where wc on OS X would produce leading spaces, causing
...
down-or-search to fail to match the case statement and therefore do the wrong thing.
2014-01-25 15:22:28 -08:00
Julian Aron Prenner
844b01cb6b
Add 'and' input function; fixes a bug with t,T
...
'and' will prevent later input functions from being executed if the
previous one did not succeed (e.g. a jump to a char not on the command
line)
2014-01-23 10:23:04 +01:00
Julian Aron Prenner
45465e0c45
Merge branch 'bind_mode' of github.com:furunkel/fish-shell into bind_mode
2014-01-22 10:01:53 +01:00
Julian Aron Prenner
4a9be7bf11
Experimental support for f,F,t,T vi commands.
...
Input functions can now have arguments
2014-01-22 10:00:44 +01:00
Julian Aron Prenner
c8e0d18d18
Change mode colors in prompt
2014-01-22 09:00:57 +01:00
Maxim Gonchar
f284f00935
Add tmux support
2014-01-20 21:28:54 +04:00
Maxim Gonchar
71992158bf
Retab again
...
default_keybindings are left with tabs as it was in the beginning
2014-01-20 17:12:32 +04:00
Maxim Gonchar
1514ab8ec5
Retab
2014-01-20 17:03:46 +04:00
Maxim Gonchar
3591900070
More clear way of setting cursor shape
2014-01-20 16:47:13 +04:00
Julian Aron Prenner
44c6fa68cf
Make Ctrl-x autocomplete suggestions; cosmetics
2014-01-20 13:07:32 +01:00
Maxim Gonchar
1279888567
Add cursor shape handler
2014-01-20 10:19:41 +04:00
Max Gonzih
114f803a88
Fix e and E in visual vi mode
2014-01-19 17:07:23 +03:00
Max Gonzih
69778efb6b
Add x binding to delete whole line in visual mode
2014-01-19 17:04:02 +03:00
Max Gonzih
e7df20f69b
Add x binding to delete selection in visual vi mode
2014-01-19 16:50:56 +03:00
Julian Aron Prenner
cd64a777c3
Set $fish_bind_mode to default on fish startup; set $fish_key_bindings
...
when sourcing fish_vi_mode.fish
2014-01-19 10:27:39 +01:00
ridiculousfish
808bc42f2a
Further work on keyboard navigating the completion list
2014-01-18 12:42:53 -08:00
Julian Aron Prenner
3728fc7dba
Add kill-selection function and visual binds for 'y' and 'd'
2014-01-18 10:18:29 +01:00
Julian Aron Prenner
88eae68987
Fix a bug, commandline -s works now as expected. Add "*y binding in
...
visual mode
2014-01-17 20:32:24 +01:00
furunkel
8b89bd7a1f
Merge pull request #4 from maxfl/bind_mode
...
Minor bind fixes
2014-01-17 08:06:49 -08:00
Maxim Gonchar
fc68b9d7cd
Minor bind fixes
...
Comment out 'o' binding
Add '['/']' bindings to navigate current token history
Fix 'P' to paste indeed
Add "*P/"*p to insert current selection clipboard using xsel
2014-01-17 10:40:32 +04:00
Julian Aron Prenner
0cd125b55c
Merge branch 'bind_mode' of github.com:furunkel/fish-shell into bind_mode
2014-01-15 22:41:50 +01:00
Julian Aron Prenner
444cb894be
Set selection color to purple
2014-01-15 22:41:10 +01:00
Maxim Gonchar
8138b2080b
Even dirtier *aw/*iw
2014-01-16 01:25:44 +08:00
Maxim Gonchar
737b204b2c
Add dirty bindings for *iw, *aw
...
Put E, W bindings in agreement with vim
2014-01-16 00:55:51 +08:00
Julian Aron Prenner
213e907044
Merge remote-tracking branch 'upstream/master' into bind_mode
...
Conflicts:
builtin.cpp
reader.cpp
share/functions/fish_default_key_bindings.fish
2014-01-15 15:27:06 +01:00
Julian Aron Prenner
c8d5131a42
Add experimental support for selection and visual mode
2014-01-15 15:07:22 +01:00
Julian Aron Prenner
fc21bb6eda
Replace builtin 'bind_mode' with variable $fish_bind_mode
2014-01-15 12:04:52 +01:00
Maxim Gonchar
9684cbf850
Add optional options to fish_default_key_bindings
...
These options will be passed to the bind command.
Now it's possible to call
fish_default_key_bindings -M insert
to set all original bindings to the insert mode
2014-01-15 15:26:38 +08:00
Maxim Gonchar
b0e94c15e6
Update vi bindings:
...
The following normal mode bindings are added:
o, I, A, gg, G, g^, g$, x, X, backspace, d*, D, s, S, c*, C, ~, gu,
gU, J, K, y*, Y, p, P
I was not able to add binding for 'O'
dd now deletes the whole line as vim, while D deletes the line to the
end. c, s, y act the same way
2014-01-15 00:21:13 +08:00
Julian Aron Prenner
874d3aca45
Make Ctrl+C exit insert mode, add some more backspace binds.
2014-01-14 15:24:26 +01:00
Konrad Borowski
b9394b9599
Rename __fish_complete_usb function.
2014-01-14 08:28:15 +01:00
leafonsword
129d2f803a
新文件: share/completions/lsusb.fish
...
新文件: share/functions/__fish_complete_usb.fish
2014-01-13 20:24:20 +01:00
Max Gonzih
71f6986dd6
Fix __fish_print_packages for rpm
2014-01-13 22:36:02 +08:00
Alexander I.Grafov
75b02e1d27
Fixes issue #1234 . Fish now parses system wide ssh configuration file in addition to user config.
2014-01-12 14:59:46 +05:30
Konrad Borowski
2927514e68
Partially fix #1224 .
...
It would be nice if this would work without this hack,
but until then, this has to work. Requires you to reinstall
the prompt using fish configuration system.
2014-01-10 21:33:50 +01:00
David Adam
02bd933c58
Add Alt+. as a default binding for history-token-search-backward
...
Closes #89 .
2014-01-08 15:15:15 +08:00
ridiculousfish
e0bfa1e422
Merge branch 'fish_config_angular'
2014-01-03 17:54:54 -08:00
Julian Aron Prenner
dc90cd6bc4
Better input handling; add support multiple binding commands
2014-01-01 00:11:32 +01:00
Julian Aron Prenner
f408bc4808
Add sourceable script file to enable vi mode
2013-12-31 16:17:03 +01:00
Julian Aron Prenner
a302f37447
Fix bug
2013-12-31 16:16:28 +01:00
Julian Aron Prenner
f501e30353
Add sample prompt for vi mode
2013-12-31 14:56:12 +01:00
Julian Aron Prenner
2587649ca2
Allow restricting earsing and listing of bindings to specific mode;
...
implement force repaint and multi-char bindings;
2013-12-31 14:53:29 +01:00
Julian Aron Prenner
d1faac58dd
Implement bind modes
2013-12-31 01:52:41 +01:00
David Adam
1efb120248
__fish_complete_svn: remove GNU extension options
...
Continuation of https://github.com/fish-shell/fish-shell/pull/1195/ .
Removes use of --delimiter and --fields with cut(1) as these are GNU
extensions.
Note that a number of completions use these options, but as they are
only for GNU/Linux-specific tools have remained unmodified.
2013-12-30 12:32:24 +08:00
maxried
541db5fbbe
Update adb.fish
...
Added semi-documented but often used adb subcommand.
2013-12-28 12:24:58 +01:00
Derek Li
93f7c14ea6
Math: disable bc multi-line output.
2013-12-26 18:32:36 +01:00
Andreas Eger
a3a918e900
adding elixir, iex, mix completions
2013-12-24 12:43:38 +08:00
Javier Gonel
12be83562d
Non standard cut options
...
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
2013-12-18 18:02:19 +02:00
Konrad Borowski
5c96bca1ca
Revert "Ensure that UTF-8 works if LANG contains it."
...
This was a really stupid change that I should have tested more
before pushing. It broke any non-interactive usage, such as SSH,
fish config, or parsing the script output, as config.fish is
loaded for everything.
There are no issues with different terminal emulators, so this
change will be pushed in the future, but only running in interactive
mode. I apologize for any issues caused by this commit.
This reverts commit d61adfbc53
.
2013-12-17 20:47:14 +01:00
Konrad Borowski
d61adfbc53
Ensure that UTF-8 works if LANG contains it.
...
Some people like to have their terminals claim UTF-8 support when
their terminals actually are set to another encoding. As nobody
appears to understand this, I have made a change to automatically
fix the encoding problems if possible. This uses ISO 2022 sequences
in order to dynamically change the encoding.
Fixes #692 . Fixes #895 . Fixes possible future issues about this.
2013-12-15 11:08:15 +01:00
Jay Weisskopf
9bbda857c3
Prepend user paths even if they already exist in system path
...
Fixes #1099
2013-12-10 12:52:04 -05:00
Siteshwar Vashisht
646180518a
Minor fixes in the colors tab
...
* Show color scheme title in preview box
* Show information about setting terminal background color on Apply
button mouse hover
* Added text_color_for_color method in colors controller scope
2013-12-07 13:12:43 +05:30
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
Siteshwar Vashisht
0ad6e6f459
Updated binding tab to show descriptive key names
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
885c23b453
Show readable description of bindings
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
7cb8f6e9fc
Added missing bindings partial
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
04f518082c
Initial implementation of bindings tab
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
26926551cf
Minor clean up of index.html
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
2069094f55
Removed unrequired code from colors controller
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
976a0a6264
Removed older css file
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
8edcf25ba3
Changed name of colors partials file and javascript file
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
e4029d00b6
Enabled support for applying color settings in new colors tab
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
044ff5e055
Updated new colors tab to enable background colors and selecting colors from options
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
0de8c28cf4
Updated history tab to show progress on loading items
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
a1bca962a7
Updated variables tab
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
f1a13c4ee5
Updated functions tab
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
5f6ec391e3
Initial work to add support for new colors tab
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
bf656577d9
Added support for setting colors
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
171bcb1ccf
Cleaned up index.html
2013-10-17 19:47:04 +05:30
Siteshwar Vashisht
5e53c1cde8
Added support filter variables and history items
2013-10-17 19:47:03 +05:30
Siteshwar Vashisht
72431456ff
Fixed code to delete history item
2013-10-17 19:47:03 +05:30
Siteshwar Vashisht
b8deb49007
Fixed code for changing prompt
2013-10-17 19:47:03 +05:30
Siteshwar Vashisht
6b34f19396
Stop using indexes while selecting colors configs
2013-10-17 19:47:03 +05:30
Siteshwar Vashisht
c018bfdb4d
Initial work to add support for angularjs
2013-10-17 19:47:03 +05:30
Marc Joliet
6de9a92582
Change the way xz/lzma man pages are detected
...
This avoids the use of the global and puts the diagnostic message in a
self-contained location.
2013-10-17 12:12:04 +02:00
Ronaldo Maia
3788f462b4
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
Ronaldo Maia
238bbfcbbb
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
sra
0efa211a05
Use manpath instead of man --path in man.fish function (as in commit
...
c7941fc
).
2013-10-03 11:46:58 +02:00
nulltrek
6990871efd
Fix git completions when aliased command is not found.
2013-10-02 21:40:19 +08:00
MagicMuscleMan
843944f558
Complete apt-get purge identical to apt-get remove
...
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
2013-09-29 13:35:03 +02:00
Marc Joliet
1c8c9a10b5
Only print an error when an lzma/xz manpage occurs
...
Only print an error when an lzma/xz compressed man page occurs. Also, use
add_diagnostic instead of print.
2013-09-25 18:16:47 +02:00
Konrad Borowski
4aa9f76d06
Fix one element tuple to be actually tuple.
...
While in this case it doesn't mean much (neither `z` or `-` would be
passed to options parser), it makes things possibly less buggy.
2013-09-25 16:39:22 +02:00
Marc Joliet
fc7c489ab6
Skip lzma/xz manpages if lzma module not available
...
Skip man pages compressed with lzma/xz if the lzma module is not available; also
print a corresponding diagnostic message.
2013-09-25 15:41:48 +02:00
Marc Joliet
4856567a2a
Only try "lzma" module on ImportError
2013-09-25 15:41:14 +02:00
Marc Joliet
7d0722bc18
Change an "if" to more appropriate "elif"
...
I overlooked an "if" that should have been an "elif". Oops.
2013-09-25 01:35:32 +02:00
David Adam
1235e60a29
default key bindings: fix syntax errors introduced in 735af50
2013-09-24 22:49:11 +08:00
Marc Joliet
4340368277
Support bzip2 and lzma/xz compressed man pages
...
Add support for bzip2 and lzma/xz compressed man pages. Support for bzip2 is
part of the Python standard library (at least for 2.7 and >=3.2), while lzma/xz
is only in Python >=3.3; however, there is a backports module for Python 2.7 and
3.2.
2013-09-24 15:49:59 +02:00
David Adam
735af50ce9
default key bindings: add further iTerm2 bindings
2013-09-24 20:04:05 +08:00
Konrad Borowski
f76a16a727
Add Perl modules completion.
2013-09-22 20:12:14 +02:00
David Adam
fdef82f89c
rsync completions: complete hostnames ala scp
...
Closes #1010
2013-09-19 23:24:36 +08:00
David Adam
3d68d1bbe2
scp completions: use __fish_print_hostnames rather than doing independent hostname searches
2013-09-19 23:24:36 +08:00
David Adam
c2dcfc9176
__fish_print_hostnames: do a better job of searching SSH files
2013-09-19 23:24:36 +08:00
bathtub
df300e042b
Small fix for fish_update_completions (amended)
...
Amended from https://github.com/fish-shell/fish-shell/pull/1003 .
Fix a Unicode parsing error; search man6.
2013-09-19 13:15:15 +02:00
Konrad Borowski
3996f178e5
Added git stash completion options.
...
Squashed commit of the following:
commit 962a19dfab
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 18:09:49 2013 +0530
Add missing 'git stash' completion options
Fixed typo.
commit 57bbd89caf
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com>
Date: Wed Sep 18 17:59:36 2013 +0530
Add missing 'git stash' completion options
Added the following options which were missing:
* save
* branch
2013-09-18 14:54:11 +02:00
David Adam
7935b1613a
__fish_print_packages: ignore errors, do less manipulation
...
Closes #479 by piping STDERR to /dev/null.
Also does much less manipulation of the package list; there are no
packages in any of the archives containing the names that are stripped
out as far as I can see.
2013-09-17 22:27:15 +08:00
David Adam
8df81f93c8
__fish_print_packages: whitespace fix
2013-09-17 22:20:16 +08:00
nulltrek
daf3469ce4
Add newline before listing current token.
2013-09-13 14:30:13 +08:00
nulltrek
e031fa7207
Fix some typos.
2013-09-12 11:46:31 +02:00
nulltrek
1b521d0822
Rename internal functions for consistency.
2013-09-12 11:46:31 +02:00
Christian Rishøj
cd1c2f74d3
add support for downcase-word, upcase-word and capitalise-word
2013-09-09 18:46:16 +02:00
Konrad Borowski
a1020b3e61
Remove useless semicolon in webconfig.py
2013-09-08 20:19:43 +02:00
ridiculousfish
3816abb9de
Make __fish_print_mounted work better on OS X
2013-09-05 11:40:51 -07:00
ridiculousfish
7561075af8
OS X Mavericks keybinding fix
2013-09-05 00:46:19 -07:00
Konrad Borowski
fe10f98038
Fix VTE version test
2013-09-04 22:08:44 +02:00
Tim Cuthbertson
74e27a0a82
Notify vte-based terminals of $PWD change ( #906 )
2013-09-04 20:30:42 +02:00
Tim Cuthbertson
04c0ac9ee8
add __fish_urlencode function which URL-escapes stdin
2013-09-04 20:30:42 +02:00
ridiculousfish
cca60adc35
Fix useradd completion syntax
...
(https://github.com/fish-shell/fish-shell/issues/863 )
2013-09-02 00:34:54 -07:00
Adrien Grellier
f230da12c5
completion for vim-addons
2013-09-01 16:07:59 +02:00
ridiculousfish
03aae47424
Fix more indentation in fish_default_key_bindings.fish
2013-08-31 21:11:09 -07:00
ridiculousfish
df0aaa1ebe
Fix indentation
2013-08-31 21:10:11 -07:00
ridiculousfish
23ba7b5bff
Support iTerm2 forward/backward word escapes
...
(https://github.com/fish-shell/fish-shell/issues/920 )
2013-08-31 14:29:52 -07:00
Konrad Borowski
7a1bedcab6
Fix #976 . Now prompt tries to use standard git command.
2013-08-26 16:24:59 +02:00
ridiculousfish
9f46881c16
Fix to respect the order of paths in /etc/paths (oops)
2013-08-25 14:02:03 -07:00
ridiculousfish
dead45fa67
Rearrange the PATH to respect the order defined in /etc/paths ( #927 ) and
...
to prepend it to $PATH instead of appending it (#950 )
2013-08-25 13:27:52 -07:00
ridiculousfish
8605cc685d
Fix tabs in share/functions/__fish_config_interactive.fish
2013-08-24 12:20:21 -07:00
nulltrek
9a49b2c9fb
Fix "command not found" handler behaviour.
2013-08-24 12:16:28 -07:00
lledey
69c6b007aa
Remove grep warning from make target completion
...
grep was throwing warnings when no Makefile was found
Signed-off-by: lledey <lledey@gmail.com>
2013-08-19 22:14:20 -04:00
ridiculousfish
e849beabba
Initial work towards various IO cleanups with an eye to fixing https://github.com/fish-shell/fish-shell/issues/110
2013-08-19 18:06:24 -07:00
Konrad Borowski
2979d3bf16
Fix #684 by putting newline after $argv
...
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 )
2013-08-18 10:57:33 +02:00
ridiculousfish
88efc73797
Actually commit the no-scope-shadowing to . function
2013-08-17 17:04:16 -07:00
ridiculousfish
77b13d02f0
Fix "." function to not shadow scopes, so the tests pass again. Remove eval's use of "." function.
2013-08-17 17:00:15 -07:00
Konrad Borowski
3e115b7a85
Mac OS X doesn't support uname -o. Use uname instead.
...
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.
2013-08-16 20:48:44 +02:00
Konrad Borowski
5818289c2d
Deprecate "." command. Fixes #310 .
...
Needs documentation (for the new name), but manages to move . to source,
while preserving compatibility.
2013-08-14 18:43:09 +03:00
Konrad Borowski
d407d680ea
Show path containing current disk drive in Windows in title
2013-08-14 12:21:17 +03:00
Konrad Borowski
feb36e7342
Show drive letter under Cygwin
...
/c/c looks awful, and C:/ is simply better.
2013-08-14 12:11:09 +03:00
Konrad Borowski
8ab81e6d4b
Implement 'help' for Cygwin.
2013-08-13 17:26:38 +03:00
Konrad Borowski
4fc2ee1bd4
Implement 'open' for Cygwin.
2013-08-13 17:21:40 +03:00
Konrad Borowski
64921fe08a
Fix hostname command under Cygwin with Unicode characters
...
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).
2013-08-12 09:56:03 +03:00
Konrad Borowski
79d5ff0350
Fix ls command under Cygwin
...
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.
2013-08-12 09:38:17 +03:00
Kevin Ballard
0bf5316249
git_prompt: Default upstream_prefix to nothing
...
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.
2013-08-05 12:41:58 +08:00
Kevin Ballard
969928e500
git_prompt: Fix bad test if bash.showUntrackedFiles isn't set
2013-08-05 12:41:58 +08:00
Brian Gernhardt
82b589e390
git_prompt: Make informative separator configurable
...
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.
2013-07-30 11:31:24 +08:00
Brian Gernhardt
b280cc5e75
git_prompt: Change informative character defaults
...
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
2013-07-30 11:31:24 +08:00
Brian Gernhardt
1964b04ea9
git_prompt: Show upstream with informative status
...
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.
2013-07-30 11:31:24 +08:00
Brian Gernhardt
c4bc216815
git_prompt: Informative upstream with informative status
...
This makes $__fish_git_prompt_showupstream = "auto" mean "informative"
instead of "git" if $__fish_git_prompt_show_informative_status is set.
2013-07-30 11:31:24 +08:00
Konrad Borowski
0479f0ad63
Remove useless debugging code
2013-07-27 17:08:06 +02:00
Brian Gernhardt
aa8b3cb6d6
git_prompt: fix non-informative upstream
...
`test -n informative` will always succeed. We want to test the
informative variable instead so that other modes can still work.
2013-07-27 10:35:46 -04:00
Brian Gernhardt
c62d9c37d2
git_prompt: Repaint when show_informative_status is changed
2013-07-27 09:59:36 -04:00
Brian Gernhardt
70fbb4623f
git_prompt: Fix resetting colors in informative_status
2013-07-27 09:58:45 -04:00
Brian Gernhardt
8dd9602f06
git-prompt: Document informative_status changes
2013-07-26 22:05:07 -04:00
Brian Gernhardt
92d2e681d6
git-prompt: Move status_order to near informative_status
...
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.
2013-07-26 22:05:07 -04:00
Brian Gernhardt
c82dbaca8b
git-prompt: Ensure repaint on all char and color changes
...
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.
2013-07-26 22:05:07 -04:00
Brian Gernhardt
6faeb71770
git_prompt: don't save output of ls-files for untracked files
...
based on git.git 14d7649: "bash prompt: avoid command substitution
when checking for untracked files"
2013-07-26 22:05:07 -04:00
Brian Gernhardt
d534b0ba81
git_prompt: Call git rev-parse
less often
...
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
2013-07-26 22:05:07 -04:00
Brian Gernhardt
87a0363ba7
git_prompt: remove __fish_git_prompt_git_dir
...
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()"
2013-07-26 22:05:07 -04:00
Brian Gernhardt
0005702399
git_prompt: print unique detached HEAD abbreviated object name
...
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"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
8642a1e68e
git_prompt: Display head for simple rebase
...
based on git.git 1306321: "prompt: fix for simple rebase"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
ec1d2e86c8
git_prompt: Add __fish_git_prompt_char_stateseparator
...
Unlike the rest of the __fish_git_prompt_char_* variables, it does not
have its own color because the most likely values are a space and
nothing.
based on git.git 15a54fb: prompt: introduce GIT_PS1_STATESEPARATOR
2013-07-26 22:05:06 -04:00
Brian Gernhardt
2a46b984cd
git_prompt: show where rebase is at when stopped
...
Adds a progress indicator to the rebase messages. (e.g. |REBASE 2/5)
based on the git-prompt portion of git.git b71dc3e: "bash-prompt.sh:
show where rebase is at when stopped"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
5a7b85adc7
git_prompt: use REVERT_HEAD
...
git revert was taught to revert multiple commits, and it stores it
branch information in REVERT_HEAD just like the other *_HEAD files.
based on git.git 3ee4452: bash: teach __git_ps1 about REVERT_HEAD
2013-07-26 22:05:06 -04:00
Brian Gernhardt
914f83cb10
git_prompt: add bash.showUntrackedFiles option
...
The option was added in git.git 66cb5d4, so pay attention to it like
we do the other bash.* options.
2013-07-26 22:05:06 -04:00
Brian Gernhardt
db969dc85a
git_prompt: __fish_git_prompt_showcolorhints
...
Based on GIT_PS1_SHOW_COLORHINTS, it introduces more color by default
and also changes the color of the branch name based on if it is a real
branch or detached.
Based on the following commits from git.git:
9b7e776: show color hints based on state of the git tree
9b3aaf8: Fix up colored git-prompt
76c36c0: coloured git-prompt: paint detached HEAD marker in red
2013-07-26 22:04:22 -04:00
Brian Gernhardt
5b39d1819f
git_prompt: Add defaults to set_color
...
This is mostly useful for the next commit that will have different
colors default to different values, but it has one immediate change:
all __fish_git_prompt_color_* variables now default to
__fish_git_prompt_color instead of to nothing, as they used to.
2013-07-26 22:03:45 -04:00
Brian Gernhardt
3fe1adfc6d
git_prompt: Expand color/character explinations
...
This will be getting more complicated when I add the showcolorhint
option from git.git.
2013-07-26 22:03:45 -04:00
Brian Gernhardt
0af49d0533
git_prompt: Update documentation
...
* The original __git_ps1 function has split from the rest of
git-completion as of git.git af31a45
* Use the description for GIT_PS1_DESCRIBE_STYLE (added in git.git
50b03b0) for __fish_git_prompt_describe_style
* Update the description of __fish_git_prompt_showupstream to include
the meaning of '=' based on git.git f9db192: "Improve the
description of GIT_PS1_SHOWUPSTREAM"
* Note that the PROMPT_COMMAND versions of the command with extra
arguments don't work, in case someone used to the bash version is
looking for it.
* Note that I am updating the script so Kevin Ballard doesn't get
blamed for anything I break.
2013-07-26 21:50:21 -04:00
Brian Gernhardt
d5c1bf98d7
git_prompt: Add branch information for rebase
2013-07-26 16:10:38 -04:00
Brian Gernhardt
5753fa2106
git_prompt: Merge operation, branch, and bare helpers
...
Operation and branch detection are merged together in the original
because branch information may come from different places depending on
the operation.
Merging the bare helper in helps avoid testing for the working
directory and bare status twice, both of which requires forking a new
process.
Also helps the code match the original more, which will make adding
new features easier.
2013-07-26 16:10:33 -04:00
Brian Gernhardt
31b01f8de3
git_prompt: Reorder show_upstream to match original
...
This makes it easier to see if there are any changes. Also it puts
all of the extra functionality together instead of mixed in with
everything else.
2013-07-26 16:06:23 -04:00
Konrad Borowski
222e36ee3e
Fix make command completion. Fixes issue #928 .
...
Previously, TAB on make CC=/us caused CC=/us/usr/ to appear. This
commit fixes this, by properly removing part after equals sign.
2013-07-25 15:06:39 +02:00
Konrad Borowski
58ad04b61c
Avoid standard command not found message when command-not-found is found
...
Squashed commit of the following:
commit c208bc30b7747b3743212483b3dd7e3f90819f49
Merge: 97bea94
2633372
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Fri Jul 19 09:56:12 2013 +0200
Merge branch 'command-not-found' of git://github.com/GlitchMr/fish-shell into command-not-found
commit 26333721b9
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Fri Jul 19 09:55:13 2013 +0200
Fix command_not_found when not found
commit db34460bb5
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Wed Jul 17 13:41:57 2013 +0200
Avoid showing standard command not found message when possible
In bash, command-not-found handler causes the standard messages to
not appear. Because of events model in fish, it isn't really an
option, so I moved the standard command not found message to
fish function. This way, the messages aren't repeated, and the
standard command not found message appears only when handler
couldn't be found.
2013-07-19 09:56:47 +02:00
Konrad Borowski
97bea94550
Fix canto completion
...
-d option was forgotten, causing error for last complete command
2013-07-19 09:28:05 +02:00
Johann Weging
51ae9b3ed4
Add completion for canto.
2013-07-19 09:24:00 +02:00
Siteshwar Vashisht
7353c6f94d
Fixed ftp completions
...
Merged pull request at https://github.com/fish-shell/fish-shell/pull/919
Squashed commit of the following:
commit c0662a9d4da12ba49ffe1dddc918533f8a52b91f
Author: Siteshwar Vashisht <siteshwar@gmail.com>
Date: Thu Jul 18 21:23:42 2013 +0530
Added missing quote in ftp completions
commit 9ef408d039
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Thu Jul 18 15:33:57 2013 +0200
Make punctuation consistent properly. Fixes #918 .
commit ea26da0f82
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Thu Jul 18 15:29:02 2013 +0200
Revert "make punctuation consistent"
This reverts commit 993c028579
.
2013-07-18 21:26:32 +05:30
raichoo
cabebd9f51
Fix broken darcs completion
2013-07-16 12:37:30 -07:00
ridiculousfish
886c4320d6
Merge branch 'informative_git' of git://github.com/mariuszs/fish-shell into mariuszs-informative_git
2013-07-11 12:26:25 -07:00
Siteshwar Vashisht
379cf3d249
Converted tabs to spaces in webconfig script
2013-07-06 21:09:20 +05:30
Siteshwar Vashisht
0fe44f0e2a
Cleaned up commented lines and updated method names in create_manpage_completions script
2013-07-06 20:57:41 +05:30
Konrad Borowski
7e7b50cd74
Put user paths at beginning
2013-06-22 17:15:43 +02:00
David Celis
0b8f7d4fe7
Add completion for Bundler
...
Signed-off-by: David Celis <me@davidcel.is>
2013-06-20 00:05:28 +08:00
Mariusz Smykuła
a3c87fb30b
Less code is better, __fish_git_prompt_validate_chars refactoring
2013-06-18 22:40:09 +02:00
Mariusz Smykuła
228fa38240
Renaming, cleanup
2013-06-18 22:26:43 +02:00
Mariusz Smykuła
a142c5e1ec
Support for defining color with bold/brighter color set
2013-06-18 22:20:28 +02:00
Mariusz Smykuła
4702283280
Less code is better, __fish_git_prompt_validate_colors refactor
2013-06-18 21:49:53 +02:00
Mariusz Smykuła
918df393e6
Use tabs, sample prompt
2013-06-18 08:52:32 +02:00
Mariusz Smykuła
1e415a9943
Fixes, new method added to prompt
2013-06-17 23:06:05 +02:00
Mariusz Smykuła
c955379971
Added informative status method
2013-06-17 22:20:56 +02:00
Mariusz Smykuła
1debe4f055
Informative version of __fish_git_prompt_show_upstream
2013-06-17 19:29:34 +02:00
Mariusz Smykuła
9b9ce31550
Fix variable name
2013-06-17 19:26:21 +02:00
James French
292908c00a
Portmaster completions
...
* Added FreeBSD's pkg to __fish_print_packages
* Portmaster completes on installed packages and ports
* Options list as per fish_generate_completions, needs to be tidied
up further but will suffice for now
2013-06-17 00:14:16 -07:00
Ivan Giuliani
e027492e11
Added completions for Vagrant
2013-06-17 00:11:34 -07:00
Brian Gernhardt
70208eb33a
git prompt: Fix hang on detached head.
...
$git_dir was never set in __fish_git_prompt_current_branch, but used
in the case of a detached HEAD. This caused `cut -c1-7 $git_dir/HEAD`
to expand to `cut -c1-7` which then waited for input.
2013-06-12 16:29:02 -04:00
ridiculousfish
825a7311ea
Make funced properly handle an invalid number of arguments
...
Fixes https://github.com/fish-shell/fish-shell/issues/780
2013-06-08 20:29:38 -07:00
James French
e63ef84ac1
Added completions for apt-mark
2013-06-04 20:21:46 +08:00
Brian Gernhardt
697c44a293
git prompt: replace question with explanation
...
The code in question displays GIT_DIR! if the user is inside the .git
directory of a repository that has a working directory. Several git
commands won't work in that situation, so it's useful to warn the
user.
2013-06-03 13:04:16 -04:00
Brian Gernhardt
18e34902a5
git prompt: actually show staged token
2013-06-03 13:00:14 -04:00
Brian Gernhardt
4b0c3ffc2f
git prompt: reindent
...
Normally I wouldn't bother, but it was difficult to follow the nested
if statements. Most of the file used tabs, so replaced all leading
spaces with the appropriate amount of tabs.
2013-06-03 12:59:50 -04:00
David Adam (zanchey)
b4d33a58b1
rsync completions: use rsync --list-only to generate completions, allowing the use of rsync daemons
2013-06-03 20:04:32 +08:00
James French
c177965da5
Rsync Remote Path Completion
...
Relevant section lifted from scp.fish
Silenced SSH output to squash banners and failed connections
Erroneous 'and true' removed
echo (commandline -ct) is exactly the same as commandline -ct
2013-06-03 20:04:32 +08:00
ridiculousfish
fd15d30987
Add some const, fix spaces
2013-06-02 01:14:05 -07:00
Christian Rishøj
a259c37415
transpose-words
2013-06-02 00:59:22 -07:00
Johann Weging
54c21f5974
Fixed the capitalization and shorten the descriptions.
2013-06-02 00:54:25 -07:00
Johann Weging
08f378c359
Added completions for head
2013-06-02 00:54:25 -07:00
Johann Weging
58818e9738
Added completions for netctl
2013-06-02 00:36:40 -07:00
Terje Larsen
599556d7d1
Add completions for lunchy (Service launcher for OSX)
...
Now when we have fuzzy matching it is actually quite useful.
2013-06-02 00:27:07 -07:00
ridiculousfish
9ca12e9f9d
Squashed commit of the following:
...
commit 5a577d970a293afe320b6c3280c10c2bd8a1ff50
Merge: 908b075
96941b3
Author: ridiculousfish <corydoras@ridiculousfish.com>
Date: Sat Jun 1 22:59:16 2013 -0700
Merge branch 'dotdir-two-chars' of git://github.com/GlitchMr/fish-shell into GlitchMr-dotdir-two-chars
commit 96941b3a92
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Sat May 25 09:55:43 2013 +0200
Support BSD sed
commit 60652c2bd2
Author: Konrad Borowski <glitchmr@myopera.com>
Date: Sun May 19 10:58:40 2013 +0200
Show first two characters for dotdirs. Fixes #754 .
2013-06-01 23:02:13 -07:00
ridiculousfish
ee7339b661
Merge branch 'completions-git-add' of git://github.com/phisto/fish-shell into phisto-completions-git-add
...
Conflicts:
share/completions/git.fish
2013-05-25 14:10:18 -07:00
Dag Odenhall
c06b1694a2
Parse man8 pages with fish_update_completions
...
Closes #727
2013-05-25 13:57:10 -07:00
ridiculousfish
c238bdd861
Indentation and quote cleanup of help.fish
2013-05-25 13:52:06 -07:00
David Adam (zanchey)
d378904b98
help function: tidy up messages, remove the 'difference' option
...
Fixes #73
2013-05-25 13:47:34 -07:00
David Adam (zanchey)
3a4a2a6dac
help command: only use $BROWSER if it is a valid command
...
(plus add Google Chrome and Chromium to graphical_browsers and a spelling fix)
2013-05-25 13:47:34 -07:00
Valentin-Costel Hăloiu
cdfb5c2bd8
Add systemctl completions
2013-05-25 00:43:03 -07:00
Konrad Borowski
8f9ba2cd09
Escape question mark in ack completion
...
I haven't noticed that because I tested ack in directory with one file.
After @gfxmonk sent issue #797 , I have noticed the problem. This patch
fixes #797 by escaping question mark.
2013-05-25 00:27:30 -07:00
Christian Rishøj
f32dfe2da6
command and binding for transpose-chars
2013-05-24 23:56:12 -07:00
Marc Qualie
9169a673d5
Slightly modified this theme to match robbyrussel
...
I recently switch from ZSH to Fish shell and noticed that this theme is slightly different to the one provided by ZSH. I edited my own using funced but thought it might be useful for other people who are used to the ZSH interface.
2013-05-24 23:18:24 -07:00
ridiculousfish
37123ee053
Squashed commit of the following:
...
commit 4a9595845111bcc8d45419241f8f49bc3e8b3445
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:45:58 2013 +0200
use the new functions
commit 1c934ebbe65a82e92079952b15f31d3a92bc5e8f
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:45:21 2013 +0200
moves formatting code to the bottom in order to get it out of the way of all the colour handling
commit c62f827143c30f6810026c7e4a3d8b77178cd9a4
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:44:12 2013 +0200
adds helper returning whether or not there are staged files
commit 624e47cb85a7579bf284a6a7f0c9165dfa38b0ce
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:43:41 2013 +0200
adds helper returning whether or not the current branch is dirty
commit efc270da7b0998f564a7d2ae4ea3013ed6910e58
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:42:48 2013 +0200
adds helper returning whether or not a repo is bare
commit 0da668316cedb8e3fa166977be82c917ef67ad86
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:41:55 2013 +0200
adds helper returning current branch
commit 15cbcedc77199aea1868faee5d178d9547a4d541
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:41:10 2013 +0200
adds helper returning current operation
commit c3352d3e9e60bf94fd4bf412ad85d62bba4cbff8
Author: Harm Aarts <harmaarts@gmail.com>
Date: Fri May 24 10:40:20 2013 +0200
adds helper returning the git dir
commit f346e52b7814ebf1eed55f006c3bedc8ece38e3b
Author: Harm Aarts <harmaarts@gmail.com>
Date: Mon May 20 18:52:19 2013 +0200
use the fish_git_prompt_char_* variables
2013-05-24 23:15:46 -07:00
Bodo Tasche
c2616e385c
Added darwin uname completions, fixes #778
2013-05-24 23:11:45 -07:00
ridiculousfish
5297d46017
Squashed commit of the following:
...
commit bb27562af5333f84b9995b50b59c767eaae12f7c
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 04:18:09 2013 +0200
Enhance completions for git rebase
commit e9f69ea4f9deb7a7c9284148591ff2075748ab8c
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:56:51 2013 +0200
Enhance completions for git merge
commit 75974f9c2468b381069f11f8e1a03e86af1e47d7
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:40:27 2013 +0200
Enhance completions for git add
commit ec6aeab105f351a6d2184078d84d32bb12df3204
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:16:48 2013 +0200
Enhance completions for git tag
commit c3a1c17c436a670588a692240a562e2436538498
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 03:09:13 2013 +0200
Add git completions for stash
commit 40baae8c75151be753da9efc309287662818d93d
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 02:54:19 2013 +0200
Enhance completions for git push
commit 6d9023bb744f80e33481f765d542a17ecf6ccf19
Author: Terje Larsen <terlar@gmail.com>
Date: Mon May 20 02:32:27 2013 +0200
Enhance completions for git pull
2013-05-24 23:08:51 -07:00
Max Gonzih
994e9fe9de
Implement subcommand arguments completion for zypper package manager
2013-05-24 20:52:34 -07:00
Max Gonzih
e63a2a2152
Add completion for zypper pkg manager (openSUSE)
...
Implemented subcommand completion, global arguments completion
Not implemented yet subcommand arguments completion
2013-05-24 20:52:34 -07:00
Patrick Browne
2997ce2e3c
quote command for it to be ran every time
2013-05-24 15:09:57 +02:00
Patrick Browne
b8028c1b1d
added options for git add
2013-05-24 14:10:00 +02:00
Patrick Browne
568de8157a
added completion for git add --patch
2013-05-24 14:01:47 +02:00
ridiculousfish
8befc474c1
Ugly hack to move functions in sample prompts inside fish_prompt to address #736
2013-05-13 10:17:31 -07:00
ridiculousfish
622efba247
Space -> tab in ack completion to match rest of file
2013-05-13 02:06:18 -07:00
Dag Odenhall
ce0c52d353
Silence errors when ack doesn't support --dump
...
It seems to be new in ack 2.x and with 1.96 I get error messages when
the ack completions are loaded.
2013-05-13 02:04:53 -07:00
David Adam (zanchey)
b03515276e
update darcs completions
2013-05-13 01:59:50 -07:00
David Adam (zanchey)
30af350be0
update cvs completions
2013-05-13 01:59:50 -07:00
ridiculousfish
2f5016262a
Attempt again to fix UnicodeDecodeError (issue #658 )
2013-05-12 01:57:42 -07:00
Dag Odenhall
2b99190a1b
Add completions for cabal; closes #567
2013-05-04 12:48:38 -07:00
Tin Tvrtkovic
3087f57453
Manually cleaned up Mercurial completions.
2013-05-04 12:44:03 -07:00
ridiculousfish
6496adf101
Make trap sort of work on OS X
...
https://github.com/fish-shell/fish-shell/issues/607
2013-04-28 16:31:25 -07:00
ridiculousfish
79f8d5c51e
Fix __fish_filter_mime to not pass 0 to seq
2013-04-28 15:59:33 -07:00
ridiculousfish
ab385cd609
Teach fish about rxvt's special key bindings
...
https://github.com/fish-shell/fish-shell/issues/657
2013-04-28 14:36:11 -07:00
Tin Tvrtkovic
32c1d50887
Refactored out individual VCS completions.
...
Autogenerated completions for Mercurial using a recent version (no extensions installed).
2013-04-28 14:54:59 +02:00
Adam
330faab6cd
Typo in tar completion (vevrify->verify)
2013-04-27 14:48:33 +02:00
ridiculousfish
807c5f2ef2
Squashed commit of the following:
...
commit 839e9c2ec00fcd72b19f1d415bee26af7f51f8aa
Author: lledey <lledey@gmail.com>
Date: Tue Apr 23 13:28:23 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com>
commit 7798ed05744636f67d177bcb47d48d6aeca12787
Author: lledey <lledey@gmail.com>
Date: Tue Apr 23 10:35:35 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com>
2013-04-26 21:42:31 -07:00
ridiculousfish
f7708955b6
Make ack completion not spew to stderr if ack is not installed
2013-04-26 21:33:17 -07:00
Konrad Borowski
be9024767e
Allow dynamicly adding types
2013-04-26 12:08:11 -07:00
Konrad Borowski
a1a83f8880
Insanely long ack completion
2013-04-26 12:08:11 -07:00
Siteshwar Vashisht
6889232b41
Moved lein.fish under share/completions
2013-04-21 10:55:41 +05:30
Thomas Kühnel
7c6695354e
Append / to the end of directories for scp completion as suggested by https://github.com/fish-shell/fish-shell/issues/42#issuecomment-7205032
2013-04-20 13:26:06 -07:00
ridiculousfish
2517832718
Teach fish_config how to find fish from __fish_bin_dir
...
Fixes https://github.com/fish-shell/fish-shell/issues/621
2013-04-15 14:15:47 -07:00
ridiculousfish
1c5556334d
Try to fix UnicodeDecodeError in create_manpage_completions.py
...
https://github.com/fish-shell/fish-shell/issues/658
2013-04-15 01:05:56 -07:00
hansstimer
299d803396
Update go.fish
...
Fix typo for vet subcommand
2013-04-14 16:13:50 -07:00
Hans Stimer
d513ace39d
add completion for the Go tool
2013-04-14 16:13:50 -07:00
ridiculousfish
0e24676144
Fix to make create_manpage_completions work with Python 3
...
Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
2013-04-14 02:03:53 -07:00
ridiculousfish
b0132821ac
Use 'command git' instead of git to defeat certain git aliases
...
https://github.com/fish-shell/fish-shell/pull/622
2013-04-14 02:03:53 -07:00
Greg Dietsche
6de30028a8
tmux: make session auto-completion user friendly
...
make it more user friendly by matching the output of:
tmux list-sessions
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Greg Dietsche
c78c1427be
tmux: use status-left short flags
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Conflicts:
share/completions/tmux.fish
2013-04-12 14:03:26 -07:00
Greg Dietsche
953e7fd717
tmux: implement Status Line
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Greg Dietsche
1ae08cfedf
tmux: implement ENVIRONMENT
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-12 14:03:26 -07:00
Konrad Borowski
aa78292c2a
Update apt-get completion. Fixes #652 .
2013-04-09 22:04:04 +05:30
Greg Dietsche
993c028579
make punctuation consistent
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:47 -07:00
Greg Dietsche
9285ade8a8
ftp: add support for ftp and pftp
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:49:46 -07:00
Greg Dietsche
83e9f0dd91
grep: add support for egrep, fgrep, rgrep
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
Greg Dietsche
c641f5cbdc
grep: fix and add completions
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-07 16:42:28 -07:00
ridiculousfish
fccf38a4d6
Don't pass 0 to seq because BSDs are dumb. Pipe tmux stderr to /dev/null
2013-04-04 21:52:23 -07:00
ridiculousfish
46edc49ede
Squashed commit of the following:
...
commit 6259665e972d478f1ce4ab3d233033ec1dd7eef2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Thu Apr 4 11:02:35 2013 -0500
change spaces to tabs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 465333d982db441f430767b645fdcd95e44cc5d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Wed Apr 3 11:15:22 2013 -0500
tmux: implement completion for panes
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 684baf98a6ac070847f20a02838abe58e8c22d5b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 23:56:27 2013 -0500
tmux: don't suggest dirs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c4a9854a1f173866439f976301b743354c945c8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:57:40 2013 -0500
move front flags to the top of the tmux file
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7f2321e9cd20a5aa2bcbfe940e20ec57bcca2609
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 20:06:54 2013 -0500
fix some of the initial parameters
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f70fc55bed40c0ccd2a00921c0e7373e7c18b5d7
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 21:47:25 2013 -0500
implement tmux KEY BINDINGS
implement the commands in the KEY BINDINGS man page section
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit ec423040dba742f67c06dbb932417f6d19b90fba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Tue Apr 2 00:10:43 2013 -0500
implement tmux completion for CLIENTS AND SESSIONS
Fully implement all tmux commands found in the tmux man
page section titled: "CLIENTS AND SESSIONS"
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-04 21:52:06 -07:00
Valerii Hiora
c05281492d
Improved brew completion
...
Using arg completion
Context-based completion for most of commands (i.e. only installed
packages for upgrade or remove, only outdated for upgrade and so on)
2013-04-04 21:41:59 -07:00
ridiculousfish
5cebd3abf7
Teach git completion about difftool. Change __fish_git_ranges to output branches as designed.
2013-04-04 21:36:13 -07:00
ridiculousfish
0970487cca
Some spaces to tabs in __fish_print_hostnames
2013-04-03 18:46:50 -07:00
Greg Dietsche
d38f1380e9
Ignore hashed host names in ssh/known_hosts
...
Valid DNS names cannot have a | character and hashed ssh hosts
always begin with the | character. Therefore we ignore lines that
begin with |.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
Greg Dietsche
2626b83b08
the host keyword in ssh/.config is case insensitive
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-03 18:45:13 -07:00
ridiculousfish
2a6412481e
Fix a few more spelling / grammar issues in functions and completions
2013-04-01 10:52:27 -07:00
ridiculousfish
b4447bfa4d
Squashed commit of the following:
...
commit 1bbde16b17f04903340206bada9935ea64f785ba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:12:22 2013 -0500
fix spelling in xterm.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 392dd59da76e6a1293db79733e1975dbb9ef4032
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:10:08 2013 -0500
fix spelling in type.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f82026828e4c08bdf355176f86489783c57efc80
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:09:34 2013 -0500
fix spelling in top.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 196f2ec59c0904eb13159d1063e2e6c6edbd50a8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:08:16 2013 -0500
fix spelling in scrot.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8400d97dce93afe48612c66eb8ddc2bd06b40968
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:07:48 2013 -0500
fix spelling in scp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b68bb3f36915520d2c271e48e2d5356e087e9fcf
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:04:30 2013 -0500
fix spelling in mount.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97000184afde10ca26b6dda8597baa0593bb4e09
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:01:46 2013 -0500
fix spelling in hg.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 87ca4e71ce57842ab98e4d6b6f9274aafd9713a5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:37 2013 -0500
fix spelling in gzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 17246a21ad3df39660e6b4c86bf8c6a2239b416b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 01:00:07 2013 -0500
fix spelling in gunzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0f618600508695ed5a93110568343f8a783db8c5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:59:37 2013 -0500
fix spelling in grep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit bacf6a62041d13f1766e90748cfc2c76e1b04b98
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:58:16 2013 -0500
fix spelling in git.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f8f6a1914a8f2f60a14dac532f1d63dd8269f676
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:56:45 2013 -0500
fix spelling in fuser.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit dcdfd1552dfd360d1ce808706bc401d52cce22ce
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:54:58 2013 -0500
fix spelling in effectv.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7b4388364f546b81f0557c500bb6a5207931c3be
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:53:45 2013 -0500
fix spelling in du.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0450070e98adae2ebe19806f4fb74386a50de003
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:52:55 2013 -0500
fix spelling in df.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 49ae24ae0dbd06c72e6c994f1ea4ca9b385fdda5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:49:00 2013 -0500
fix spelling in cut.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4eccc923f389e2fc0c498fc63e4bbeeccc177e9a
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:47:21 2013 -0500
fix spelling in compare.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8c0cfb91c596ef7a1583877c8f38fab7e867cff2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:46 2013 -0500
fix spelling in chown.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 4518b06c3fc8c565038ccbeeb0d2f8aea73e1ee0
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:46:08 2013 -0500
fix spelling in chgrp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit a0a4fb3dc271c469482e87a0f9efab4016596f82
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:43:04 2013 -0500
fix spelling in apt-setup.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 740e75e5316e73fb03c00bd9b482786d1f387cc5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:42:25 2013 -0500
fix spelling in apt-rdepends.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7a2727bcb96e58a023d0f8ab807f839e76555375
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:27:27 2013 -0500
fix spelling in fish_complete_pacman.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 0e28ff4c1c90bdbf1e1b780d0ab3c2ba04b3a463
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:26:17 2013 -0500
fix spelling in fish_complete_pgrep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 1ca9fad713c460debcd851dfcffa135f3b579561
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:24:13 2013 -0500
fix spelling in trap.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit deb0c2129d50d627d720cbd549cf8aadc3113243
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:19:00 2013 -0500
fix spelling in fish_not_contain_opt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 8a40bd08b37d5c80041b7beb58fb82d9b0592b5d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:18:16 2013 -0500
fix spelling in fish_make_completion.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit f1c48dc8236a8eb5ba0e45e985e8dd7eadfb88e5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:17:09 2013 -0500
fix spelling in fish_gnu_complete.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b6813883d9355f8e15917769d46b58cc8fab840d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:16:33 2013 -0500
fix spelling in fish_git_prompt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 97e3e74ddb743061a8e4349bf7895cf98cf9d9b2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:13:11 2013 -0500
fix spelling in fish_complete_vi.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 7c31d5fec8f855fbc3496be7200915a1d2dc4d46
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:10:47 2013 -0500
fix spelling of in fish_complete_tex.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 3f06bdb91942c4d0e686d1bb8b5eff1983a91304
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:06:45 2013 -0500
fix spelling in fish_complete_list.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit 5bfd9ef40547b744c9bbfb4cc6f8a7d880d8f3d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Mon Apr 1 00:03:14 2013 -0500
fix spelling in fish_complete_atool.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
commit b84a43ff0bad5e206a591891b6c7ff9028e14eb5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Date: Sun Mar 31 23:40:28 2013 -0500
fix spelling of protocol in fish_complete_ssh.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
2013-04-01 10:49:02 -07:00
ridiculousfish
7d480ff579
Make __fish_filter_mime not spew if there's no results
...
https://github.com/fish-shell/fish-shell/issues/628
2013-03-28 17:01:07 -07:00
Terje Larsen
7e9652787b
Add completion for ruby-build
2013-03-13 23:19:03 +01:00
ridiculousfish
234fb7c2fe
Rename print_service_names to __fish_service_print_names
2013-03-12 12:00:02 -07:00
aliva
2c7e0ef577
service name completion for "systemd service manager" added
2013-03-12 19:13:52 +03:30
Kenneth Vestergaard
1afdbb848e
Minor fix to order of arguments in error-message.
2013-03-09 13:03:28 -08:00
aliva
3bfcd5e105
recreate yum-cache file every six hours.
2013-03-02 01:48:56 +03:30
aliva
87aca05e7f
autocomplete 'yum install' using yum cache
2013-03-01 23:27:03 +03:30
ormris debian
d89fcdcc5f
Add proper desriptions to "git submodule"
2013-02-26 16:24:28 -08:00
ridiculousfish
d99c2cb9a7
Support /etc/paths and /etc/paths.d/* on OS X
...
https://github.com/fish-shell/fish-shell/issues/417
2013-02-22 14:01:17 -08:00
Konrad Borowski
3c8c8a7559
Remove useless __fish_complete_perl function
2013-02-21 12:53:35 -08:00
Konrad Borowski
a61e2caadb
Update Perl completion
2013-02-21 12:53:35 -08:00
ridiculousfish
12095c721c
Remove unnecessary eval in __fish_complete_cd
...
https://github.com/fish-shell/fish-shell/pull/589
2013-02-20 18:43:54 -08:00
Kenneth Vestergaard
286bef5eb7
Fix crash when /etc/{fstab,hosts} is unreadable.
2013-02-20 12:30:36 -08:00
ridiculousfish
aaa0c25ff7
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
...
https://github.com/fish-shell/fish-shell/issues/527
2013-02-19 18:05:20 -08:00
Jan Kanis
2f43584727
small tweak to alias.fish: always add some prefix if in danger of infinite recursion
2013-02-19 22:58:55 +01:00
ridiculousfish
e7c1cb7185
Move autogenerated completions to ~/.config/fish/generated_completions/
...
https://github.com/fish-shell/fish-shell/issues/576
2013-02-17 16:14:36 -08:00
ridiculousfish
8b40f09e17
Add function wrapper for mimedb
2013-02-17 12:56:56 -08:00
ridiculousfish
db5eebd372
Add function for fish_indent so that it does not need to be in PATH, in preparation for making fish no longer need to set PATH
2013-02-13 14:44:10 -08:00
ridiculousfish
41fc3bcb74
Remove some debugging code inadverently left in __fish_complete_cd.fish
2013-02-11 14:42:23 -08:00
Jan Kanis
e8da9999f6
optimize 'alias', fixing bug #486 . Also some minor optimizations in 'type'
2013-02-05 23:14:06 +01:00
ridiculousfish
cd276030c1
Tweak config.fish to only modify PATH once, for performance
2013-02-01 17:18:12 -08:00
ridiculousfish
818533f9f0
Add a newline to prevent a comment from being cut off
2013-02-01 17:15:35 -08:00