Skip to content

Commit 223cfee

Browse files
committed
Rename variable more appropriately
1 parent 555427d commit 223cfee

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

config/lsyncd/wsl.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ local xdg_config_home = os.getenv('XDG_CONFIG_HOME') or '/home/hexin/.config'
22
local user_profile = os.getenv('USERPROFILE') or '/mnt/c/Users/Hexin'
33
local appdata = os.getenv('APPDATA') or '/mnt/c/Users/Hexin/AppData/Roaming'
44

5-
local transitions = {
5+
local transfers = {
66
{
77
source = ('%s/alacritty/'):format(xdg_config_home),
88
target = ('%s/alacritty/'):format(appdata),
@@ -13,11 +13,11 @@ local transitions = {
1313
},
1414
}
1515

16-
for _, transition in ipairs(transitions) do
16+
for _, transfer in ipairs(transfers) do
1717
sync({
1818
default.rsync,
1919
delay = 0,
20-
source = transition.source,
21-
target = transition.target,
20+
source = transfer.source,
21+
target = transfer.target,
2222
})
2323
end

0 commit comments

Comments
 (0)