blob: 68d072ff5b21ef81197f99aea6613e21e9a0add5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
l() {
r=`(echo ../; ls -F) | lst`
key=`printf '%s\n' "$r" | head -1`
path=`printf '%s\n' "$r" | tail -1`
case $key in
13) cd "$path" ;;
101) vi "$path" ;; # e
32) cd "$path" && l ;; # space
esac
}
|