#!/usr/bin/env fish # echo check for permissions set -l USER (whoami) #cat /srv/repos/permission | grep -E "^ # run command /usr/bin/sudo -u git /usr/bin/git-shell -c "$argv"