From 23eb34512f23f641abcc405ba7fcdae63cc537d1 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 19 Nov 2018 23:16:01 +1100 Subject: [PATCH] bash: fix for non-GNU man --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index e524437..ef54a27 100644 --- a/.bashrc +++ b/.bashrc @@ -241,7 +241,8 @@ function man { LESS_TERMCAP_me=$'\E[0m' \ LESS_TERMCAP_us=$'\E[04;38;5;146m' \ LESS_TERMCAP_ue=$'\E[0m' \ - man --encoding ascii "$@" + LC_CTYPE=C \ + man "$@" } # Creates the directory if it doesn't exist, and changes into it -- 2.39.2