#!/usr/bin/sh

[ -n "$_HPX_SEEN_CORE_PATHTOOLS" ] && return
_HPX_SEEN_CORE_PATHTOOLS=1

# HEPiX `pathtools' include the following functions:
# hpx_path_is_present()
# hpx_path_remove()
# hpx_path_prepend()
# hpx_path_prepend_unique()
# hpx_path_prepend_unless_present()
# hpx_path_append()
# hpx_path_append_unique()
# hpx_path_append_unless_present()

# Check if we have more effective shell-specific implementations available.
case $SHELL in
	/bin/zsh)
		hpx_source $HPX_HOME_CORE/pathtools.zsh
		;;
	*)
		hpx_source $HPX_HOME_CORE/pathtools.sh
esac

# End of file.
