diff --git a/dot_config/zsh/include/env.zsh b/dot_config/zsh/include/env.zsh index ac78519..edc7b39 100644 --- a/dot_config/zsh/include/env.zsh +++ b/dot_config/zsh/include/env.zsh @@ -4,13 +4,12 @@ export CARGO_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/cargo export GHCUP_USE_XDG_DIRS=1 export STACK_ROOT=${XDG_DATA_HOME:-$HOME/.local/share}/stack -export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse - export KREW_NO_UPGRADE_CHECK=1 export KREW_ROOT=${XDG_DATA_HOME:-$HOME/.local/share/krew} export PATH=${KREW_ROOT:-$HOME/.krew}/bin:~/bin:~/.local/bin:$GOPATH/bin:~/.nix-profile/bin:$PATH export EDITOR=nvim +export MANPAGER="nvim +Man!" export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock diff --git a/dot_config/zsh/include/functions.zsh b/dot_config/zsh/include/functions.zsh index 985429e..f26db70 100644 --- a/dot_config/zsh/include/functions.zsh +++ b/dot_config/zsh/include/functions.zsh @@ -26,16 +26,16 @@ pocompile() { msgfmt -o "${app_po%po}mo" "$app_po" } -man() { - if [[ "$1" = -k ]] || [[ "$1" = '---' ]] ; then - command man "$@" - elif [[ -n "$1" ]]; then - vim man://$1 - else - echo 'What manual page do you want?' - return 1 - fi -} +# man() { +# if [[ "$1" = -k ]] || [[ "$1" = '---' ]] ; then +# command man "$@" +# elif [[ -n "$1" ]]; then +# vim man://$1 +# else +# echo 'What manual page do you want?' +# return 1 +# fi +# } inplace() { local file=$1