Skip to content

How To: cdspell – Directory Typo Correction

cpx July 15, 2014 1 min read 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
0 0 votes
Article Rating
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x