Hop

Bash utilityMar 2019–Mar 2019

Screenshot or cover image from Hop

Project description

Simple Bash utility for navigating quickly to pre-configured directories.

I wrote this script at a time I was using terminal intensely for university projects that involved navigating across multiple directories to run scripts and daemons. It was also a prime opportunity to learn good Bash scripting practices and how to implement autocomplete for a Bash CLI.

Eventually, I switched to Autojump 😄️.

Technical overview

The utility is written in plain Bash and uses the programmable completion feature of bash.

The list of navigable directories is read from a newline-separated text file, while configuration options are set with environment variables.