k
is a function that allows one to quickly jump to directories based off
simple pattern matching.
qbit@tal[0]:~$ k ohmy
qbit@tal[0]:~/src/ohmyksh got:(master)$ k wip
qbit@tal[0]:/usr/ports/openbsd-wip got:(master) git:(master)$
cd ~/directory/with/long/name
k
After running k
, the current directory will be stored in ~~/.k~.
From this point on, you can reach the directory from anywhere by running k
long name
.
k long name
k rm
k ls
k clean