-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Use absolute path when opening new content in editor #1589
Labels
Milestone
Comments
I was not able to use those two flags
|
kujohn
added a commit
to kujohn/hugo
that referenced
this issue
Dec 14, 2015
Humph. |
anthonyfok
added a commit
that referenced
this issue
Dec 16, 2015
tychoish
pushed a commit
to tychoish/hugo
that referenced
this issue
Aug 13, 2017
tychoish
pushed a commit
to tychoish/hugo
that referenced
this issue
Aug 13, 2017
v0.15 had it, but I removed it inadvertently for 0.16-DEV in commit 00d0477 in PR gohugoio#1652. Also add directory bash-completion for `--source` for `hugo convert`, `hugo list` and `hugo new`. See gohugoio#1624, gohugoio#1589
tychoish
pushed a commit
to tychoish/hugo
that referenced
this issue
Aug 13, 2017
Reason: The `--source` flag was added back to the `hugo new` commands in commit c1e134f. See gohugoio#1624, gohugoio#1589
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, when
hugo --source="/path/to/hugo/site" new post/test.md --editor="subl"
is invoked from anywhere but inside the hugo site directory, it will create the file in the correct place, but the editor will open a non-existent file referenced by the relative pathpost/test.md
The text was updated successfully, but these errors were encountered: