Commit Graph

3520 Commits

Author SHA1 Message Date
72707d92b1 python: add pyuserpaths function (#7758)
Summary
    Make it get a list of installed interpreters, and add the
    relevant local (HOME) site-packages directory to PYTHONPATH.

    Reason
    To easily add all relevant paths, initially, and between upgrades.

Add check for PYTHONUSERBASE

    Summary
    Check for a non-standard install directory, use it if one
    exists, otherwise use ~/.local.

    Reason
    Allow users to specify their own installation directory, without
    affecting functionality.
2020-03-02 13:38:44 +01:00
ed94e06dda command-not-found: speed up call to Homebrew command-not-found (#7740)
By sourcing brew files directly we can achieve a very high speed up.
This will not work if the user installed homebrew in a different
location than by default.
2020-03-02 13:34:26 +01:00
e65bce8495 shrink-path: add minimum length and ellipsis symbol options (#7382)
* Added minimum length and ellipsis symbol options for the shrink-path plugin.

* Replaced tab indentation with space indentation for the shrink-path plugin.

* Added handling of multicharacter ellipsis, and updated documentation and README for the shrink-path plugin.
2020-03-02 13:30:52 +01:00
74420341df minikube: cache command completions (#7446) 2020-03-02 13:20:28 +01:00
e42683b8c5 pip: add local Python package files to completion (#7442) 2020-03-02 13:17:16 +01:00
1689e9bb90 zsh_reload: respect $ZDOTDIR when searching for .zshrc (#7706) 2020-02-28 21:01:34 +01:00
befdb4649b gitignore: add newline to gi output (#7586)
* Add trailing new line at the end of output
* Double-quote variable expansion
2020-02-28 21:00:44 +01:00
dddbb5c9eb mercurial: add hga alias to README (#7547) 2020-02-28 20:51:38 +01:00
f94e55a1a9 mix: add format option to completion (#7256) 2020-02-28 20:42:18 +01:00
e61228282a gradle: fix command option name in completion (#6586)
It should be `--rerun-tasks`, the original one miss a 's' at the end.
See https://docs.gradle.org/current/userguide/command_line_interface.html
2020-02-28 20:35:19 +01:00
389de86cf5 pass: update completion to upstream version (675a002e) (#6475) 2020-02-28 20:29:44 +01:00
c3984a7759 fasd: cache full fasd initialisation script (#6097)
Using `fasd —-init auto` will first detect terminal and then call
fasd again to generate the final initialisation script. Caching that gives a more significant performance boost.
2020-02-28 20:01:14 +01:00
5023a4787b stack: use builtin completion command (#6230) 2020-02-28 19:59:33 +01:00
864b441688 composer: keep composer autocompletion when using global (#5933) 2020-02-28 19:28:55 +01:00
6f85dc2389 kitchen: change sed regex in completion to capture all commands (#5820)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-28 19:23:36 +01:00
3e16d64347 geeknote: update completion (#4986)
Fixes Completion only working for first parameter
2020-02-28 17:29:11 +01:00
08b04f5df2 fancy-ctrl-z: ensure widgets are called with full context (#4838)
This allows other plugins that hook e.g. accept-line to identify the
fancy-ctrl-z widget as the caller and take appropriate steps when
necessary.

See https://github.com/tarruda/zsh-autosuggestions/issues/82#issuecomment-181133379
2020-02-28 17:27:16 +01:00
368198b761 Fix an issue with escape characters (#7979)
Co-authored-by: Francisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
2020-02-27 22:47:06 +01:00
2c0315dba4 ng: refactor README 2020-02-27 19:26:55 +01:00
79fff1ee49 macports: add rdeps and rdependents completion (#4717) 2020-02-27 18:55:14 +01:00
ee7a9f6fe6 jhbuild: add some missing commands and update README (#5195)
Commands: make, tinderbox.

Closes #5195

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-27 18:51:44 +01:00
573901dd46 jhbuild: add shell alias (#3707)
This adds "jhsh" as an alias for "jhbuild shell" to the JHBuild plugin.
2020-02-27 18:45:53 +01:00
011c7153d5 nmap: add alias for ICMP scan (#4807)
Closes #4807
2020-02-27 18:25:39 +01:00
6b54302b90 python: add alias to run the proper IPython based on virtualenv
Current state: a user invokes `ipython` and is provided with the IPython
instance regarding the `$PATH`.

Proposed state: a user invokes `ipython` (which is a new alias in the
*python plugin*) and is provided with the proper IPython instance regarding
the currently activated virtualenv.

Example: the user's default Python is 2.7 with installed IPython 2.7. User
activates Python 3.5 virtualenv where he installs IPython 3.5. After
activating the environment, one expects `ipython` to run the version 3.5,
which does not happen by default. Instead, IPython 2.7 is used, which in
counter-intuitive and often causes problem.

Closes #5797
2020-02-27 17:17:01 +01:00
6cb8ff391d vagrant: document aliases 2020-02-27 15:21:10 +01:00
3c61bac9a1 vagrant: add common aliases (#3762) 2020-02-27 15:20:19 +01:00
01bfb57446 zsh-interactive-cd: add vi-mode support (#8681) 2020-02-26 16:59:59 +01:00
609890847d npm: hardcode completion function and delete cached one (#8679)
Fixes #8665
2020-02-25 22:23:37 +01:00
3e9e385d98 battery: remove redundant grep calls in battery_pct function 2020-02-25 15:41:17 +01:00
b72607bc8e Add JFrog CLI plugin (#8250) 2020-02-25 12:00:25 +01:00
7290a08bf6 battery: fix floating point output in macOS
Fixes #8676
2020-02-25 11:56:26 +01:00
f9a2d8cae3 vscode: add documentation for running in macOS (#8674) 2020-02-24 20:13:16 +01:00
f4b4a446ac Polish themes plugin and error out if theme not found 2020-02-19 19:41:02 +01:00
6adad5c300 Move random theme functionality into "random" theme
The statements for selecting a random theme in oh-my-zsh.sh and the themes
plugin are duplicate. Most people eventually settle on a theme, making those
lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put
the random theme functionality into a theme of its own (since themes are just
zsh scripts.
2020-02-19 18:20:28 +01:00
eeb49bf5b0 systemd: add prompt function to show systemd units' status (#7657)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18 23:04:14 +01:00
e8609b857c git: add grename to rename a local branch and in the origin remote (#8622)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18 21:05:52 +01:00
47eae26bf6 web-search: add wolframalpha search engine (#8638) 2020-02-18 10:20:54 +01:00
1381da15a4 arcanist: document aliases 2020-02-17 17:47:43 +01:00
fbbfd0f8a8 arcanist: add arc diff --create alias (#8610) 2020-02-17 17:44:48 +01:00
0bcecf2f63 dotnet: use official dotnet completion (#8518) 2020-02-15 19:19:57 +01:00
aa4146a9a4 git: add alias for git stash --include-untracked (#8617) 2020-02-15 18:28:02 +01:00
72168aec3d cloudapp: fix copy-paste mistake in README (#8629) 2020-02-15 18:26:20 +01:00
52f9238b16 fzf: support for NixOS and Void Linux (#8618) 2020-02-13 18:57:52 +01:00
4fc570b0d4 kubectl: avoid conflict with existing f aliases in kca alias (#8625) 2020-02-13 18:50:56 +01:00
f17e0219fd dotenv: fix prompt newline 2020-02-13 18:33:24 +01:00
634a50936a dotenv: add ZSH_DOTENV_PROMPT config (#8624) 2020-02-13 18:10:59 +01:00
a6df94d2c6 gradle: run gradle command instead of alias (#8620)
- Similarly to the mvn plugin
- Without this fix, the shell crashes in some cases
2020-02-12 21:52:47 +01:00
3ec04997eb Add zsh-interactive-cd plugin 2020-02-12 18:37:28 +01:00
e178ae39b4 dotenv: prompt before executing dotenv file (#8606)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-12 17:51:40 +01:00
15a03744a9 Remove invalid batteries (#8275) 2020-02-12 16:02:22 +01:00