fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_complete_atool_archive_contents --description'List archive contents' 3set -l cmd( commandline -cxp) 4set -e cmd[ 1 ] 5set -l file 6for argin $cmd 7switch $arg 8case '-*' 9case '*' 10if test -f $arg 11set file$arg 12break 13end 14end 15end 16if not set -q file[ 1 ] 17return 18end 19als $file -qq| sed -r's/^\s*[0-9]+\s+[0-9-]+\s+[0-9:]+\s+(.*)$/\1/' 20 21end