Clément Martinez
67f3c01396
Add gorename completions
2016-06-08 13:40:27 +02:00
Clément Martinez
536d6cebd9
Add golint completions
2016-06-08 13:40:27 +02:00
Clément Martinez
7a97095583
Add goimports completions
2016-06-08 13:40:27 +02:00
Clément Martinez
f37dafdf52
Clean udisksctl
2016-06-08 08:32:50 +02:00
Clément Martinez
c84137aec8
Clean netctl-auto and udiskctl completions
2016-06-07 20:41:04 +02:00
Clément Martinez
f1dc1cd92b
Add udisksctl autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
41f2344cea
Add termite autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
a965a71079
Add poweroff autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
913624cbfa
Add netctl-auto autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
220fd418a7
Add mkdir autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
5dda908c1f
Add gofmt autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
b7f45c3783
Add godoc autocomplete
2016-06-07 16:50:28 +02:00
Clément Martinez
3a6e239437
Add alsamixer autocomplete
2016-06-07 16:50:28 +02:00
Fabian Homborg
32a585a52b
git completions: Only take general options before command
2016-06-04 12:27:06 +02:00
Fabian Homborg
410d92ed61
git completions: Ignore stderr everywhere
...
This allows us to run git commands outside of a git repo.
Fixes #3114 .
2016-06-04 12:26:06 +02:00
Hunsu
24d6f6d066
Add completions for git blame command ( #3094 )
2016-06-02 12:49:01 +02:00
Jorge Bucaran
aee9d2c9d7
Do not hardcode RGB values in color definitions.
2016-06-01 21:50:19 -07:00
Jens Fredskov
29c38d73a2
correct __fish_contains_opts to __fish_contains_opt ( #3102 )
...
Completion throws and error about the command `__fish_contains_opts` beings unknown. It seems to be a simple typo, as all other completions use `__fish_contains_opt`
2016-06-01 23:58:38 +02:00
Fahri Cihan Demirci
8d11bb9f86
Add Purge Subcommand Completion for Apt ( #3097 )
2016-06-01 00:56:22 +02:00
Fabian Homborg
2768d2ea06
Style fixes for fish_vi_cursor
...
"$fcn"
[ci skip]
2016-05-30 16:40:49 +02:00
Andreas Wagner
3d19b549c8
Fix utf-8 decoding error in file_is_overwritable of create_manpage_completions.py
2016-05-29 14:12:32 -07:00
Fabian Homborg
bfb5fec330
Remove stray "0" output from man completions
2016-05-29 14:34:20 +02:00
Fabian Homborg
0d257fd651
Man completions: Don't show sections when completing pages
2016-05-29 14:31:42 +02:00
Fabian Homborg
ebde55f704
Man completions: Show all pages for a section
...
If one is given, of course.
2016-05-29 14:31:12 +02:00
Fabian Homborg
f23464001f
Indent __fish_git_prompt
2016-05-29 14:10:10 +02:00
Fabian Homborg
0882e0cb95
Git prompt: Remove legacy option
...
Git has supported `rev-list --count` for years, so this shouldn't be
needed anymore.
2016-05-29 14:07:15 +02:00
Fabian Homborg
763c620d0b
Stringify git prompt
2016-05-29 14:06:12 +02:00
Fabian Homborg
2871096f9c
git completions: Add general options
...
These are the options between `git` and the subcommand.
Fixes #3087 .
2016-05-29 13:59:22 +02:00
Fabian Homborg
8e88b29eeb
Git prompt: Shorten the sha ourselves
...
Possibly fixes #3083 .
2016-05-28 19:30:29 +02:00
Fabian Homborg
aaaea44714
Git prompt: Only shorten sha if needed
...
This speeds up the common case when IO is slow, e.g. when used with
sshfs.
We only use the short sha for figuring out whether the state is
valid (for which a long sha should also work) and for display when HEAD
is detached (I think that's the correct git-ism).
Working towards #3083 .
2016-05-28 17:58:29 +02:00
Fabian Homborg
d79a5a3152
Funced: Make removal safer, take two
...
Now we try to remove the file and then the directory, without forcing
anything, showing any (quite unexpected) error to the user, once.
2016-05-28 12:34:04 +02:00
Frederik “Freso” S. Olesen
7af9e1f5c5
Split off __fish_complete_blockdevice from mount.fish.
...
The __fish_complete_blockdevice function can be useful to other
completions than mount.fish, so it should live on its own so its
available to those.
2016-05-27 14:56:47 -07:00
Frederik “Freso” S. Olesen
980fb59232
Remove executable flag from pacaur completion.
2016-05-27 14:48:41 -07:00
Fabian Homborg
53c506f109
Run fish_indent on default_key_bindings
2016-05-25 16:10:16 +02:00
Fabian Homborg
7d1f45e25f
Add clipboard helper functions and bind them
...
\cy copies, \cv pastes.
2016-05-25 16:10:16 +02:00
Fabian Homborg
b9848538e3
Funced: Limit damage when removing tmpfile
...
This will now only forcibly remove _files_, not directories.
$tmpdir _should_ be something only we use in /tmp, but mktemp might screw up.
2016-05-24 13:55:09 +02:00
Dan Underwood
475439fa0b
Test for Atom Package Manager now passes correctly
...
Move to `string match` syntax from `grep` caused test to see if the Atom Package Manager is installed to always fail. This appears to fix the issue (tested on fish 2.3.0 with apm 1.6.0).
2016-05-24 11:24:01 +00:00
Fabian Homborg
dac8483f7e
Simplify some code in abbr
...
We actually need less duplication here.
2016-05-23 19:59:02 +02:00
Fabian Homborg
46f4819ffa
Fix printing "--" in abbr --show
2016-05-23 19:59:02 +02:00
Fabian Homborg
c238ad35bd
Fix "--" argument in abbr
2016-05-23 19:59:02 +02:00
Fabian Homborg
309e10e7a2
Don't mangle arguments in abbr
...
This now (rightly) throws an error if there's a space in the
key (because we can't store it).
Fixes #2997 .
2016-05-23 19:59:02 +02:00
Fabian Homborg
5accc7c6c5
Fix funced's tmpfile generation on OSX
...
OSX mktemp... isn't great, so work around that fact.
2016-05-23 00:49:09 +02:00
Fabian Homborg
60317190bd
Check validity of fish_key_bindings
...
This potentially leads to an unusable session (when fish_key_bindings is
set in config.fish to a value without corresponding function), so we
should take care.
2016-05-22 19:56:47 +02:00
Fabian Homborg
573b3797a5
Improve asp's package completion
2016-05-19 14:52:38 +02:00
Fabian Homborg
a0b3b8ac4c
Add networkctl completion
...
Very simple, but effective.
2016-05-19 14:50:25 +02:00
Fabian Homborg
4d63ebde15
Remove stray "=" from completions.
2016-05-19 14:29:04 +02:00
Fabian Homborg
9cee3f13a1
Implement src:dest for git push completion
...
This allows specifying a local branch to push to a certain remote
branch.
Fixes #3035 .
2016-05-19 14:11:27 +02:00
Fabian Homborg
8dc74de92e
Add completion for ip
...
This is quite ugly because the syntax is ugly, the documentation both
under- and overspecified at the same time (a BNF that isn't...) and it
has a lot of functionality.
But the completion works half-decent for `ip address`, so let's ship it.
2016-05-19 13:23:00 +02:00
Aaron Gyes
00e32a0909
Use fonts found on terminals for the web config.
...
Instead of just using Courier New across the board, have the
browser try several likely available fonts before defaulting
to the system's "monospace".
Thanks @MarkGriffiths
Fixes #2924
2016-05-18 11:21:14 -07:00
Kurtis Rader
51468b7646
add function --shadow-builtin
flag
...
It's currently too easy for someone to bork their shell by doing something
like `function test; return 0; end`. That's obviously a silly, contrived,
example but the point is that novice users who learn about functions are
prone to do something like that without realizing it will bork the shell. Even
expert users who know about the `test` builtin might forget that, say, `pwd`
is a builtin.
This change adds a `--shadow-builtin` flag that must be specified to
indicate you know what you're doing.
Fixes #3000
2016-05-14 20:38:32 -07:00