Commit Graph

1226 Commits

Author SHA1 Message Date
Shohei YOSHIDA bbfdc2635a Add file local variables for _golang 2020-05-17 21:27:32 +09:00
Paul Seyfert 815f3808a0 Update to go 1.14 2020-05-17 21:25:54 +09:00
vaporwavy a6e641b977 Fix typo in _cmake (#672) 2020-01-17 14:39:12 -08:00
kamimura 152abee68a change os name: Mac OS to macOS (#656) 2020-01-17 14:35:38 -08:00
Maxim Devoir 493984e7f1
Yarn | cross-platform sed replacement pattern newline solution (#666)
Some sed utilities (e.g. Mac OS / BSD) don't interpret `\n` in a replacement pattern as a newline.
2020-01-17 13:22:00 -08:00
Marc Cornellà e32536a208 _yarn: fix parsing of yarn run on scripts containing } (#668)
Fixes #667
2020-01-17 12:54:37 -08:00
nicoulaj 8def5f1583
Merge pull request #655 from danteu/cmake_add_parallel
cmake: Add `--parallel` build option
2019-10-08 18:55:29 +02:00
nicoulaj 87e131334f
Merge pull request #653 from MaximDevoir/feat/improve-yarn-suggestions
YARN | Improve suggestions for `yarn run` command
2019-10-08 18:54:55 +02:00
nicoulaj bbc8bada78
Merge pull request #654 from bondz/patch-1
Add --latest flag for yarn upgrade-interactive
2019-10-08 18:53:55 +02:00
nicoulaj 6e6468d51f
Merge pull request #649 from yan12125/port-new-subcommands
_port: add new subcommands 'bump', 'diagnose' and 'reclaim'
2019-10-08 18:50:09 +02:00
Maxim Devoir c9b335769c
revert: suggest binaries on `yarn`
This behavior is the same as before c6bdbc69e1
2019-10-07 12:14:10 -07:00
Daniel Teunis 4b5da4cbe0 cmake: Add `--parallel` build option 2019-10-07 00:25:06 +02:00
Chih-Hsuan Yen 0d8db2fb32
_port: add new subcommands 'bump', 'diagnose' and 'reclaim'
Subcommand descriptions are from upstream man pages [1][2][3].

[1] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-bump.1.txt
[2] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-diagnose.1.txt
[3] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-reclaim.1.txt
2019-10-04 17:58:55 +08:00
Bond 21aa84dba2
Add --latest flag for yarn upgrade-interactive 2019-10-03 05:05:46 +01:00
Marc Cornellà a47b58ef97
Parse script commands without `jq`
Source from https://github.com/robbyrussell/oh-my-zsh/pull/8118#issuecomment-537484017
2019-10-02 07:42:15 -07:00
Maxim Devoir c6bdbc69e1
Separate project scripts from binary packages
If `jq` utility is installed:

- Suggests script names from `package.json` and their associated script

Following [this feedback](https://github.com/robbyrussell/oh-my-zsh/pull/8118#issuecomment-537148142), binaries will always be suggested.
2019-10-02 02:47:13 -07:00
okapia 922eee0706
Merge pull request #651 from jordanrastrick/yarn-script-file-completion
fall back to file completion for yarn scripts
2019-10-01 08:39:33 +02:00
Jordan Rastrick 4add7f4dfb
Improve _yarn changes
Use `_default` instead of `_files` and don't unnecessarily wrap with `_arguments`
2019-10-01 12:50:37 +10:00
okapia 09ab278312
Merge pull request #652 from lpbearden/master
Added in missing jrnl option --edit
2019-09-28 09:33:25 +02:00
Lucas Bearden ed44d39efa added in missing option --edit 2019-09-27 23:10:35 -04:00
Jordan Rastrick 1000d2ea8b
fall back to file completion for yarn scripts 2019-09-26 16:59:14 +10:00
Julien Nicoulaud a3fab81aec
#647: remove kitty completion, upstream provides one 2019-09-20 21:41:28 +02:00
nicoulaj ef31690c88
Merge pull request #646 from pseyfert/golang1.13
[golang] prepare for golang 1.13 updates
2019-09-20 21:27:15 +02:00
nicoulaj 40c6c768ea
Merge pull request #645 from lzutao/rm_multirust
Remove _multirust which is replaced by rustup
2019-09-20 21:26:28 +02:00
nicoulaj a9704678f8
Merge pull request #644 from veloute/patch-1
Update _ufw to add 'prepend' command
2019-09-20 21:26:03 +02:00
nicoulaj 9a461c7c9d
Merge pull request #643 from filalex77/add-inxi-completion
Add completion for inxi
2019-09-20 21:25:37 +02:00
nicoulaj ca24e66278
Merge pull request #642 from pseyfert/go-relative-paths
[golang] unify package completion for build and run
2019-09-20 21:24:51 +02:00
Paul Seyfert 0a0894d07c go env can show values of individual environment variables 2019-08-23 14:43:31 +02:00
Paul Seyfert 17239cec96 minor 1.13 changes 2019-08-23 14:37:32 +02:00
Paul Seyfert c8647517f3 fixup new env vars 2019-08-23 14:22:52 +02:00
Paul Seyfert 1133c0c82d prepare go 1.13 2019-08-23 14:16:57 +02:00
Lzu Tao 4001cd83cf Remove _multirust which is replaced by rustup 2019-08-06 14:02:27 +00:00
veloute 725c65cc4c
Update _ufw to add 'prepend' command 2019-07-28 06:48:08 +00:00
Oleksii Filonenko c5a45e3e3f
Add completion for inxi
https://github.com/smxi/inxi
2019-07-21 12:27:32 +03:00
Paul Seyfert e73235f0df [golang] unify package completion for build and run
* let both `go build` and `go run` suggest local files and dirs with
   `go build ./something`
 * let both suggest package identifiers
   `go build github.com/username/reponame`
 * automatically prefix relative paths with './'
   `go build file<TAB>` → `go build ./file.go`
2019-07-18 23:07:32 +02:00
Julien Nicoulaud b512d57b6d
#610: add compdef for concourse 5.2.0 (https://concourse-ci.org) 2019-06-18 19:55:11 +02:00
Julien Nicoulaud 303c6c532d
Merge pull request #638 from dark-panda/fix-pg-createuser
Fix a syntax error on the PostgreSQL `createuser` utility
2019-06-18 19:51:08 +02:00
Julien Nicoulaud 2f2cca8db9
Merge pull request #637 from pseyfert/cmake_generator_variable
[cmake] complete CMAKE_GENERATOR environment variable values
2019-06-18 19:50:41 +02:00
Julien Nicoulaud be210396fa
Merge pull request #636 from pseyfert/cmake_launch
provide CMAKE_<LANG>_COMPILER_LAUNCHER in cmake completion
2019-06-18 19:46:32 +02:00
Julien Nicoulaud c4e71acece
Merge pull request #635 from laggardkernel/fix-vagrant
hardcode location of command stat for macOS
2019-06-18 19:45:43 +02:00
Julien Nicoulaud 3ffe3e2cc5
Merge pull request #634 from Shivamgupta1234/master
Completion function for nano editor!
2019-06-18 19:44:40 +02:00
J Smith 2ab70accf4 Fix a syntax error on the PostgreSQL `createuser` utility 2019-06-14 16:12:15 -03:00
Paul Seyfert 1c41bbef29 [cmake] complete CMAKE_GENERATOR environment variable values
will be introduced in cmake 3.15
https://cmake.org/cmake/help/v3.15/manual/cmake-env-variables.7.html#environment-variables-that-control-the-build
2019-06-13 14:13:32 +02:00
Paul Seyfert 90aab6796d provide CMAKE_<LANG>_COMPILER_LAUNCHER in cmake completion
https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_LAUNCHER.html
2019-06-12 15:36:10 +02:00
laggardkernel facb6f40fb hardcode location of command stat for macOS
Hardcode /usr/bin/stat to bypass stat from coreutils.
2019-06-03 23:28:05 +08:00
Shivamgupta1234 ae17c53a4b
Update _nano 2019-06-01 09:29:00 +05:30
Shivamgupta1234 3cf94eef32
minor suggested changes
1.remove license header,
2.remove top level nano() function,
3.remove _nano_file_ function.
2019-06-01 07:13:44 +05:30
Shivamgupta1234 46666e519a
Add completion for nano editor! 2019-05-31 08:16:15 +05:30
Shivamgupta1234 d06d3f75a5
Add completion for nano editor! 2019-05-31 08:14:42 +05:30
Julien Nicoulaud 4f939ade9a
Merge pull request #628 from cuspymd/pm2
Add pm2 completion
2019-05-26 19:45:18 +02:00