6 cd "$(apparix "$1" "$2" || echo .)";
8 cd "$(apparix "$1" || echo .)";
16 apparix
--add-mark "$1" "$2";
18 apparix
--add-mark "$1";
27 apparix
--add-portal "$1";
33 function _apparix_aliases
()
39 COMPREPLY
=($
(cat $HOME/.apparix
{rc
,expand}|
grep "j,.*$cur.*,"|cut
-f2 -d,))
41 dir
=`apparix -favour lro $dir 2>/dev/null` ||
return 0
43 COMPREPLY=( $(cd "$dir" ; ls -d *$cur* |
46 [[ -d "$r" ]] && [[ $r == *$cur* ]] && echo \"${r// /\\ }\"
52 complete
-F _apparix_aliases to