Managing a Library of prompts with variables - using Cloud Storage, Espanso Forms and Symlinks
Table of Contents
Install and sync Espanso config on a new Mac
- Download and install Espanso: https://espanso.org/install/
- Type
:espansoin a text field of any app to make sure that espanso is running. - Sync your espanso folder from cloud storage to locally on your Mac.
- In my case, the location is (this location is written in a way that it's only supposed to make sense to me):
Dropbox_mejain1989@gmail/espanso/
- In my case, the location is (this location is written in a way that it's only supposed to make sense to me):
- Run this command in Terminal:
espanso path config.
Keep the path handy except the last/espanso/part at the end. For e.g.- If command printed
/Users/nancy/Library/Application Support/espanso, then just remember/Users/nancy/Library/Application Support/.
- If command printed
- Stop espanso running in background:
espanso stop - Delete default
espanso/folder created during installation (which is located at/Users/nancy/Library/Application Support/as printed in Step-4). - Now create a symbolic link at Espanso's default location pointing to folder kept in Cloud Storage.
- In my case the command looks like this:
ln -s "/Users/nancy/Insync/me.jain1989@gmail.com/Dropbox/espanso/" "/Users/nancy/Library/Application Support/"
- In my case the command looks like this:
- Now restart espanso and try a shortcut stored in your espanso on Dropbox.
- In my case, I try this with
:dropboxwhich only works if above setup if working correctly.
- In my case, I try this with
Espanso Forms
Using Espanso Forms feature to take dynamic input for variables inserted in prompts.
To be done.
