Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cdi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# CDI - Change Dir Interactively
# Don't waste more time in the terminal browsing folders with CD

# change field separator to new-line to easily handle spaces in folder names.
# To revert back to default space seperator, use `unset IFS` where required
IFS=$'\n'

# helper function to colorize terminal text
color_print() {
# function call syntax
Expand Down