Merge branch 'dev' into gentoo

scripts: fetch infos are more robust
         fix tsession
alias: rsync --progress
nvim: cleanup comments
        enable netrw back again
gentoo
David JULIEN 10 months ago
commit c982b10206
Signed by: swytch
GPG Key ID: 4B388E8BD9D47382
  1. 1
      .config/aliasrc
  2. 2
      .config/nvim/lua/lsp/init.lua
  3. 1
      .config/nvim/lua/settings.lua
  4. 1
      .local/bin/fetch
  5. 2
      .local/bin/tsession

@ -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'

@ -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

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

@ -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'.

@ -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

Loading…
Cancel
Save