OMZ colored-man-pages
plugin doesn't work
#98
Answered
by
marlonrichert
xenoterracide
asked this question in
Q&A
-
So I have this source ~/.local/share/znap/zsh-snap/znap.zsh
znap source ohmyzsh/ohmyzsh plugins/colored-man-pages/colored-man-pages.plugin.zsh
######
# env.sh
######
export ZSH_THEME="typewritten"
export TYPEWRITTEN_CURSOR="block"
export TYPEWRITTEN_RIGHT_PROMPT_PREFIX="# "
export TYPEWRITTEN_RELATIVE_PATH="adaptive"
export EDITOR='vim'
export VISUAL='vim'
export PAGER='less --chop-long-lines'
export LESS="-R --quit-if-one-screen --silent"
export GPG_TTY=$(tty)
######
######
# alias.sh
######
alias vi="\vim -Xp"
alias vim="\vim -Xp"
alias brix="\java -jar ~/.local/share/brix/brix.jar"
alias clip="\xclip -selection clipboard -in"
alias bfg="\java -jar ~/.local/share/bfg.jar"
alias logs="\journalctl --output cat --boot 0 --full"
alias dmesg="\dmesg --color=always | less"
alias lsblk="\lsblk -o name,label,fstype,uuid"
if command -v bat >/dev/null 2>&1; then
alias cat="\bat --paging=never --plain"
fi
if command -v exa >/dev/null 2>&1; then
alias ls="\exa"
fi
if command -v plocate >/dev/null 2>&1; then
alias locate="plocate"
fi
######
znap prompt reobin/typewritten and while the prompt seems to work, the plugin does not. I also tried the plugin without the "file.zsh` at the end. I'm also not seeing a .zwc for the prompt. |
Beta Was this translation helpful? Give feedback.
Answered by
marlonrichert
Aug 5, 2021
Replies: 2 comments 3 replies
-
For that plugin to work, you do need to load the required libraries first. Try this: znap source ohmyzsh/ohmyzsh lib/theme-and-appearance
znap source ohmyzsh/ohmyzsh plugins/colored-man-pages |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marlonrichert
-
adding this to my zsh somehow unalias my LS which is aliased to exa
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For that plugin to work, you do need to load the required libraries first. Try this: