* [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
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.
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>
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.