Unable to execute some custom commands
Opened this issue · 1 comments
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:
-
navi
-
Execute the command "env | grep -i proxy".
-
Feedback information: NAVI_PREVIEW_INITIAL_SNIPPET=env | grep -i proxy
-
navi
-
Execute the comman "export ALL_PROXY=http://127.0.0.1:7890 "
-
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
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! :)