aboutsummaryrefslogtreecommitdiff
path: root/Functions/Zftp/zfls
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-04-25 15:43:41 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-04-25 15:43:41 +0000
commit206237c8ec4b7619d9e70a75004cd1ae1066b0a0 (patch)
treeff703cbc295605f90755edb68672ed2de11f4a81 /Functions/Zftp/zfls
parent8ceb54fbc2f879e0e80f58c18761bd54db07e5f7 (diff)
downloadzsh-dot-zsh-199904280524.tar.gz
zsh-dot-zsh-199904280524.tar.xz
zsh-dot-zsh-199904280524.zip
Diffstat (limited to 'Functions/Zftp/zfls')
-rw-r--r--Functions/Zftp/zfls13
1 files changed, 13 insertions, 0 deletions
diff --git a/Functions/Zftp/zfls b/Functions/Zftp/zfls
new file mode 100644
index 000000000..e8d3cfb28
--- /dev/null
+++ b/Functions/Zftp/zfls
@@ -0,0 +1,13 @@
+# function zfls {
+
+emulate -L zsh
+
+# directory hack, see zfcd
+if [[ $1 = $HOME || $1 = $HOME/* ]]; then
+ 1="~${1#$HOME}"
+fi
+
+zfautocheck -d
+
+zftp ls $*
+# }