Skip to content

How To: cdspell – Directory Typo Correction

cpx July 15, 2014 1 min read Bash/BASH

The cdspell option in Bash is a helpful feature that automatically corrects minor typing mistakes in directory names when using the cd command. This guide explains how to enable and use this time-saving functionality.

shopt -s cdspell
echo "shopt -s cdspell" >> ~/.bashrc

Be the first to comment

protected · no tracking

0 comments