summary refs log tree commit diff
path: root/curtis
diff options
context:
space:
mode:
authorJune McEnroe <curtis@hopper.com>2017-07-11 14:36:15 -0400
committerJune McEnroe <curtis@hopper.com>2017-07-11 14:36:15 -0400
commita746e3af9a3d38b8d5c360abae89fdd9197b5db6 (patch)
treed5d318aae68f594269227a7bd8cae67ad1a7e798 /curtis
parentOnly pacman -Sy once (diff)
downloadsrc-a746e3af9a3d38b8d5c360abae89fdd9197b5db6.tar.gz
src-a746e3af9a3d38b8d5c360abae89fdd9197b5db6.zip
Remove manpager script
neovim now behaves correctly without the redirection hack.
Diffstat (limited to 'curtis')
-rwxr-xr-xcurtis/.bin/manpager1
-rw-r--r--curtis/.zshrc2
2 files changed, 1 insertions, 2 deletions
diff --git a/curtis/.bin/manpager b/curtis/.bin/manpager
deleted file mode 100755
index f358f5d9..00000000
--- a/curtis/.bin/manpager
+++ /dev/null
@@ -1 +0,0 @@
-exec nvim -c 'set ft=man' - 1< /dev/tty 2< /dev/tty
diff --git a/curtis/.zshrc b/curtis/.zshrc
index 6b7feebb..b05b4e39 100644
--- a/curtis/.zshrc
+++ b/curtis/.zshrc
@@ -19,7 +19,7 @@ path=(
 
 export PAGER=less MANPAGER=less EDITOR=vim GIT_EDITOR=vim
 type nvim > /dev/null \
-  && MANPAGER=manpager EDITOR=nvim GIT_EDITOR=nvim \
+  && EDITOR=nvim GIT_EDITOR=nvim MANPAGER="nvim -c 'set ft=man' -" \
   && alias vim=nvim
 export GPG_TTY=$TTY