Convert `which` -> `command -v` for POSIX compliance
[dotfiles-public.git] / src / .bashrc.d / 90dotfiles
1 # Run the dotfiles.sh script if it exists
2
3 DS="$(command -v dotfiles.sh)"
4 if [ -n "${DS}" ] && [ -f "${DS}" ] && [ -x "${DS}" ]; then
5         "${DS}" --dotfiles-dir ~/src/dotfiles update
6 fi