From 94d52d4e4a93adc2a5f841c9cb5b279aba7efe17 Mon Sep 17 00:00:00 2001 From: ucpr Date: Sat, 3 Jun 2023 07:11:55 +0900 Subject: [PATCH] add MANPATH --- zsh/plugin.zsh | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/zsh/plugin.zsh b/zsh/plugin.zsh index d37d0d1..73d56bf 100644 --- a/zsh/plugin.zsh +++ b/zsh/plugin.zsh @@ -11,26 +11,6 @@ autoload -Uz edit-command-line zle -N edit-command-line bindkey "^O" edit-command-line -### BSD to GNU -case "$OSTYPE" in - darwin*) - (( ${+commands[gdate]} )) && alias date='gdate' - (( ${+commands[gls]} )) && alias ls='gls' - (( ${+commands[gmkdir]} )) && alias mkdir='gmkdir' - (( ${+commands[gcp]} )) && alias cp='gcp' - (( ${+commands[gmv]} )) && alias mv='gmv' - (( ${+commands[grm]} )) && alias rm='grm' - (( ${+commands[gdu]} )) && alias du='gdu' - (( ${+commands[ghead]} )) && alias head='ghead' - (( ${+commands[gtail]} )) && alias tail='gtail' - (( ${+commands[gsed]} )) && alias sed='gsed' - (( ${+commands[ggrep]} )) && alias grep='ggrep' - (( ${+commands[gfind]} )) && alias find='gfind' - (( ${+commands[gdirname]} )) && alias dirname='gdirname' - (( ${+commands[gxargs]} )) && alias xargs='gxargs' - ;; -esac - ### Aliases alias g="git" alias k="kubectl" @@ -59,6 +39,7 @@ export GOPATH=~/.go export PATH=~/.go/bin:$PATH export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" +export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH" export VISUAL=nvim export EDITOR=nvim -- knotmirror 0.0.1