Improving My Directory Workflow
This is my most used custom shell script. test
#!/bin/sh
directory=$(find ~/myworkspace ~/Desktop -mindepth 0 -maxdepth 1 -type d | fzf)
if [ -z "$1" ]; then
cd "$directory"
exec bash
else
exec ranger "$directory"
fi
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 important-document.md
Now I just run dic
and use fzf
to search for the directory I need.