We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 555427d commit 223cfeeCopy full SHA for 223cfee
1 file changed
config/lsyncd/wsl.lua
@@ -2,7 +2,7 @@ local xdg_config_home = os.getenv('XDG_CONFIG_HOME') or '/home/hexin/.config'
2
local user_profile = os.getenv('USERPROFILE') or '/mnt/c/Users/Hexin'
3
local appdata = os.getenv('APPDATA') or '/mnt/c/Users/Hexin/AppData/Roaming'
4
5
-local transitions = {
+local transfers = {
6
{
7
source = ('%s/alacritty/'):format(xdg_config_home),
8
target = ('%s/alacritty/'):format(appdata),
@@ -13,11 +13,11 @@ local transitions = {
13
},
14
}
15
16
-for _, transition in ipairs(transitions) do
+for _, transfer in ipairs(transfers) do
17
sync({
18
default.rsync,
19
delay = 0,
20
- source = transition.source,
21
- target = transition.target,
+ source = transfer.source,
+ target = transfer.target,
22
})
23
end
0 commit comments