function 7za --wraps 'bsdtar' --description "Emulate 7za with bsdtar" if test (count $argv) -lt 1 echo "Missing argument." return 1 end if not command -sq bsdtar echo "Can't fint bsdtar." return 1 end command bsdtar -xf "$argv[-1]" end