#!/bin/bash
#   ----------------------------------------------------------------------------
##?  1.0 Setting PATH environments.
#   ----------------------------------------------------------------------------

##  ----------------------------------------------------------------------------
##?  1.1 Prepend $PATH without duplicates.
##  ----------------------------------------------------------------------------

##? prependpath: Prepend $PATH without duplicates
#prependpath() {
    if ! echo "${PATH}" | tr ":" "\n" | grep -qx "$1"; then
        PATH="$1:${PATH}"
    fi
#}