From 7096f4e57a9bfc5db149bc489bb85237d1098259 Mon Sep 17 00:00:00 2001 From: Kyle Bradshaw Date: Fri, 29 May 2020 14:53:20 -0400 Subject: [PATCH] leverage /Users/kbradsha for ln -s command instead of hardcoding full user path --- docs/sync.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sync.md b/docs/sync.md index 132b0c4..f47ad5c 100644 --- a/docs/sync.md +++ b/docs/sync.md @@ -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! \ No newline at end of file +Now restart espanso and you should be ready to go!