From 9aa9c25a4d2ced1ea41d1d981b3fad9fe28a17a6 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 6 Mar 2021 16:58:38 +0100 Subject: update --- .vim/pack/mvertes/install.sh | 2 +- .vimrc | 3 ++- .zshrc | 8 +++----- bin/vm | 4 +++- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.vim/pack/mvertes/install.sh b/.vim/pack/mvertes/install.sh index 36cf414..24a52f0 100755 --- a/.vim/pack/mvertes/install.sh +++ b/.vim/pack/mvertes/install.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -plugins='https://github.com/mvertes/vimki https://github.com/fatih/vim-go' +plugins='git@github.com:mvertes/vimki git@github.com:fatih/vim-go' ht='vim -c "helptags doc" -c "q"' mkdir -p start diff --git a/.vimrc b/.vimrc index 35fb5e1..9f5b410 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,6 @@ " set background= -set t_te= t_ti= laststatus=2 +"set t_te= t_ti= laststatus=2 +set t_te= t_ti= ls=1 ruler syntax off filetype on diff --git a/.zshrc b/.zshrc index 15ed2e8..890bfe4 100644 --- a/.zshrc +++ b/.zshrc @@ -22,13 +22,11 @@ alias ll='ls -AFGl' alias ls='ls -AG' alias ya='rlwrap yaegi' -export MANWIDTH=92 - # Functions man() { - local width=$(tput cols) - [ $width -gt $MANWIDTH ] && width=$MANWIDTH - env MANWIDTH=$width man "$@" + local width='' + [ $(tput cols) -gt 88 ] && width='MANWIDTH=88' + env $width man "$@" } meteo() { diff --git a/bin/vm b/bin/vm index 22886d8..4b0e960 100755 --- a/bin/vm +++ b/bin/vm @@ -21,7 +21,9 @@ die() { echo "$0: fatal: $@" >&2; exit 1; } help() { usage 'help' 'Print this help text' && return - printf "$vm_version\nUsage: vm command [options] [args]\n" + echo "$vm_version +Manage virtual machines +Usage: vm command [options] [args]" Opth=1; for c in $Cmdlist; do $c; done } -- cgit v1.2.3