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

print current file or directory to stdout on exit #93

Closed
thugcee opened this issue Mar 5, 2018 · 1 comment
Closed

print current file or directory to stdout on exit #93

thugcee opened this issue Mar 5, 2018 · 1 comment

Comments

@thugcee
Copy link

thugcee commented Mar 5, 2018

Hi,

It would be a great option. We could simply use cd $(nnn) or cp myFile.txt $(nnn) instead of using special functions and temporary files.

@jarun
Copy link
Owner

jarun commented Mar 5, 2018

nnn needs a tty to execute:

$ cd $(nnn)
stdin or stdout is not a tty

@jarun jarun closed this as completed Mar 5, 2018
@lock lock bot locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants