aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/pmd.sh
blob: 4b0cd5bde3216496275f56b9a76ad555b53c08cf (plain)
1
2
3
4
5
6
7
8
# Print the marked directory
pmd() {
    if [ -z "$PMD" ] ; then
        printf >&2 'pmd(): Mark not set\n'
        return 1
    fi
    printf '%s\n' "$PMD"
}