2024-11-12 10:41 : id 91
This commit is contained in:
parent
82db39a740
commit
2ddae55c01
2
edithome
2
edithome
@ -2,7 +2,7 @@ nvim $HOME/.config/home-manager/home.nix
|
|||||||
home-manager switch &>home-switch.log || (
|
home-manager switch &>home-switch.log || (
|
||||||
cat home-switch.log | grep --color error && false)
|
cat home-switch.log | grep --color error && false)
|
||||||
gen=$(home-manager generations | head -n1 | sed 's/->.*//')
|
gen=$(home-manager generations | head -n1 | sed 's/->.*//')
|
||||||
sudo cp -r $HOME/.config/home-manager .
|
cp -r $HOME/.config/home-manager .
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$gen"
|
git commit -m "$gen"
|
||||||
if grep -q "error" home-switch.log; then
|
if grep -q "error" home-switch.log; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user