aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Fagerheim <erlendf80@gmail.com>2017-10-16 10:48:35 +0200
committerErlend Fagerheim <erlendf80@gmail.com>2017-10-16 10:48:35 +0200
commitfcd07c6fd8f14fe7fe027f7ba81e829b742153c6 (patch)
treee171cfae0d595a3728d131f33e351e947da1a96d
parentc3f30ee97030b29dde80d343585fae55920f4523 (diff)
downloadvis-cursors-fcd07c6fd8f14fe7fe027f7ba81e829b742153c6.tar.gz
simplify string concat
-rw-r--r--cursors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursors.lua b/cursors.lua
index 2e55c0a..9aee175 100644
--- a/cursors.lua
+++ b/cursors.lua
@@ -1,6 +1,6 @@
local module = {}
local cursors = {}
-module.path = string.format('%s/.cursors', os.getenv('HOME'))
+module.path = os.getenv('HOME') .. '/.cursors'
function set_cursor_pos(win)
if win.file == nil or win.file.path == nil then return end