elvish_config/aliases/vivaldiprofile.elv

17 lines
377 B
Plaintext
Raw Normal View History

2021-08-24 18:45:25 +00:00
fn -sync [d1 d2]{
rsync -azh --delete --info=progress2,stats ~/.config/$d1/ ~/.config/$d2/
}
fn -save [d]{
-sync $d $d.save
}
fn -restore [d]{
-sync $d.save $d
}
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 }