diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-03-11 22:53:41 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-03-11 22:53:41 +0000 |
commit | e264c1bee199acd99267e2142ab22507cadb488a (patch) | |
tree | af471605f1dafb99214a91b44dedd17f350ae703 /Completion/User/_ncftp | |
parent | c140245164e0448685940f17fd8efcbc8109b237 (diff) | |
download | zsh-e264c1bee199acd99267e2142ab22507cadb488a.tar.gz zsh-e264c1bee199acd99267e2142ab22507cadb488a.tar.xz zsh-e264c1bee199acd99267e2142ab22507cadb488a.zip |
Various new, improved, fixed or updated functions (13600)
Diffstat (limited to 'Completion/User/_ncftp')
-rw-r--r-- | Completion/User/_ncftp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/User/_ncftp b/Completion/User/_ncftp new file mode 100644 index 000000000..e760b3536 --- /dev/null +++ b/Completion/User/_ncftp @@ -0,0 +1,8 @@ +#compdef ncftp + +if [[ -f ~/.ncftp/bookmarks ]]; then + _wanted bookmarks expl bookmark \ + compadd - $(awk -F, 'NR > 2 { print $1 }' ~/.ncftp/bookmarks) && return 0 +fi + +_hosts |