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:
commit
bb7358ca80
@ -74,7 +74,7 @@ function M.setup()
|
|||||||
|
|
||||||
local ft = vim.bo.filetype
|
local ft = vim.bo.filetype
|
||||||
if ft == "cpp" then ft = "c" end
|
if ft == "cpp" then ft = "c" end
|
||||||
require("lsp." .. ft) -- ./<ft>.lua
|
require("lsp." .. ft) -- ./<ft>.lua
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -16,7 +16,6 @@ opt.wildignore = {
|
|||||||
}
|
}
|
||||||
opt.wildmode = { "longest", "full" }
|
opt.wildmode = { "longest", "full" }
|
||||||
opt.wildoptions = "pum"
|
opt.wildoptions = "pum"
|
||||||
g.loaded_netrw = 1 -- disable netrw
|
|
||||||
|
|
||||||
-- editor
|
-- editor
|
||||||
opt.lazyredraw = true
|
opt.lazyredraw = true
|
||||||
|
@ -18,8 +18,8 @@ os='Arch Linux'
|
|||||||
kernel="$(uname -sr)"
|
kernel="$(uname -sr)"
|
||||||
uptime="$(uptime -p | sed 's/up //')"
|
uptime="$(uptime -p | sed 's/up //')"
|
||||||
packages="$(pacman -Q | wc -l)"
|
packages="$(pacman -Q | wc -l)"
|
||||||
shell="$(basename "$SHELL")"
|
shell="$($SHELL --version | sed -e 's/(.*)//')"
|
||||||
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | cut -d ' ' -f 2)"
|
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | rev | cut -d ' ' -f 1 | rev)"
|
||||||
|
|
||||||
# parse the '/proc/meminfo' file splitting on ':' and 'k'.
|
# parse the '/proc/meminfo' file splitting on ':' and 'k'.
|
||||||
# the format of the file is 'key: 000kB' and an additional
|
# the format of the file is 'key: 000kB' and an additional
|
||||||
|
Reference in New Issue
Block a user