elvish_config/aliases/vivaldiprofile.elv

17 lines
377 B
Plaintext
Raw Normal View History

2021-12-11 21:09:02 +00:00
fn -sync {|d1 d2|
2021-08-24 18:45:25 +00:00
rsync -azh --delete --info=progress2,stats ~/.config/$d1/ ~/.config/$d2/
}
2021-12-11 21:09:02 +00:00
fn -save {|d|
2021-08-24 18:45:25 +00:00
-sync $d $d.save
}
2021-12-11 21:09:02 +00:00
fn -restore {|d|
2021-08-24 18:45:25 +00:00
-sync $d.save $d
}
2021-12-11 21:09:02 +00:00
edit:add-var viv-save~ {|| -save vivaldi }
edit:add-var viv-restore~ {|| -restore vivaldi }
edit:add-var vivd-save~ {|| -save vivaldi-developer }
edit:add-var vivd-restore~ {|| -restore vivaldi-developer }