summaryrefslogtreecommitdiffstats
path: root/sh/.config/sh/functions
blob: b64c4cfbefb6190f6414ea901ddc084648293c15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function perldoc {
    # XXX bash specific
    if type cpandoc >/dev/null 2>&1; then
        cpandoc "$@"
    else
        command perldoc "$@"
    fi
}

function cdu {
    cd "$(git root)" || return
}

# vim:ft=sh: