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:
commit
c982b10206
@ -4,6 +4,7 @@
|
|||||||
alias cp='cp -v'
|
alias cp='cp -v'
|
||||||
alias mv='mv -v'
|
alias mv='mv -v'
|
||||||
alias rm='rm -v'
|
alias rm='rm -v'
|
||||||
|
alias rsync='rsync --progress'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias ll='ls -lh'
|
alias ll='ls -lh'
|
||||||
|
@ -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
|
||||||
|
@ -20,7 +20,6 @@ kernel="$(uname -sr)"
|
|||||||
uptime="$(uptime -p | sed 's/up //')"
|
uptime="$(uptime -p | sed 's/up //')"
|
||||||
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
|
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
|
||||||
shell="$($SHELL --version | sed -e 's/(.*)//')"
|
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)"
|
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'.
|
||||||
|
@ -4,6 +4,6 @@ session="$1"
|
|||||||
cmd="$2"
|
cmd="$2"
|
||||||
|
|
||||||
tmux new -s $session -d
|
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
|
tmux attach -t $session
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user