Commit Graph

2674 Commits (0e22b00ca394f84689919e443788a940479b9170)

Author SHA1 Message Date
Hongyi Zhao 0e22b00ca3 All of these codes are shipped within officical pip distribution.
There is no need to make the things complicated.
2020-03-15 14:27:28 +08:00
Hongyi Zhao 42bdfeeb6a combine the pip completion code into one script. 2020-03-15 14:22:30 +08:00
Hongyi Zhao 23671ef4f3 try to simplify the logic: completion/available/pip.completion.bash 2020-03-15 13:42:55 +08:00
Hongyi Zhao cfe7166132 Based on the _pip_completion function defined by pip completion to determine
whether we should reevaluate the pip completion or not.
2020-03-14 23:37:21 +08:00
Hongyi Zhao db64f5521c FIXME: do the trick without exporting variable into environment.
Use _pip_completion_bash as the hook function name
2020-03-13 19:56:56 +08:00
Hongyi Zhao e6be506ce1 use _pip_command_path as the variable name to store the currently used pip's path. 2020-03-13 17:18:10 +08:00
Hongyi Zhao 4fe6611da2 use _pip_command_path_old for variable's name to store the pip's path:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 17:05:10 +08:00
Hongyi Zhao 43d15b69e1 Ensure that the eval command only executed once for one virutualenv:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 16:43:35 +08:00
Hongyi Zhao 5c663b871a little fix for the regex used to match the hook function name:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 15:24:35 +08:00
Hongyi Zhao 1052200f0c Touchup codes for fixing pip completion when running it within/outside of pyenv/virtualenv/venv/conda environment:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 15:00:23 +08:00
Hongyi Zhao cd0b2618fb Fix pip completion for running it within/outside of pyenv/virtualenv/venv/conda environment.
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 10:21:26 +08:00
Hongyi Zhao 9fcaab0efc try to fix for pyenv/virtualenv: completion/available/pip.completion.bash 2020-03-11 20:00:27 +08:00
Nils Winkler b35d41464c
Merge pull request #1516 from davidpfarrell/cht.sh
Add cht.sh plugin
2020-03-11 08:06:05 +01:00
David Farrell ab7f15bee1
Added a comment 2020-03-10 23:02:33 -07:00
David Farrell 8e9dadfaad
Adds metadata + support for multiple arguments 2020-03-10 22:58:39 -07:00
Nils Winkler d9bcbf4c1f
Merge pull request #1512 from BarbUk/feature/theme-barbuk
Add theme barbuk
2020-03-10 08:17:20 +01:00
David Farrell 6419d9246d
Add cht.sh plugin 2020-03-09 12:38:05 -07:00
Nils Winkler 2e53796d49
Added comment for docker-compose-fresh alias
Closes #1513
2020-03-09 16:07:59 +01:00
BarbUk c0af591f2f
Add theme barbuk 2020-03-09 17:24:18 +04:00
Nils Winkler c1ec06c9d8
Merge pull request #1511 from cornfeedhobo/nit-pick-utilities-order
Nit pick ordering
2020-03-09 09:04:55 +01:00
cornfeedhobo d4c2f8b73f
nit pick cleanup 2020-03-08 23:53:27 -05:00
Nils Winkler a6b757e19b
Merge pull request #1509 from okomestudio/ts/proper-arg-passing
Pass all the expected arguments to the completion function
2020-03-03 08:43:22 +01:00
Nils Winkler 95da7f27c7
Merge pull request #1464 from radeksm/feature/theme-radek
New theme for Python developers
2020-03-03 08:37:50 +01:00
Radoslaw Smigielski 4c23c1c90b Update theme name 2020-03-03 06:39:41 +00:00
Taro Sato a7a777b20a Pass all the expected arguments to completion function 2020-02-28 01:04:19 -08:00
Nils Winkler fbeb6344fa
Merge pull request #1508 from ofirshtrull/master
Add terraform workspace to prompt
2020-02-28 09:21:28 +01:00
Ofir Shtrull 381a0069c3 changed order of params 2020-02-27 23:32:43 +02:00
Ofir Shtrull a578fa81e4 more cleanup 2020-02-27 22:10:38 +02:00
Ofir Shtrull 84ad65c309 cleanup 2020-02-27 21:52:21 +02:00
Ofir Shtrull 936a79f619 now usable by all prompts 2020-02-27 20:53:35 +02:00
Ofir Shtrull 78397ad598 Add terraform workspace to prompt 2020-02-27 14:40:57 +02:00
Nils Winkler 223398c9e8
Merge pull request #1507 from davidpfarrell/plz
Add fuck/please aliases, playing nicely with thefuck plugin
2020-02-27 08:58:46 +01:00
Nils Winkler b655de9ab3
Merge pull request #1487 from matthewadams/uuid
add uuid aliases
2020-02-27 08:55:27 +01:00
David Farrell d6425922a1
Add fuck/please aliases, playing nicely with thefuck plugin 2020-02-26 10:28:10 -08:00
David Farrell 8fc6f82455
Renames thefuck alias file to fuck 2020-02-26 10:25:12 -08:00
Matthew Adams 59854e5fb1 uuid.aliases.bash -> uuidgen.aliases.bash because the command name is uuidgen & add cite + about-alias 2020-02-26 09:23:19 -06:00
Matthew Adams 63d5a73918 mv to uuid.aliases.bash 2020-02-24 15:49:53 -06:00
Nils Winkler 9e92ef342f
Merge pull request #1503 from okomestudio/ts/bugfix/alias-completion
Pass the aliased command as an argument to _filedir_xspec
2020-02-24 08:36:03 +01:00
Taro Sato fbc8f7ddf4 Add comment explaining compl_func_args 2020-02-23 18:40:54 -08:00
Taro Sato fe26adf7ac Pass the aliased command as an argument to _filedir_xspec 2020-02-22 16:20:40 -08:00
Nils Winkler bf5dd87f33
Merge pull request #1502 from cornfeedhobo/enhance-makefile-completion
Enhance make completion to support multiple files and gnumake
2020-02-22 13:11:55 +01:00
cornfeedhobo 2e4c4ad29a
enhance makefile completion - remove hash bang 2020-02-21 22:29:14 -06:00
cornfeedhobo 239f708637
enhance makefile completion - remove use of find 2020-02-21 22:27:56 -06:00
cornfeedhobo 552cd89851
enhance makefile completion - shortcircuit early when nothing is found 2020-02-21 13:09:08 -06:00
cornfeedhobo 9d97532f8e
enhance makefile completion and make shellcheck happy 2020-02-21 12:56:00 -06:00
cornfeedhobo b70c02c4ae
enhance makefile completion to support multiple files and gnumake 2020-02-21 12:16:57 -06:00
Nils Winkler 8007e78296
Merge pull request #1496 from LeoWW/feat-git-prom-and-punch
add gprom and gpunch to git aliases
2020-02-18 08:37:32 +01:00
LeoWW 4933f180f3 add gprom and gpunch 2020-02-17 12:56:12 -08:00
Nils Winkler 3fa3759e39
Merge pull request #1494 from nwinkler/thefuck
Renamed/updated "the fuck"
2020-02-16 12:42:06 +01:00
Nils Winkler ebb1e1fc17 Renamed fuck alias file 2020-02-16 12:38:14 +01:00