Commit Graph

6035 Commits

Author SHA1 Message Date
8c8fe2a171 nvm: add autoloading of nvm version in .nvmrc
Closes #5782
Fixes #8959
Closes #8976
2020-10-09 17:21:03 +02:00
8163f65084 nvm: exit the plugin if the nvm loading script wasn't found 2020-10-09 17:21:03 +02:00
a33c0cdb46 nvm: only lazy-load nvm if the NVM_LAZY setting is set 2020-10-09 17:21:03 +02:00
3e97308003 nvm: speed-up nvm loading with --no-use
Closes #7138

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-09 17:21:03 +02:00
d6f3630932 nvm: check $XDG_CONFIG_HOME/nvm for an nvm installation
Closes #7807

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-09 17:21:03 +02:00
d8cb670235 nvm: simplify nvm.sh and bash completion loading 2020-10-09 17:21:03 +02:00
ef44416df2 nvm: use nvm current in nvm_prompt_info and look in alternate install locations
This makes it work regardless of where nvm is loaded from. And it uses nvm's
version strings, which distinguish the "system" and "none" NVM environments,
instead of reporting the specific version of the system node.js or erroring,
respectively.

Fixes #4336
Closes #4338
2020-10-09 17:21:03 +02:00
fc6c9ca4b4 lib: fix formatting in omz pr clean CLI command 2020-10-09 15:03:03 +02:00
1bb402190d lib: add plugin and theme subcommands and fix omz pr clean
- Add plugin and theme subcommand

  Fixes #8961

- Add confirmation prompt to `omz pr clean` command

- Correct behavior on invalid answers on confirmation prompts

  If an invalid option is supplied, don't proceed with the potentially
  destructive action.

Co-authored-by: Rishabh Bohra <rishabhbohra01@gmail.com>
2020-10-09 13:55:56 +02:00
6811a48618 Merge branch 'TheDauthi/enhanced-status-prompt' (#5531)
Closes #5531
2020-10-09 13:45:29 +02:00
865f6572d5 Fix performance drop of iterating over lines and other stuff
- Fix 'STASHED' key and unsupported syntax in 5.0.2
- Optimise `if` statement to make it more idiomatic.
2020-10-09 13:44:50 +02:00
45a954cb0f git_prompt_status now uses hash lookups instead of multiple greps 2020-10-09 13:24:37 +02:00
297238b739 lib: hide git_prompt_status when hide-status is set
Closes #4912
Closes #5137
Closes #8071
2020-10-09 13:14:44 +02:00
df58625ca6 safe-paste: refresh plugin (update for zsh 5.1 and vi keymaps) (#7887) 2020-10-09 12:39:23 +02:00
8ad9b315a3 Add git-lfs plugin (#9077) 2020-10-09 12:35:13 +02:00
58ff4e1d2e lib: follow standards in window title (#9320)
In Ubuntu and Debian, in scp, and in rsync the prompt is by default specified as in

  user@hostname:/path/to/directory

while the previous title in ohmyzsh was

  user@hostname: /path/to/directory
2020-10-08 19:20:47 +02:00
68f809448a kubectl: add wrappers for colorized output in JSON and YAML (#9316)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-08 19:18:43 +02:00
27857e66d0 nvm: add Homebrew's nvm setup (#8316)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-08 17:21:34 +02:00
01ce52e681 z: upgrade plugin to the latest version (#9310)
Commit-id: 125f4dc47e15891739dd8262d5b23077fe8fb9ab
125f4dc47e
2020-10-07 17:15:29 +02:00
6ebf27b8d3 Revert "Remove redundant bashcompinit calls"
This reverts commit f776af2a1f.

Fixes #9314
2020-10-05 17:20:02 +02:00
fbb2b56c7e fino: stop bold with prompt sequence
Fixes weird bug when completing.
2020-10-05 12:05:47 +02:00
b4093819a8 fino: fix dangling "using" and clean up (#9307)
Co-authored-by: Matsievskiy S.V <matsievskiysv@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-05 11:42:22 +02:00
c549387745 git: fix version check 2020-10-04 13:09:32 +02:00
d81b4ac9f2 git: run gfa with --jobs=10 (fetch remotes in parallel) (#9268)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-03 20:29:26 +02:00
89278c71b2 bundler: refactor bundler plugin and clean up gem wrappers 2020-10-03 18:41:42 +02:00
e09aac3751 bundler: format aliases table and clean up README (#9300)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-03 18:38:44 +02:00
7fce07a50c Add completion plugin for IPFS (InterPlanetary File System) (#4737) 2020-10-03 11:49:42 +02:00
d5dc9f7153 Add sublime-merge plugin (#7228) 2020-10-03 11:47:18 +02:00
1617f4ffaf pip: move plugin cache to XDG folder (#9299) 2020-10-01 15:44:59 +02:00
f776af2a1f Remove redundant bashcompinit calls
Fixes #9246
2020-09-30 19:00:51 +02:00
a8828aad87 terraform: add tf Alias (#8206) 2020-09-30 10:50:33 +02:00
71cc861806 minikube: fix spelling (#9270) 2020-09-29 23:35:29 +02:00
274df9dc29 lib: support simple terminal in title function
Fixes #9295
2020-09-29 18:34:35 +02:00
2b59d052ef composer: autoload cache functions
Fixes #9236
2020-09-29 12:06:39 +02:00
4ec055b890 lib: support alacritty $TERM in title function 2020-09-28 22:25:10 +02:00
cd7162f3d1 brew: add alias for brew to avoid upgrading casks (#9280) 2020-09-28 22:24:31 +02:00
53259f628b bgnotify: use $2 in preexec hook if $1 is empty
Fixes #5803
2020-09-28 12:09:20 +02:00
765966606d lib: correct :q syntax in title function for clarity 2020-09-27 14:15:50 +02:00
cacf5d0435 Fix image alignment 2020-09-26 13:08:03 +02:00
1be75bbc27 Right-align table in README 2020-09-26 13:07:14 +02:00
671745f496 A few README tweaks 2020-09-26 13:05:31 +02:00
73696c6faa laravel5: clean up 2020-09-26 12:38:31 +02:00
d14bddf6d7 agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false
Fixes #8040
2020-09-26 12:25:30 +02:00
caff704f41 lib: clean up zsh_stats function 2020-09-26 12:17:12 +02:00
bcc859e012 avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
Fixes #9232
2020-09-26 12:15:59 +02:00
93c837fec8 random: add ZSH_THEME_RANDOM_QUIET setting
Fixes #9180

Co-authored-by: James Eapen <jamespeapen@gmail.com>
2020-09-20 13:41:21 +02:00
38f276a732 docker: document option-stacking setting
Fixes #9266
2020-09-18 22:02:10 +02:00
bc9d4b89bb Remove racially-charged language from the codebase
The ZSH_THEME_RANDOM_BLACKLIST variable will be deprecated until it's
removed 2 months from now.
2020-09-18 19:43:44 +02:00
2bc1da7f37 brew: replace deprecated brew cask outdated command (#9253) 2020-09-14 20:32:23 +02:00
814e0b3c25 docs: fix small typo in README (#9255) 2020-09-14 17:14:14 +02:00