Main
Main copied to clipboard
[Bug]: Persist the necessary configuration for navi interactive cheat sheet.
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
- [X] I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
navi
Expected/Current Behaviour
Currently, if you don't manually config the navi using %USERPROFILE%/AppData/Roaming/navi/config.yaml
to set the shell to pwsh
or cmd
something else. The navi will show the error /bin/bash
command not found.
Steps to Reproduce
scoop install navi
`navi fn welcome` → `/bin/bash` command not found.
Possible Solution
- I think we can persist the configuration of
navi
. - Make a symbol link to the original configuration file location
%USERPROFILE/AppData/Roaming/navi/config.yaml
.
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15
'extras' bucket:
759a54d71 (HEAD -> master, origin/master, origin/HEAD) dbeaver: Update to version 23.0.2
'java' bucket:
f27532e3 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.372-6.0.202304071827
'main' bucket:
74570c859 (HEAD -> master, origin/master, origin/HEAD) oh-my-posh: Update to version 14.29.1
'nerd-fonts' bucket:
d7b401e (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 0.40.5
'versions' bucket:
a897289bf (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.11.0-dev.2470
Scoop Config
last_update aria2-warning-enabled scoop_repo scoop_branch
----------- --------------------- ---------- ------------
4/10/2023 6:29:01 AM False https://github.com/ScoopInstaller/Scoop master
PowerShell Version
Name Value
---- -----
PSVersion 7.3.3
PSEdition Core
GitCommitId 7.3.3
OS Microsoft Windows 10.0.25336
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Additional Softwares
No response
In current situation to manages its config, we need to operates files that out of Scoop Dir, and its content of config file(value of shell.command
). I don't even know which shell(cmd|pwsh|powershell) should be specify by default.