7# should download this in the future
8# but the mirror is down
9proot=$(dirname "$0")/proot-$(uname -p)
10export PROOT_NO_SECCOMP=1
15# shellcheck disable=SC1090
16if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . "$HOME/.nix-profile/etc/profile.d/nix.sh"; fi
17if [ -n "$OLD_NIX_PATH" ]; then NIX_PATH="$OLD_NIX_PATH"; fi
19if [ -z "$IN_PROOT" ]; then
22 if ! [ -d "$nixdir" ]; then
25 curl https://nixos.org/nix/install -o "$s"
26 $proot -b "$nixdir:/nix" "$0" sh "$s"
29 $proot -b "$nixdir:/nix" "$0" "$@"
33elif [ $# -gt 0 ]; then
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list