Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zfdir pager selection



Trying to use :more as a pager doesn't work too well here.

Index: Functions/Zftp/zfdir
===================================================================
RCS file: /cvs/zsh/zsh/Functions/Zftp/zfdir,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 zfdir
--- Functions/Zftp/zfdir	1999/12/15 21:33:38	1.1.1.3
+++ Functions/Zftp/zfdir	1999/12/20 15:28:30
@@ -98,11 +98,11 @@
 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
 # }



Messages sorted by: Reverse Date, Date, Thread, Author