Comments (6)
Thanks for opening your first issue here!
from navi.
Not sure if this is what you are looking for, but --print
will print a command instead of executing it. So this should work:
./navi --print > cmd.txt
from navi.
@hatelove85911, does @hschne's answer do what you expected?
from navi.
@denisidoro no, I don't think so.
What I meant is that once I pick a command from navi, if the command product some std output, I want to have the ability to redirect the output to a file. Just like something like this:
ls > files.txt
But currently this doesn't work:
navi > output.txt
from navi.
This works for me. Doesn't this work for you?
~
Ξ» navi > myip.txt # select primary IP
~
Ξ» cat myip.txt
172.22.32.211
Be sure to be on the latest version.
from navi.
Closing due to inactivity, but feel free to reopen it if you find it relevant! π
from navi.
Related Issues (20)
- Add another topic for the repo `cheatsheet` HOT 1
- searching doesn't work for descriptions longer than terminal size
- Provide Statically Compiled Binaries for (aarch64|arm64) Linux HOT 1
- Using https://devhints.io/ as a backend HOT 1
- ":/Scoop/apps/gow/current/bin/bash.exe": E:Scoopappsnavi2.23.0navi.exe: command not found HOT 1
- Unable to execute some custom commands HOT 1
- Add optional arguments HOT 2
- Optional placeholder value for variable HOT 3
- Query with pages in subdirectory (having comma) don't work as expected HOT 3
- Import cheat sheets from other tools HOT 1
- How do I select a snippet but not execute itοΌ HOT 1
- The preview format used on Windows is only for "cmd.exe". HOT 1
- /usr/bin/bash: line 1: C:ProgramDatachocolateylibnavitoolsnavi.exe: command not found HOT 4
- [feature request] Make `navi` variables to `fzf`'s `header` option HOT 3
- ZSH widget doesn't work with VI mode HOT 1
- navi --tldr not working even with rust client tlrc HOT 4
- Add a check before running command and use glow to print markdown HOT 1
- Empty output when a variable only contains `fzf` options
- Why do we have an overlap in `fzf` options?
- Sort by usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navi.