diff options
author | Squibid <me@zacharyscheiman.com> | 2023-08-11 20:43:58 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-08-11 20:43:58 -0400 |
commit | 590f0309995a569954fc94b1d5df6b6391ead9fa (patch) | |
tree | cfca10f62e189018c0bb7944d446423e6397f375 /lua/mngr/updates.lua | |
parent | b8d70ed288b3b542b7bb24609384aa540339b2da (diff) | |
download | nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.gz nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.bz2 nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.zip |
kitchen sink cause I'm too lazy to sort through this junk
Diffstat (limited to 'lua/mngr/updates.lua')
-rw-r--r-- | lua/mngr/updates.lua | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lua/mngr/updates.lua b/lua/mngr/updates.lua deleted file mode 100644 index ed0d622..0000000 --- a/lua/mngr/updates.lua +++ /dev/null @@ -1,14 +0,0 @@ --- janky popen madness to use curl without luarocks --- local remoteCommit = io.popen([[curl -s https://git.squi.bid/nvim/commit/ | grep -o "<a href='/nvim/commit/?id=.*>" | cut -d "'" -f 2 | cut -d "=" -f 2 | head -1]]) --- local remoteResult = remoteCommit:read("*a") --- remoteCommit:close() --- --- local localCommit = io.popen([[cd $XDG_CONFIG_HOME/nvim; git log | head -1 | cut -d " " -f 2]]) --- local localResult = localCommit:read("*a") --- localCommit:close() --- --- if remoteResult ~= localResult then --- vim.notify("Out of date with remote repo :(", vim.log.levels.WARN, {title = "Nvim Config"}) --- else --- vim.notify("Up to date with remote repo :)", vim.log.levels.INFO, {title = "Nvim Config"}) --- end |