aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-05-29 19:12:08 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2023-05-29 19:12:08 +0000
commitff2d3d4c09d282f8e612eee85aeae33d809497a4 (patch)
treef26ee9a75d6f6dbe5077e0bf2fc6bd572a9ae5ad /.profile
parent2d9869a79ae99fe089c539ac59de678149cbfd48 (diff)
downloaddotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar.gz
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar.bz2
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar.lz
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar.xz
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.tar.zst
dotfiles-ff2d3d4c09d282f8e612eee85aeae33d809497a4.zip
Silence man version check and prioritise global PATH over custom one
Diffstat (limited to '.profile')
-rwxr-xr-x.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index e55c012..328be26 100755
--- a/.profile
+++ b/.profile
@@ -47,7 +47,7 @@ export BAT_THEME
export TERMINAL
BAT="$(which bat 2> /dev/null || which batcat 2> /dev/null)"
-if [ -n "$BAT" ] && man --version 2> /dev/null
+if [ -n "$BAT" ] && man --version 2> /dev/null > /dev/null
then
MANPAGER="sh -c 'col -bx | $BAT -l man -p'"
export MANPAGER
@@ -73,6 +73,6 @@ then
export XDG_SESSION_TYPE
fi
-PATH="$PNPM_HOME:$GOPATH/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/.luarocks/bin:$HOME/.dotnet/tools:$PATH"
+PATH="$PATH:$PNPM_HOME:$GOPATH/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/.luarocks/bin:$HOME/.dotnet/tools"
export PATH