diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2005-05-11 09:27:05 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2005-05-11 09:27:05 +0000 |
commit | af31bd1741effb8aa8a6fb1070c61e958c47b31f (patch) | |
tree | 3b50650cb6031ee1738dcbdd5f6103c194d130c6 /Completion/Unix/Type | |
parent | 396ae4675744aaab998e7f1b6d80de44e030fa7f (diff) | |
download | zsh-af31bd1741effb8aa8a6fb1070c61e958c47b31f.tar.gz zsh-af31bd1741effb8aa8a6fb1070c61e958c47b31f.tar.xz zsh-af31bd1741effb8aa8a6fb1070c61e958c47b31f.zip |
Joerg Sonnenberger: 21252: Dragonfly BSD support
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r-- | Completion/Unix/Type/_file_systems | 4 | ||||
-rw-r--r-- | Completion/Unix/Type/_net_interfaces | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Type/_file_systems b/Completion/Unix/Type/_file_systems index 4c08dec01..d541fac15 100644 --- a/Completion/Unix/Type/_file_systems +++ b/Completion/Unix/Type/_file_systems @@ -16,9 +16,9 @@ case $OSTYPE in ;; osf*) fss=( advfs ufs nfs mfs cdfs ) ;; solaris*) fss=( ufs nfs hsfs s5fs pcfs cachefs tmpfs ) ;; - freebsd*) + freebsd*|dragonfly*) fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdos nfs - ntfs null nwfs portal procfs std ufs umap union ) + ntfs null nwfs portal procfs std udf ufs umap union ) ;; *) # default for all other systems diff --git a/Completion/Unix/Type/_net_interfaces b/Completion/Unix/Type/_net_interfaces index 8897d427f..dc7898c3d 100644 --- a/Completion/Unix/Type/_net_interfaces +++ b/Completion/Unix/Type/_net_interfaces @@ -12,7 +12,7 @@ case $OSTYPE in disp=(-ld list) fi ;; - darwin*|freebsd*) intf=( $(ifconfig -l) ) ;; + darwin*|freebsd*|dragonfly*) intf=( $(ifconfig -l) ) ;; irix*) intf=( ${${${(f)"$(/usr/etc/netstat -i)"}%% *}[2,-1]} ) ;; linux*) intf=( /proc/sys/net/ipv4/conf/*~*(all|default)(N:t) ) ;; *) intf=( $(ifconfig -a|sed -n 's/^\([^ :]*\).*/\1/p') ) ;; |