2024-12-29 00:34:39 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2025-01-05 19:14:37 +01:00
|
|
|
# Accepts all arguments to nh os switch
|
|
|
|
# For example --ask to prompt if the user want to switch configs
|
|
|
|
|
2024-12-29 00:34:39 +01:00
|
|
|
# Rebuild and switch the environment if successful
|
|
|
|
git add .
|
2025-01-05 18:24:57 +01:00
|
|
|
./fmt
|
2025-01-05 19:14:37 +01:00
|
|
|
nh os switch . "$@"
|