migrate-atom-deb-to-user-flatpak.sh
· 362 B · Bash
Неформатований
#! /bin/bash
# global config
cp -f ~/.atom/config.cson ~/.var/app/io.atom.Atom/data/
# keybindings
cp -f ~/.atom/keymap.cson ~/.var/app/io.atom.Atom/data/
# init script (maybe you defined some custom function and then bound to a key combo?)
cp -f ~/.atom/init.coffee ~/.var/app/io.atom.Atom/data/
# packages
cp -rf ~/.atom/packages ~/.var/app/io.atom.Atom/data/
| 1 | #! /bin/bash |
| 2 | |
| 3 | # global config |
| 4 | cp -f ~/.atom/config.cson ~/.var/app/io.atom.Atom/data/ |
| 5 | # keybindings |
| 6 | cp -f ~/.atom/keymap.cson ~/.var/app/io.atom.Atom/data/ |
| 7 | # init script (maybe you defined some custom function and then bound to a key combo?) |
| 8 | cp -f ~/.atom/init.coffee ~/.var/app/io.atom.Atom/data/ |
| 9 | # packages |
| 10 | cp -rf ~/.atom/packages ~/.var/app/io.atom.Atom/data/ |
migrate-pulsar-deb-to-user-flatpak.sh
· 267 B · Bash
Неформатований
#! /usr/bin/env bash
# in case Pulsar flatpak hasn't been installed yet
mkdir -p ~/.var/app/dev.pulsar_edit.Pulsar/data/
# copy all the packages and config files
cp -rf ~/.pulsar/{config.cson,keymap.cson,init.coffee,packages} ~/.var/app/dev.pulsar_edit.Pulsar/data/
| 1 | #! /usr/bin/env bash |
| 2 | |
| 3 | # in case Pulsar flatpak hasn't been installed yet |
| 4 | mkdir -p ~/.var/app/dev.pulsar_edit.Pulsar/data/ |
| 5 | |
| 6 | # copy all the packages and config files |
| 7 | cp -rf ~/.pulsar/{config.cson,keymap.cson,init.coffee,packages} ~/.var/app/dev.pulsar_edit.Pulsar/data/ |