Merge remote-tracking branch 'leira/i#995'

This commit is contained in:
Maxime Coste 2016-12-20 10:40:45 +00:00
commit 26e1caef7b
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
*.o *.o
.*.d .*.d
*.pyc *.pyc
*.1-r
src/kak src/kak
doc/kak.1.gz doc/kak.1.gz
doc/manpages/*.gz doc/manpages/*.gz

View File

@ -9,7 +9,7 @@ def -hidden -params 1..2 _doc-open %{
export MANWIDTH=${kak_window_width} export MANWIDTH=${kak_window_width}
if man "$1" > "${manout}"; then if man "$1" > "${manout}"; then
sed -i 's/.\x8//g' "${manout}" sed -ie $(printf 's/.\x8//g') "${manout}"
printf %s\\n " printf %s\\n "
edit! -scratch '*doc*' edit! -scratch '*doc*'