commacd icon indicating copy to clipboard operation
commacd copied to clipboard

take account of $CDPATH

Open Konfekt opened this issue 6 years ago • 0 comments

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() (

Konfekt avatar Jan 05 '20 11:01 Konfekt