about summary refs log tree commit diff
path: root/Functions/Zftp/zfdir
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-20 15:39:55 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-20 15:39:55 +0000
commit4297443d88011ff26c587561a9bbd741c9c8eab6 (patch)
tree545698c4733132e6e1ecce62ba959b1e7bba7aa2 /Functions/Zftp/zfdir
parentb123131667f9b219c669f28f78fac212852497d9 (diff)
downloadzsh-4297443d88011ff26c587561a9bbd741c9c8eab6.tar.gz
zsh-4297443d88011ff26c587561a9bbd741c9c8eab6.tar.xz
zsh-4297443d88011ff26c587561a9bbd741c9c8eab6.zip
zsh-workers/9121
Diffstat (limited to 'Functions/Zftp/zfdir')
-rw-r--r--Functions/Zftp/zfdir4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zftp/zfdir b/Functions/Zftp/zfdir
index b8930b176..d74f75fb8 100644
--- a/Functions/Zftp/zfdir
+++ b/Functions/Zftp/zfdir
@@ -98,11 +98,11 @@ if [[ -n $file && -f $file ]]; then
 else
   if (zftp test); then
     # Works OK in subshells
-    zftp dir $* | tee $file | eval ${PAGER-:more}
+    zftp dir $* | tee $file | eval ${PAGER:-more}
   else
     # Doesn't work in subshells (IRIX 6.2 --- why?)
     zftp dir $* >$file
-    eval ${PAGER-:more} $file
+    eval ${PAGER:-more} $file
   fi
 fi
 # }