diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2014-12-28 00:49:08 -0800 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-12-28 00:49:08 -0800 |
| commit | 33b395806470eeac408070fec535bfd5efc20a2c (patch) | |
| tree | 460b4348ea6401c36bd3488a0bf3fe12f9b4d7c4 /Functions/Zftp/zfcd_match | |
| parent | 34067: safe tempfile creation, part 1 (diff) | |
| download | zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.gz zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.bz2 zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.lz zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.xz zsh-33b395806470eeac408070fec535bfd5efc20a2c.tar.zst zsh-33b395806470eeac408070fec535bfd5efc20a2c.zip | |
34068: create tempfiles without forking, and safe temp directory creation
Diffstat (limited to 'Functions/Zftp/zfcd_match')
| -rw-r--r-- | Functions/Zftp/zfcd_match | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zftp/zfcd_match b/Functions/Zftp/zfcd_match index 2c809c20f..9159f496c 100644 --- a/Functions/Zftp/zfcd_match +++ b/Functions/Zftp/zfcd_match @@ -29,7 +29,7 @@ if [[ $ZFTP_SYSTEM = UNIX* ]]; then # () { # zftp ls -LF $dir >|$1 # reply=($(awk '/\/$/ { print substr($1, 1, length($1)-1) }' $1)) -# } =(:) +# } =(<<<'') [[ -n $dir && $dir != */ ]] && dir="$dir/" if [[ -n $WIDGET ]]; then _wanted directories expl 'remote directory' \ |
