1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-12 22:21:13 +00:00
Commit Graph

1903 Commits

Author SHA1 Message Date
bca85497f8 [aws] Add a (dirty) function for showing cloudfront distributions 2020-02-06 19:48:22 +01:00
ac9843e2d4 Merge upstream/master 2020-01-30 08:54:36 +01:00
Kaleb Elwert
66b9ea7d44 Update documentation
- Fix an old link to the wrong issue tracker
- Add documentation to the history module about migration from oh-my-zsh

Closes #1766
2020-01-20 07:50:42 -08:00
Roman Perepelitsa
7cad349a5a environment: improve the TTY check (#1785)
Bug report from @qosmio:
https://github.com/sorin-ionescu/prezto/pull/1771#issuecomment-575596417

I'm unable to reproduce it and @qosmio hasn't yet confirmed or
disconfirmed whether this fix works. It's a good idea to change
the code this way in either case.

(As I mentioned in #1771, this `stty -ixon` call may have been added
by mistake. It doesn't do what the comment suggest and is at least as
likely to be harming users as helping them.)
2020-01-20 07:29:34 -08:00
Jongwook Choi
4a32e9d68b node: suppress node-info when nvm points system-wide node (#802)
On modern versions of nvm, when virtual environment is not activated
(i.e. node comes from system-wide and `nvm version` == 'system'),
redundant node-info could be suppressed from showing.
2020-01-20 07:25:07 -08:00
7ec4aad48c Merge upstream/master 2020-01-19 18:54:16 +01:00
romkatv
1f52b03a45 prompt: update powerlevel10k submodule to the latest commit (#1784)
- New features:
  - Show On Command -- Display prompt segments conditional on the
    command being typed. Demo:
    https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/show-on-command.gif
  - `p10k display` -- Quickly hide or show different parts of prompt.
  - `p10k-on-*` hooks -- Get notified about prompt-related events.
- New prompt segments:
  - google_app_cred -- Google Application Credentials.
  - luaenv -- Lua version from https://github.com/cehoffman/luaen.
  - jenv -- Java version from https://github.com/jenv/jenv.
  - plenv -- Perl version from https://github.com/tokuhirom/plenv.
  - nnn -- Shell indicator for https://github.com/jarun/nnn.
- Important fixes:
  - Ctrl-C no longer shortens prompt when used to terminate a zle widget
    with transient prompt enabled.
  - Don't print warnings in instant prompt when OMZ is updating.
  - rust_version now properly recognized rustup overrides.
- Smoother rendering when using transient prompt.
- New style in `p10k configure`: Lean restricted to 8 colors.
2020-01-16 08:52:09 -08:00
Joost Cassee
9ae279e25a Allow module functions directory to be a symlink
The link must still point to a full directory.
2020-01-15 14:26:55 -08:00
Ivan Smirnov
2acaec814f autosuggestions: update to v0.6.4 2020-01-14 09:08:47 -08:00
mattmc3
a3a51bdf6c Support pmodule-allow-overrides feature (#1780) 2020-01-13 15:49:37 -08:00
Roman Perepelitsa
c6efe80152 runcoms: don't raise an error in zlogin when stderr is not a TTY (#1775)
The existing code in runcoms/zlogin results in `$?` being
equal to `1` when starting a login shell if stderr is not
a TTY. For example:

  zsh -l 2>/dev/null

When using a theme that displays error/success status of
the last command, the first prompt will show an error.

This commit fixes it so that error code is zero after
sourcing zlogin (unless something unexpected and bad happens).
2020-01-11 00:48:45 -08:00
Roman Perepelitsa
7c94154dda environment: apply stty -ixon only to tty (#1771) 2019-12-27 15:22:15 -08:00
Maxim Baz
e86200e7aa Allow mapping Ctrl+S and Ctrl+Q shortcuts (#1750) 2019-12-18 15:37:51 -08:00
721b1535ea Merge upstream/master 2019-12-18 16:03:08 +01:00
romkatv
a5ebde1b17 prompt: update powerlevel10k submodule to the latest commit (#1768)
- New prompt segments:
  - gcloud
  - fvm
  - vim_shell
  - midnight_commander
  - goenv
- Many bug fixes and new minor features.
2019-12-09 16:04:22 -08:00
a251bd2fb9 [aws] Add date to aws_ami function output 2019-12-01 18:31:29 +01:00
ef3e9eda18 Merge upstream/master 2019-12-01 17:38:39 +01:00
romkatv
2d6205e714 prompt: update powerlevel10k submodule to the latest commit (#1761)
New feature: Transient Prompt.

Demo:
https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/transient-prompt.gif

Announcement post:
https://www.reddit.com/r/zsh/comments/dsh1g3/new_powerlevel10k_feature_transient_prompt
2019-11-11 09:25:39 -08:00
b9c34d9445 [aws] Improve filtering at aws_ssm_session_any() 2019-11-08 19:44:43 +01:00
romkatv
0af28e758b prompt: update powerlevel10k submodule to the latest commit (#1757)
- New feature: Instant Prompt.
  - Zsh starts instantly even if zshrc loads dozens of plugins.
  - Must be explicitly enabled via `p10k configure`.
- New prompt segment: azure.
- New styles: Pure and Rainbow.
- 6 times faster loading (independent of instant prompt).
2019-11-07 00:33:37 -08:00
048d5302d6 [modsorin] Change AWS prompt 2019-11-06 19:19:16 +01:00
e9e8c31217 [aws] Merge aws_elb and aws_elb2 aliases and improve information shown 2019-11-06 19:02:45 +01:00
f549bd7a0b [aws/sorinmod] Fix AWS profile prompt 2019-11-06 18:31:43 +01:00
daniel.carrillo
ed511e6747 [aws/sorinmod] Show aws profile in prompt 2019-11-06 17:28:19 +01:00
daniel.carrillo
13f3cabd81 [aws] Add alias for ssh through ssm proxy 2019-11-05 12:05:16 +01:00
daniel.carrillo
b2aead431c [aws] Fix typo at aws_kms_decrypt 2019-11-05 11:40:15 +01:00
daniel.carrillo
21ce6a6f97 Merge branch 'master' of https://github.com/dcarrillo/prezto 2019-11-04 11:06:52 +01:00
daniel.carrillo
585b3646f9 aws: Fix profile issues 2019-11-04 11:05:59 +01:00
aeb58b972d Merge upstream/master 2019-10-24 19:43:06 +02:00
daniel.carrillo
b44893d9eb [aws] Add aws_kms_decrypt and aws_ssm_session functions 2019-10-24 14:57:58 +02:00
lambdanerd
ed6303c340 homebrew: add alias brewL 2019-10-17 13:59:40 -07:00
lambdanerd
6d65cb4176 Remove documentation for obsolete brewC alias 2019-10-17 13:59:40 -07:00
Wouter Overmeire
1bc0da5f48 Init submodules when using zprezto-update (#1713) 2019-10-16 09:23:48 -07:00
lambdanerd
55eb406515 Remove alias for invalid brew cleanup --force
`brew cleanup --force` produces the following error message: `Error: invalid option: --force`. I can't seem to find any record of this being a valid option for the cleanup command, so either it was deprecated in the stone age or it was a simple mistake. However, there is a `--force` option available for `brew uninstall`, but that's a dicey thing to alias.
2019-10-16 09:13:29 -07:00
Kaleb Elwert
2873885d37 utility: fix safe-ops commands
Fixes #1699
2019-09-21 17:29:21 -07:00
91292526a0 Add sorin prompt changes to sorinmod 2019-09-20 21:22:12 +02:00
a1df63bade Merge upstream/master 2019-09-20 21:16:11 +02:00
Robson Roberto Souza Peixoto
9507a0e881 tmux: ignore tmux autostart in vscode terminal (#1718)
In certain situations VSCODE_PID isn't set any more, so we just need to check TERM_PROGRAM which has existed for a few years already.
2019-09-10 09:18:09 -07:00
Kaleb Elwert
75b112bcd0 node, python, ruby: update docs about new envars 2019-09-10 09:10:31 -07:00
laggardkernel
f596d5d1d6 python: improve PYENV_ROOT detection 2019-09-10 09:00:11 -07:00
laggardkernel
61de4d199d node: support environment variables NVM_DIR and NODENV_ROOT 2019-09-10 09:00:11 -07:00
laggardkernel
6ae2f39cc1 ruby: support environment variable RBENV_ROOT 2019-09-10 09:00:11 -07:00
Roman Perepelitsa
75940e8ee9 directory: update docs to clarify it doesn't really set AUTO_NAME_DIRS (#1740)
Module `directory` used to set AUTO_NAME_DIRS. This was changed in
73e94b84 but README.md hasn't been updated. This looks like an
accidental omission that this commit fixes.
2019-09-10 08:57:42 -07:00
Shane O'Grady
43214f1aed history: Permit use of previously set HISTFILE
Honor the use of the HISTFILE environment variable, if it's already set.
2019-09-10 08:56:51 -07:00
Roman Perepelitsa
8b1a7afd81 prompt: update powerlevel10k submodule to the latest commit (#1738)
- New prompt segment: terraform.
- Configuration wizard:
  - Offer to install Meslo Nerd Font (only on iTerm2 and Termux).
  - Offer to enable `time` prompt segment.
  - New style options: round separators, heads and tails.
  - Reduce the minimum required terminal width to 55 columns.
- Several bug fixes. Most notable:
  - Fix network interface and ip parsing on Linux and WSL.
  - Disregard auto_name_dirs if it's set.
2019-09-06 10:08:26 -07:00
pedrosland
8914274ca9 prompt: update zsh-async to fix an infinite loop (#1734) 2019-08-19 10:30:33 -07:00
Julien Brochet
34948690d5 syntax-highlighting: update external dependency 2019-08-19 10:28:23 -07:00
romkatv
a8087e01fb prompt: update powerlevel10k submodule to the latest commit
- Several bug fixes. Most notable:
  - Don't hide command execution time on reset-prompt.
  - Support prezto with zsh 5.1.
  - Don't hide nvm prompt when there is no nvm command.
- New prompt: ranger.
- Add an option to hide rust version when outside of rust project tree.
- Add an option to show rvm gemset.
2019-08-19 10:24:45 -07:00
romkatv
abb0c7ecb4 prompt: update powerlevel10k submodule to the latest commit
A dozen bug fixes. Most important:

- rbenv and a few other segments didn't work if IFS was set
  to something unusual.
- vcs segment couldn't properly apply subsegment style if
  color overrides used mnemonic names.
- the check for .p10k.zsh already being sourced was too strict.
2019-08-02 01:54:56 -07:00
romkatv
b01f02aa5c prompt: update powerlevel10k submodule to the latest commit
New feature: Configuration Wizard. Type `p10k configure` to
explore the unique styles and features Powerlevel10k has
to offer.
2019-07-31 14:49:31 -07:00