This is my most used custom shell script.


directory=$(find ~/myworkspace ~/Desktop -mindepth 0 -maxdepth 1 -type d | fzf)

if [ -z "$1" ]; then
    cd "$directory"
    exec bash
    exec ranger "$directory"

Speed 🏃🏻💨

dic was a little script I made to quickly find directories that I use a lot.

Gone are the days of cd ~; cd important-directory/; ls; cd subdirectory; ls; vim

Now I just run dic and use fzf to search for the directory I need.