Something went wrong. Try again.
Quick-navigate script for the Johnny Decimal system
Something went wrong. Try again.
236 B 12 lines Created 8mo ago Shell
12345678910111213# https://johnnydecimal.com/cjd() { if [ $# -eq 0 ]; then cd ~/Documents elif [ $1 =~ ['.'] ]; then cd ~/Documents/*/*/${1}*/ elif [ $1 =~ ['-'] ]; then cd ~/Documents/${1}*/ else cd ~/Documents/*/${1}*/ fi}