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

53 Commits

Author SHA1 Message Date
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
Sorin Ionescu
9fc437439b Rename keyboard to editor
It is not the keyboard that is being set up but the Zsh Line Editor
(ZLE).
2012-03-31 13:51:40 -04:00
Sorin Ionescu
e7c7596f3a Move spectrum above alias 2012-03-29 12:06:15 -04:00
Sorin Ionescu
647ac1ac00 Return 1 when a file fails to load 2012-03-28 12:19:53 -04:00
Sorin Ionescu
01d9ec13d8 Fix prompt call, close #22 2012-03-12 19:56:03 -04:00
Sorin Ionescu
b96bbca51c Added or edited file headers. 2012-02-02 18:30:07 -05:00
Sorin Ionescu
da1a02d853 Edited strings, comments, renamed, unset variables. 2012-01-27 21:17:54 -05:00
Sorin Ionescu
ec61dbd802 Fixed a few error messages. 2012-01-24 23:40:32 -05:00
Sorin Ionescu
95c29bada8 Standardized error messages. 2012-01-23 20:41:04 -05:00
Sorin Ionescu
28da8f916b Use Finder to trash files to enable Put Back.
Though AppleScript is slow, Put Back data is stored in
~/.Trash/.DS_Store, and there is no way to write to it
from the shell at this time.

The minimum Zsh version has been incremented to 4.3.10 to use
the 'a' modifier to convert a relative path into a full path.
2012-01-23 20:41:04 -05:00
Sorin Ionescu
5bb9a3e4b5 Print an error when a plugin is not found. 2012-01-23 20:41:03 -05:00
Sorin Ionescu
daf6f78f14 Added Bwana to OS X plugin. 2012-01-23 20:41:02 -05:00
Sorin Ionescu
f0499b76c3 Use zstyle instead of variables for configuration. 2012-01-23 20:41:00 -05:00
Sorin Ionescu
60f39d8d91 Moved hub into the git plugin. 2012-01-23 20:40:57 -05:00
Sorin Ionescu
850eb8c637 Use relative path instead of OMZ variable. 2012-01-23 20:40:42 -05:00