-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a symbolic link to the manual of the used version to support update-alternatives #168
Comments
Still not very sure what I am supposed to do with this |
🤔 |
I leave where you put the manual file up to you. You may know better than me. But for bob to install a new version of nvim and its manual, and for them to be useful with update-alternatives, they need to be linked to a stable location. I thought a man directory would be conventional. The manuals for vim seem to find themselves in /usr/share/man1 I don't know what else to say. Except thanks for your time, and the excellent utility. |
So what u are asking me is basically, copy nvim's |
Yes thanks.
…On Mon, 27 Nov 2023 at 20:00, MordechaiHadad ***@***.***> wrote:
So what u are asking me is basically, copy nvim's man1 to a designated
path every time you switch versions?
—
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFPYWTLTQEJ37RHWH5R2TTYGRJBZAVCNFSM6AAAAAA7TVF7BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRXGQYDAOJYG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
test #174 via one of the provided artifacts before i merge this |
@pjgoodall is this still relevant? |
@MordechaiHadad |
I tried testing against cargo install --branch feat/man-copying --git https://github.com/MordechaiHadad/bob.git again. I did not detect any difference. Did I try the right install? Maybe there needs to be a script , or an init inclusion in the .zshrc source $OH_MY_ZSH/oh-my-zsh.sh
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
source ${ZPLUG_HOME}/init.zsh
# Then, source plugins and add commands to $PATH
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source ${ZSH_ALIAS_FILE}
source ${XDG_CONFIG_HOME}/broot/launcher/bash/br
[ -f "${HOME}/.ghcup/env" ] && source "${HOME}/.ghcup/env" # ghcup-env
source ${XDG_CONFIG_HOME}/broot/launcher/bash/br
source <(jj util completion zsh)
source ${XDG_CONFIG_HOME}/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh I'm sorry I can't help with the work - I've never programmed in rust. Cheers... |
What was the message you got from running |
The target system:
I used the command-line to install: cargo git https://github.com/MordechaiHadad/bob.git#feat\/man-copying /home/peterg/.cargo/bin/bob
bob-nvim% bob --version
bob-nvim 2.8.3
bob-nvim% bob use latest
Apr 02 02:42:48.554 INFO Fetching latest version
Downloaded version v0.9.5 to /home/peterg/.local/share/bob/v0.9.5.appimage
[00:00:01] [███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████] 10.66MiB/10.66MiB (6.00MiB/s, 0s)
Apr 02 02:42:51.939 INFO You can now use v0.9.5! The manual file is in the version's directory, but not with a stable link: bob-nvim% fd -H nvim.1 /
/home/peterg/.local/share/bob/v0.9.5/nvim-linux64/man/man1/nvim.1 |
It seems like you need to add |
Amongst the Debians, when setting
update-alternatives
the--slave
parameter can't be set in a way that isn't broken whenbob use xx
changes the version of nvim. If we had aman1
directory under~/.local/share/bob
, it would all work nicely.see baeldung - update-alternatives command
And - thanks very much for your very useful utility - nvim under Ubuntu is a mess...
The text was updated successfully, but these errors were encountered: