CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //usr/share/zsh/4.3.11/functions/_file_systems

#autoload

local expl fss

case $OSTYPE in
  aix*) fss=( jfs nfs cdrfs ) ;;
  irix*) fss=( efs proc fd nfs iso9660 dos hfs cachefs xfs ) ;;
  linux*)
    typeset -aU fss
    fss=( adfs bfs cramfs ext2 ext3 hfs hpfs iso9660 minix ntfs qnx4
          reiserfs romfs swap udf ufs vxfs xfs xiafs )
    [[ -r /proc/filesystems ]] &&
        fss+=( ${$(</proc/filesystems)#nodev} )
    [[ -r /etc/filesystems ]] &&
        fss+=( ${$(</etc/filesystems)#\*} )
  ;;
  osf*) fss=( advfs ufs nfs mfs cdfs ) ;;
  solaris*) fss=( ufs nfs hsfs s5fs pcfs cachefs tmpfs ) ;;
  dragonfly*)
    fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdos nfs 
          ntfs null nwfs portal procfs std udf ufs umap union )
  ;;
  freebsd*)
    fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdosfs nfs
    ntfs nullfs nwfs portal procfs smbfs std udf ufs umap unionfs 
    reiserfs xfs)
  ;;
  darwin*)
    fss=( afp cd9660 cddafs devfs fdesc hfs lfs msdos nfs
          ntfs smbfs synthfs udf ufs volfs webdav )
  ;;
  *)
    # default for all other systems
    fss=( ufs )
  ;;
esac

_wanted fstypes expl 'file system type' compadd "$@" -M 'L:|no=' -a "$@" - fss


 






Copyright 2K16 - 2K18 Indonesian Hacker Rulez