From d554f5c12a3debd397f4ce5928c290f4666f897a Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Wed, 5 May 2021 22:22:14 +0300 Subject: [PATCH] shells: add custom manpath --- home/.bashrc-bloated | 1 + home/.config/fish/conf.d/env.fish | 1 + home/.config/zsh/.zshenv | 2 ++ 3 files changed, 4 insertions(+) diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index c71a658..2b96d14 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -365,6 +365,7 @@ fi # PATH export PATH=$HOME/.local/bin:$HOME/.local/bin/fzf:$NODENV_ROOT/bin:$PYENV_ROOT/bin:$POETRY_HOME/bin:$CARGO_HOME/bin:$GOPATH/bin:$NPM_CONFIG_PREFIX/bin:$PATH +export MANPATH=$HOME/.local/share/man:$MANPATH # _________________ # ___ |__ /__(_)_____ ________ diff --git a/home/.config/fish/conf.d/env.fish b/home/.config/fish/conf.d/env.fish index befc6b7..27476e4 100644 --- a/home/.config/fish/conf.d/env.fish +++ b/home/.config/fish/conf.d/env.fish @@ -382,3 +382,4 @@ end # PATH set -gx fish_user_paths $HOME/.local/bin $HOME/.local/bin/fzf $NODENV_ROOT/bin $PYENV_ROOT/bin $POETRY_HOME/bin $CARGO_HOME/bin $GOPATH/bin $NPM_CONFIG_PREFIX/bin +set -gx MANPATH $HOME/.local/share/man:$MANPATH diff --git a/home/.config/zsh/.zshenv b/home/.config/zsh/.zshenv index b14ea6b..55a8bb3 100644 --- a/home/.config/zsh/.zshenv +++ b/home/.config/zsh/.zshenv @@ -403,3 +403,5 @@ fi typeset -U PATH path path=("$HOME/.local/bin" "$HOME/.local/bin/fzf" "$NODENV_ROOT/bin" "$PYENV_ROOT/bin" "$POETRY_HOME/bin" "$CARGO_HOME/bin" "$GOPATH/bin" "$NPM_CONFIG_PREFIX/bin" "$path[@]") export PATH + +export MANPATH="$HOME/.local/share/man:$MANPATH"