diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2010-07-28 13:33:52 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-07-28 13:33:52 +0000 |
| commit | 10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (patch) | |
| tree | 32c80b045d603144ffafde5acf96853ba164d3f7 /Functions | |
| parent | 28102: use lstat() when checking ignore-parents (diff) | |
| download | zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.gz zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.bz2 zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.lz zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.xz zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.zst zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.zip | |
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/Misc/run-help | 2 | ||||
| -rw-r--r-- | Functions/Newuser/zsh-newuser-install | 2 | ||||
| -rw-r--r-- | Functions/Prompts/promptinit | 2 | ||||
| -rw-r--r-- | Functions/TCP/tcp_open | 6 | ||||
| -rw-r--r-- | Functions/Zftp/zfinit | 8 | ||||
| -rw-r--r-- | Functions/Zle/down-case-word-match | 2 | ||||
| -rw-r--r-- | Functions/Zle/forward-word-match | 2 | ||||
| -rw-r--r-- | Functions/Zle/history-pattern-search | 2 | ||||
| -rw-r--r-- | Functions/Zle/insert-composed-char | 2 | ||||
| -rw-r--r-- | Functions/Zle/kill-word-match | 2 | ||||
| -rw-r--r-- | Functions/Zle/match-words-by-style | 2 | ||||
| -rw-r--r-- | Functions/Zle/select-word-style | 4 | ||||
| -rw-r--r-- | Functions/Zle/transpose-words-match | 2 | ||||
| -rw-r--r-- | Functions/Zle/up-case-word-match | 2 | ||||
| -rw-r--r-- | Functions/Zle/zed-set-file-name | 2 |
15 files changed, 21 insertions, 21 deletions
diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help index 6a1b3a418..6a9abb3cf 100644 --- a/Functions/Misc/run-help +++ b/Functions/Misc/run-help @@ -5,7 +5,7 @@ # Install this function by placing it in your FPATH and then # adding to your .zshrc the lines: # unalias run-help -# autoload run-help +# autoload -Uz run-help # emulate -RL zsh diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install index 7428c6a49..e9ca82652 100644 --- a/Functions/Newuser/zsh-newuser-install +++ b/Functions/Newuser/zsh-newuser-install @@ -1081,7 +1081,7 @@ ${install_state[options]:+ ($install_state[options].)} if [[ $1 != -f ]]; then print -r "The function will not be run in future, but you can run it yourself as follows: - autoload $myname + autoload -Uz $myname $myname -f The code added to $zdmsg/.zshrc is marked by the lines diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index fef01d372..98c220fc1 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -22,7 +22,7 @@ promptinit () { name="$match[1]" if [[ -r "$theme" ]]; then prompt_themes=($prompt_themes $name) - autoload -U prompt_${name}_setup + autoload -Uz prompt_${name}_setup else print "Couldn't read file $theme containing theme $name." fi diff --git a/Functions/TCP/tcp_open b/Functions/TCP/tcp_open index 01327dc74..091217788 100644 --- a/Functions/TCP/tcp_open +++ b/Functions/TCP/tcp_open @@ -57,9 +57,9 @@ setopt extendedglob cbases zmodload -i zsh/net/tcp || return 1 zmodload -i zsh/zutil -autoload -U tcp_alias tcp_close tcp_command tcp_expect tcp_fd_handler -autoload -U tcp_log tcp_output tcp_proxy tcp_read tcp_rename tcp_send -autoload -U tcp_sess tcp_spam tcp_talk tcp_wait tcp_point tcp_shoot +autoload -Uz tcp_alias tcp_close tcp_command tcp_expect tcp_fd_handler +autoload -Uz tcp_log tcp_output tcp_proxy tcp_read tcp_rename tcp_send +autoload -Uz tcp_sess tcp_spam tcp_talk tcp_wait tcp_point tcp_shoot # TCP_SECONDS_START is only set if we override TCP_SECONDS locally, # so provide a global value for convenience. Should probably always be 0. diff --git a/Functions/Zftp/zfinit b/Functions/Zftp/zfinit index 663f1ff44..68e6a9691 100644 --- a/Functions/Zftp/zfinit +++ b/Functions/Zftp/zfinit @@ -25,10 +25,10 @@ alias zfls='noglob zfls' alias zfdir='noglob zfdir' alias zfuget='noglob zfuget' -autoload -U zfanon zfautocheck zfcd zfcd_match zfcget zfclose zfcput -autoload -U zfdir zffcache zfgcp zfget zfget_match zfgoto zfhere zfinit zfls -autoload -U zfmark zfopen zfparams zfpcp zfput zfrglob zfrtime zfsession -autoload -U zfstat zftp_chpwd zftp_progress zftransfer zftype zfuget zfuput +autoload -Uz zfanon zfautocheck zfcd zfcd_match zfcget zfclose zfcput +autoload -Uz zfdir zffcache zfgcp zfget zfget_match zfgoto zfhere zfinit zfls +autoload -Uz zfmark zfopen zfparams zfpcp zfput zfrglob zfrtime zfsession +autoload -Uz zfstat zftp_chpwd zftp_progress zftransfer zftype zfuget zfuput # # zftp completions: only use these if new-style completion is not diff --git a/Functions/Zle/down-case-word-match b/Functions/Zle/down-case-word-match index 87d543f8d..3da9159c9 100644 --- a/Functions/Zle/down-case-word-match +++ b/Functions/Zle/down-case-word-match @@ -1,7 +1,7 @@ |
