Skip to content
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

Unable to execute some custom commands #886

Open
darkelfzdy opened this issue Mar 6, 2024 · 1 comment
Open

Unable to execute some custom commands #886

darkelfzdy opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@darkelfzdy
Copy link

darkelfzdy commented Mar 6, 2024

Describe the bug
Unable to execute some custom commands.I have set up two custom commands in the cheatsheet. The command "env" does not provide proper feedback when executed, while the other do not give any feedback but actually did not execute successfully.
My custom command is as follows:

% ping

# test env                 
env | grep -i proxy 

# on_proxy    
export ALL_PROXY=http://127.0.0.1:7890 

To Reproduce
Steps to reproduce the behavior:

  1. navi

  2. Execute the command "env | grep -i proxy".

  3. Feedback information: NAVI_PREVIEW_INITIAL_SNIPPET=env | grep -i proxy

  4. navi

  5. Execute the comman "export ALL_PROXY=http://127.0.0.1:7890 "

  6. There is no information in the database, but after checking the contents of the environment variables, it did not execute successfully.

Expected behavior
The command can be executed successfully.

Versions:

  • OS: Armbian-unofficial 24.2.0-trunk bullseye(Debian 11)
  • Shell Version :bash 5.1.4
@darkelfzdy darkelfzdy added the bug Something isn't working label Mar 6, 2024
Copy link

welcome bot commented Mar 6, 2024

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant