summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2021-03-06 16:58:38 +0100
committerMarc Vertes <mvertes@free.fr>2021-03-06 16:58:38 +0100
commit9aa9c25a4d2ced1ea41d1d981b3fad9fe28a17a6 (patch)
tree7989d5c3833d3b0ee0df9db6420b20d5bd98b94e
parentbcc866236cca05f6caf78a6c3d93a63c9bf19f7c (diff)
update
-rwxr-xr-x.vim/pack/mvertes/install.sh2
-rw-r--r--.vimrc3
-rw-r--r--.zshrc8
-rwxr-xr-xbin/vm4
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
}