configuration.nix/.envrc
Jalil David Salamé Messina 4f7479490e
All checks were successful
/ check (push) Successful in 19s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
feat(envrc): fetch repo on enter
Should help me not to work on an outdated commit, thankfully jj makes it
trivial to rebase.
2024-10-12 19:36:55 +02:00

10 lines
127 B
Bash

# update repo
if has jj; then
jj git fetch
elif has gix; then
gix fetch
elif has git; then
git fetch
fi
use flake