1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 03:27:59 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri
be61026920 general: Apply submodules' path change in doc and zprezto-update
We need to accommodate cases where a submodule local path (or remote)
URL can change. Accordingly, update instruction and `zprezto-update`
function to synchronizes submodules' remote URL configuration setting
to the updated value automatically.
2021-05-05 14:13:01 -05:00
Indrajit Raychaudhuri
8a967fc108
base: Check for 'run-help' in aliases hash before evicting
Add guard to check for presence of 'run-help' in `aliases` hash before evicting.
In some systems (like Debian) '/etc/zshrc' might have already done it.
2021-05-01 03:05:19 -05:00
Indrajit Raychaudhuri
095f44796b base: Allow loading more specific 'run-help' function
Allow loading more specific 'run-help' function from $fpath. This
allows automatically looking up specific sub-command helper if
available instead of the static default ('man').

See: ccc9cff9e2/Functions/Misc/run-help (L3-L8)
2021-04-30 03:09:07 -05: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
mattmc3
a3a51bdf6c Support pmodule-allow-overrides feature (#1780) 2020-01-13 15:49:37 -08:00
Wouter Overmeire
1bc0da5f48 Init submodules when using zprezto-update (#1713) 2019-10-16 09:23:48 -07:00
Kaleb Elwert
029414581e Add support for loading plugins in the oh-my-zsh format
Closes #1484
2017-12-03 00:41:48 -08:00
Denys Digtiar
64d6ae805c Source correct module's init.zsh
Now that modules can be located in different directories, the `init.zsh` should be loaded from the `$module_location` and not `$ZPREZTODIR/modules/$pmodule`
2017-11-27 20:27:41 -08:00
Yutian Li
cbe4815189 Allow module to be a symbolic link to a non-empty directory (#1510) 2017-11-13 16:41:54 -08:00
Kaleb Elwert
ce349dff81
Allow modules to be loaded from multiple places (#1458)
* Allow modules to be loaded from multiple places
* Add setting for user specified module dirs

This is initial work for the contrib repo, mentioned in #1424
2017-11-12 16:01:39 -08:00
Parth Laxmikant Kolekar
87d39f5dd2 Update init.zsh
It seems that my older git does not support '@' yet.
2017-10-26 10:28:56 -07:00
Parth Laxmikant Kolekar
b5d09e2da7 Lower requirements down to 4.3.11 again (#1491)
There was an update with the syntax-highlighting module which fixed compatibility with 4.3.11.
2017-10-20 10:38:48 -07:00
Damien Pollet
00f1d92ed8 Fix typo in zprezto-update function 2017-09-08 12:46:02 -05:00
Indrajit Raychaudhuri
a60499f933 [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00
Kaleb Elwert
a70bce3ea6 Ensure we use the same function definition syntax everywhere 2017-07-06 16:13:36 -07:00
Brian K. Christensen
c6124d4d37 Updater: fix bug regarding source init in new updater logic 2017-07-05 11:44:26 -07:00
Samantha McVey
87868441eb [zprezto-update] Add convenience function to update zprezto (#1344)
* [zprezto-update] Add convenience function to update zprezto

This function checks if there is any update to zprezto, and if so
will pull in the changes. It will not attempt a pull unless
it is fastforwardable. It also makes sure the user is on the master
branch before attempting.

* [zprezto-update] Improve resilience of the function

Better error checking of status of the git repository
and better error producing.

Fit columns into mostly 80 width and add a missing printf
argument.

Use ( ) around the function so changing directory does not affect
the outer scope.

* [README] Add instructions on using zprezto-update function
2017-06-29 23:26:53 -07:00
Samantha McVey
d9a1380263 Change print to printf in init.zsh error (#1335)
When my zsh had issues, and I was debugging it, this line would
end up being run but no output would be made to the screen.

Changing it from print to printf caused the error to properly be
displayed.
2017-06-19 14:18:14 -07:00
Paul Melnikow
dcd8596192 Don't load pfunctions from vi swap files 2017-04-04 08:46:06 -07:00
Kaleb Elwert
0be0ff565a Set ZPREZTODIR to ${0:h} 2017-04-03 11:37:13 -07:00
Kaleb Elwert
7346efd206 Allow setting ZPREZTODIR to make prezto easier to integrate with 2017-04-03 11:37:13 -07:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Chauncey Garrett
5088ca4839 Bump minimum supported Zsh to v4.3.11
zsh-syntax-highlighting requires this version.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 20:25:25 -04:00
Caleb Land
817dd3aa3a Allow functions in a module to be symlinks
Add the '-' flag to the function glob which makes the other flag test
against the target of the symlink, and not the symlink itself.

When using rcm (https://github.com/thoughtbot/rcm), the function files
are symlinked by default, but the current glob excludes them by
targeting normal files (with the '.' flag).

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-01-03 13:30:55 -05:00
Sorin Ionescu
8993a8dfad Bump minimum supported Zsh to v4.3.11 2013-11-20 09:59:02 -05:00
Sorin Ionescu
6f916355b2 Do not attempt to reload modules that failed to load 2012-09-25 17:33:10 -04:00
Sorin Ionescu
e5e26eccff [#245] Convert helper into a module 2012-09-08 19:23:33 -04:00
Sorin Ionescu
0156fc8e2c [Fix #264] Remove double sourcing of zpreztorc 2012-09-06 22:35:41 -04:00
Sorin Ionescu
cc7e43b242 [Fix #253] Move Prezto settings into their own file 2012-09-03 16:52:47 -04:00
Sorin Ionescu
8cdf06e386 [#255] Use $ZDOTDIR or $HOME 2012-09-03 16:51:32 -04:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
ed8609f17a Do not source Oh My Zsh on Zsh version mismatch 2012-06-03 13:08:07 -04:00
Sorin Ionescu
39a60008e5 [#171] Move Zsh file compilation into zlogin 2012-05-31 17:35:07 -04:00
Sorin Ionescu
1645fb88bd [#171] Move launchd setenv into zlogin 2012-05-31 17:35:07 -04:00
Sorin Ionescu
e5ec94af42 Check for non-empty files, not just existance 2012-05-05 18:08:25 -04:00
Sorin Ionescu
dc7c51434a Simplify a few for loops 2012-04-09 17:45:32 -04:00
Sorin Ionescu
66c14486c6 [#23, Fix #80] Move themes into the prompt module 2012-04-08 15:07:13 -04:00
Sorin Ionescu
6233ec6aad [#23] Add a module loading function 2012-04-08 15:07:11 -04:00
Sorin Ionescu
86e4d2e3ff [#23] Convert environment into a module 2012-04-05 13:39:43 -04:00
Sorin Ionescu
56f8f83d58 [#23] Convert terminal into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
1330e6e792 [#23] Convert editor into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
92816f6db7 [#23] Convert completion into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
4f06785949 [#23] Convert history into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
b1934f037d [#23] Convert directory into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
b1bb0d781d [#23] Convert spectrum into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
bebbf3a99d [#23] Convert alias into a module 2012-04-05 13:39:42 -04:00
Sorin Ionescu
73478bd190 [#23] Convert utility into a module 2012-04-05 13:39:41 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
Sorin Ionescu
ac43866f1d Use 'loaded', not 'enable', for loaded plugins 2012-04-02 11:39:07 -04:00
Sorin Ionescu
cf5fb88b39 [Fix #76] Load Zsh functions, modules in zshrc 2012-03-31 17:49:17 -04:00