~theorytoe/mman

f7184e37d77ba8e42e0bd7db3b17505b7d5926a8 — theorytoe 6 months ago f3659f0
fix: scdoc edit ext incorrect
1 files changed, 3 insertions(+), 3 deletions(-)

M mman
M mman => mman +3 -3
@@ 16,10 16,10 @@ ACTION=view
[ -d "$SRCDIR" ] || mkdir -p "$SRCDIR"

# add coloring to manpages
export LESS_TERMCAP_md=$(tput bold; tput setaf 4)
export LESS_TERMCAP_md=$(tput bold; tput setaf 2)
export LESS_TERMCAP_me=$(tput sgr0)
export LESS_TERMCAP_mb=$(tput blink)
export LESS_TERMCAP_us=$(tput smul; tput setaf 2)
export LESS_TERMCAP_us=$(tput smul; tput setaf 1)
export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
export LESS_TERMCAP_so=$(tput smso)
export LESS_TERMCAP_se=$(tput rmso)


@@ 72,7 72,7 @@ editscdoc() {
		fi
	done
	for i in $SECTION; do
		"$EDITOR" "${MMANDIR}/$1.$i.man"
		"$EDITOR" "${MMANDIR}/$1.$i.scd"
		compileman # compile manpages after edit
		return $?
	done