Compare commits

..

No commits in common. "1d3d68926baa2b4a5793d6d65582a3efc8040627" and "21643ed7f86b2a448c09c214b7470f48f63674a3" have entirely different histories.

View file

@ -1,24 +1,15 @@
#!/bin/bash
exec_as() {
local user
user="$1"
shift
if [ "$(whoami)" != "$user" ]; then
exec sudo -u "$user" "$0" "$@"
if [ "$(whoami)" != root ]; then
exec sudo -u qemu "$0" "$@"
else
cd || exit
fi
}
exec_as qemu "$@"
bin=bin
images=images
PATH="./${bin}:${PATH}"
EDITOR="${EDITOR:-nvim}"
alias ls='ls --color=auto'
shopt -s expand_aliases