Hacker News new | ask | show | jobs
by davidjhall 2463 days ago
Is there a key command or way to find out what's below the cheat? For instance, I tried the "local ip address" example in the demo and it gave the IP address but now 'how' -- ifconfig? was it in a text file? env var? script?
2 comments

Appears to be implemented here.

https://github.com/denisidoro/navi/blob/master/cheats/networ...

I'd nitpick on the implementation, but the point is you can change it. :)

On Linux, you can do something more robust that also supports IPv6 based on

    ip -o a sh up primary scope global
Based on your input, the latest version has a preview window: https://user-images.githubusercontent.com/3226564/65380182-6....

Alternatively, you can use the --print option

I hope you like it!