mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-25 00:38:20 -05:00
10 lines
279 B
Fish
10 lines
279 B
Fish
set CDPATH "$HOME/.config:$CDPATH"
|
|
|
|
# Adds `~/.local/bin` to $CDPATH
|
|
# set CDPATH so it includes user's private bin if it exists
|
|
if test -d "$HOME/.local/bin"
|
|
set CDPATH "$HOME/.local/bin:$CDPATH"
|
|
end
|
|
|
|
set CDPATH $(printf %s "$CDPATH" | awk -vRS=: '!a[$0]++' | paste -s -d:)
|