leverage /Users/kbradsha for ln -s command instead of hardcoding full user path

This commit is contained in:
Kyle Bradshaw 2020-05-29 14:53:20 -04:00
parent 8532c2587b
commit 7096f4e57a

View File

@ -39,16 +39,16 @@ Now restart espanso and you should be ready to go!
### macOS ### 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: 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: 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). > 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! Now restart espanso and you should be ready to go!