fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
13edce367
master
1if chmod --version&> /dev/null# gnu's not unix 2complete chmod -s c -l changes -d'Like -v but report only changes' 3complete chmod -l no-preserve-root -d'Don\'t treat / special (default)' 4complete chmod -l preserve-root -d'Fail to operate recursively on /' 5complete chmod -s f -l silent -l quiet -d'Suppress most errors' 6complete chmod -s v -l verbose -d'Prints each file processed' 7complete chmod -l reference -d'Use RFILEs mode instead of MODE values' -r 8complete chmod -s R -l recursive -d'Operate recursively' 9complete chmod -l help -d'Display help and exit' 10complete chmod -l version -d'Display version and exit' 11else # guess it might be unix 12complete chmod -s f -d'Suppress errors' 13complete chmod -s H -d"Follow given symlinks with -R" 14complete chmod -s h -d"Don't dereference given symlinks" 15complete chmod -s L -d"Follow all symlinks with -R" 16complete chmod -s P -d"Follow no symlinks with -R" 17complete chmod -s R -d'Operate recursively' 18complete chmod -s v -d'Prints each file processed' 19end