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

Option to expand relative paths #6

Open
jrunning opened this issue Nov 30, 2015 · 0 comments
Open

Option to expand relative paths #6

jrunning opened this issue Nov 30, 2015 · 0 comments

Comments

@jrunning
Copy link

It would be nice if numberwang had an --expand/-x option to expand paths upon copying. For example, here is numberwang's current behavior:

$ pwd
/Users/jrunning/foo

$ touch bar/baz.txt

$ cat test.txt
Look in ../foo/bar/baz.txt

$ cat test.txt | nw
{1} Look in {../foo/bar/baz.txt}

to clipboard: 1
nw: wrote "../foo/bar/baz.txt " to clipboard

It would be great if we could get this behavior instead:

$ cat test.txt | nw --expand
{1} Look in {../foo/bar/baz.txt}

to clipboard (expand): 1
nw: wrote "/Users/jrunning/foo/bar/baz.txt " to clipboard

This would be especially handy if #5 were implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant