function repos { if [[ $1 = "" ]] ; then cd ~/repos return fi cd ~/repos/$1 } function _repos { local allfiles=`find ~/repos/* -type d -maxdepth 0 -exec basename '{}' ';'` local array=(${(f)allfiles}) _describe -t commands "Projects" array…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。