Merge pull request #298 from kylebradshaw/home

leverage $HOME for synchronization
This commit is contained in:
Federico Terzi 2020-06-02 09:31:49 +02:00 committed by GitHub
commit 3a0ff42233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,16 +39,16 @@ Now restart espanso and you should be ready to go!
### macOS
By default, the espanso configuration folder resides in this folder (change "user" with your username):
By default, the espanso configuration folder resides in this folder
```
/Users/user/Library/Preferences/espanso
$HOME/Library/Preferences/espanso
```
The first step is moving this folder in your Dropbox folder, for example in:
```
/Users/user/Dropbox/espanso
$HOME/Dropbox/espanso
```
Now you need to create a **symbolic link**. Open the Terminal and type the following command, making sure you specify the correct paths:
@ -56,7 +56,7 @@ Now you need to create a **symbolic link**. Open the Terminal and type the follo
> Note: Before running the following command, make sure that there is no folder called `espanso` in the `Preferences` folder, as otherwise it will create another nested folder `espanso/espanso` (which is wrong).
```
ln -s "/Users/user/Dropbox/espanso" "/Users/user/Library/Preferences/espanso"
ln -s "$HOME/Dropbox/espanso" "$HOME/Library/Preferences/espanso"
```
Now restart espanso and you should be ready to go!
@ -81,4 +81,4 @@ Now you need to create a **symbolic link**. Open the Terminal and type the follo
ln -s "/home/user/Dropbox/espanso" "/home/user/.config/espanso"
```
Now restart espanso and you should be ready to go!
Now restart espanso and you should be ready to go!