Update README.md and zimfw output
due to latest changes on how Zim works.
This commit is contained in:
parent
5587ea14da
commit
0b19b2f89a
4 changed files with 7 additions and 7 deletions
|
@ -72,7 +72,7 @@ If you have a different shell framework installed (like oh-my-zsh or prezto),
|
|||
* [~/.zlogin](https://github.com/zimfw/install/blob/develop/src/templates/zlogin)
|
||||
* [~/.zimrc](https://github.com/zimfw/install/blob/develop/src/templates/zimrc)
|
||||
|
||||
5. Install the modules defined in `~/.zimrc` and build the static initialization script:
|
||||
5. Install the modules defined in `~/.zimrc` and build the initialization scripts:
|
||||
|
||||
source ~/.zim/zimfw.zsh install
|
||||
|
||||
|
|
|
@ -11,10 +11,10 @@ Startup options:
|
|||
%B-f%b|%B--fpath%b <path> Add specified path to fpath
|
||||
%B-a%b|%B--autoload%b <function_name> Autoload specified function
|
||||
%B-s%b|%B--source%b <file_path> Source specified file
|
||||
%B-d%b|%B--disabled%b Don't use or clean the module
|
||||
%B-d%b|%B--disabled%b Don't use or uninstall the module
|
||||
"
|
||||
if [[ ${${funcfiletrace[1]%:*}:t} != .zimrc ]]; then
|
||||
print -u2 -PR "%F{red}${0}: Must be called from <%= home %>/.zimrc%f"$'\n'${zusage}
|
||||
print -u2 -PR "%F{red}${0}: Must be called from %B<%= home %>/.zimrc%b%f"$'\n'${zusage}
|
||||
return 1
|
||||
fi
|
||||
if (( ! # )); then
|
||||
|
|
|
@ -3,7 +3,7 @@ zimfw() {
|
|||
Usage: %B${0}%b <action> [%B-q%b]
|
||||
|
||||
Actions:
|
||||
%Bbuild%b Build init.zsh
|
||||
%Bbuild%b Build init.zsh and login_init.zsh
|
||||
%Bclean%b Clean all (see below)
|
||||
%Bclean-compiled%b Clean Zsh compiled files
|
||||
%Bclean-dumpfile%b Clean completion dump file
|
||||
|
|
|
@ -114,10 +114,10 @@ Startup options:
|
|||
%B-f%b|%B--fpath%b <path> Add specified path to fpath
|
||||
%B-a%b|%B--autoload%b <function_name> Autoload specified function
|
||||
%B-s%b|%B--source%b <file_path> Source specified file
|
||||
%B-d%b|%B--disabled%b Don't use or clean the module
|
||||
%B-d%b|%B--disabled%b Don't use or uninstall the module
|
||||
"
|
||||
if [[ ${${funcfiletrace[1]%:*}:t} != .zimrc ]]; then
|
||||
print -u2 -PR "%F{red}${0}: Must be called from ${ZDOTDIR:-${HOME}}/.zimrc%f"$'\n'${zusage}
|
||||
print -u2 -PR "%F{red}${0}: Must be called from %B${ZDOTDIR:-${HOME}}/.zimrc%b%f"$'\n'${zusage}
|
||||
return 1
|
||||
fi
|
||||
if (( ! # )); then
|
||||
|
@ -307,7 +307,7 @@ zimfw() {
|
|||
Usage: %B${0}%b <action> [%B-q%b]
|
||||
|
||||
Actions:
|
||||
%Bbuild%b Build init.zsh
|
||||
%Bbuild%b Build init.zsh and login_init.zsh
|
||||
%Bclean%b Clean all (see below)
|
||||
%Bclean-compiled%b Clean Zsh compiled files
|
||||
%Bclean-dumpfile%b Clean completion dump file
|
||||
|
|
Loading…
Reference in a new issue