commacd
commacd copied to clipboard
take account of $CDPATH
Thank you for this helpful utility, especially under Bash!
The command
cd() { builtin cd "$@" || _commacd_forward "$@"; }
preserves $CDPATH of cd, but does glob paths in $CDPATH. For tab completion, there is no such workaround.
It probably has to be added into
# sh/bash/bash.d/functions.d/commacd.sh (line 109)
_commacd_prefix_glob() (