#!/usr/bin/env sh
# add the -H parameter to sudo(8) calls, always use the target user's $HOME
sudo() {
    case $1 in
        -v) ;;
        *) set -- -H "$@" ;;
    esac
    command sudo "$@"
}


##!bash

## not really a function, having it as a function would mess with
## job control

#alias sudo="PS1='\h:\w # ' sudo"
