zsh: new alias to aid cloning an OS package

This commit is contained in:
Colin 2023-11-24 21:40:16 +00:00
parent e1845d37da
commit 6382ac22cb

View File

@ -151,6 +151,11 @@ in
pushd "$1";
}
function repo() {
# navigate to a local checkout of the source code for repo (i.e. package) $1
eval $(sane-clone "$1")
};
function switch() {
sudo nixos-rebuild --flake . switch --keep-going;
}