aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/env.sh
blob: 4fa980f26bd909b2237d61255c9520649e9a867e (plain) (blame)
1
2
3
4
5
6
7
8
# Sort the output of env(1) for me
env() {
    if [ "$#" -eq 0 ] ; then
        command env | sort
    else
        command env "$@"
    fi
}