Merge branch 'dev' into gentoo

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

View File

@ -4,6 +4,7 @@
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias rsync='rsync --progress'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias ll='ls -lh'

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

@ -20,7 +20,6 @@ kernel="$(uname -sr)"
uptime="$(uptime -p | sed 's/up //')"
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
shell="$($SHELL --version | sed -e 's/(.*)//')"
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'.

View File

@ -4,6 +4,6 @@ session="$1"
cmd="$2"
tmux new -s $session -d
tmux send-keys -t $session "exec $cmd" C-m
tmux send-keys -t $session "$cmd && exit" C-m
tmux attach -t $session