This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.zsh: allow MANPAGER to be piped to other processes

+2 -2
+2 -2
tools/zsh/flake-module.nix
··· 81 81 # direnv integration 82 82 eval "$(${pkgs.direnv}/bin/direnv hook zsh)" 83 83 84 - # Use nvim as MANPAGER if available 84 + # Use nvim as MANPAGER if available and output is not piped 85 85 if command -v nvim >/dev/null 2>&1; then 86 - export MANPAGER="nvim +Man!" 86 + export MANPAGER='sh -c "if [ -t 1 ]; then nvim +Man!; else cat; fi"' 87 87 fi 88 88 89 89 # This function is called whenever a command is not found.