Merge branch 'dev' into logos

scripts: fetch infos more robus
         fix tsession
alias: rsync --progress
nvim: comments cleanup
      enable netrw again
This commit is contained in:
David JULIEN 2021-12-02 15:47:59 +01:00
commit bb7358ca80
No known key found for this signature in database
GPG Key ID: 4B388E8BD9D47382
3 changed files with 3 additions and 4 deletions

View File

@ -74,7 +74,7 @@ function M.setup()
local ft = vim.bo.filetype
if ft == "cpp" then ft = "c" end
require("lsp." .. ft) -- ./<ft>.lua
require("lsp." .. ft) -- ./<ft>.lua
end
return M

View File

@ -16,7 +16,6 @@ opt.wildignore = {
}
opt.wildmode = { "longest", "full" }
opt.wildoptions = "pum"
g.loaded_netrw = 1 -- disable netrw
-- editor
opt.lazyredraw = true

View File

@ -18,8 +18,8 @@ os='Arch Linux'
kernel="$(uname -sr)"
uptime="$(uptime -p | sed 's/up //')"
packages="$(pacman -Q | wc -l)"
shell="$(basename "$SHELL")"
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | cut -d ' ' -f 2)"
shell="$($SHELL --version | sed -e 's/(.*)//')"
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | rev | cut -d ' ' -f 1 | rev)"
# parse the '/proc/meminfo' file splitting on ':' and 'k'.
# the format of the file is 'key: 000kB' and an additional