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