dot

packages and services management
Log | Files | Refs | README

commit 52b64d6d247a3403a2468206190f8c462c979489
parent 7f6977009a7c1f4e1b29bc5bc92432e96fe55ce0
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 31 Jul 2017 01:03:28 +0200

Merge branch 'master' of http://github.com/josuah/etc

Diffstat:
Dscripts/bin/edit | 3---
Mscripts/bin/www-git | 2+-
Rscripts/bin/fig-fonts/1 -> scripts/fig-fonts/1 | 0
Rscripts/bin/fig-fonts/2 -> scripts/fig-fonts/2 | 0
Mshell/.profile | 3++-
5 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/scripts/bin/edit b/scripts/bin/edit @@ -1,3 +0,0 @@ -touch "$@" -command -v rlwarp && EDITOR='rlwrap ex' || EDITOR=ex -EDITOR=$EDITOR VISUAL=$EDITOR exec less "$@" diff --git a/scripts/bin/www-git b/scripts/bin/www-git @@ -46,7 +46,7 @@ cd "git/$NAME" || exit 1 printf '</pre><pre>' git -C "$1" log --graph --date=short \ - --format='%H %cd%d %cn <%ce>%n%n%s%n%n' | + --format='%H %cd %cn <%ce>%n%n%s%n%n' | sed -r ' s|&|\&amp;|g s|<|\&lt;|g diff --git a/scripts/bin/fig-fonts/1 b/scripts/fig-fonts/1 diff --git a/scripts/bin/fig-fonts/2 b/scripts/fig-fonts/2 diff --git a/shell/.profile b/shell/.profile @@ -8,4 +8,5 @@ export MAIL="$VAR/mail/INBOX" export EMAIL='mail@josuah.net' export EDITOR=less VISUAL=less -export LESSEDIT="ed -p '$(printf '\033[36;1m>\033[m ')' %f" +command -v rlwrap && LESSEDIT='rlwrap ed' || LESSEDIT='ed' +export LESSEDIT="$LESSEDIT -p '$(printf '\033[36;1m>\033[m ')' %f"