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

Replace $EDITOR with real set program. #6

Open
s8321414 opened this issue Apr 27, 2016 · 6 comments
Open

Replace $EDITOR with real set program. #6

s8321414 opened this issue Apr 27, 2016 · 6 comments

Comments

@s8321414
Copy link

As title says, when $EDITOR shows, could it be replaced by real set program name? (e.g. nano)

@rshipp
Copy link
Member

rshipp commented Apr 27, 2016

This is the behaviour of ccr:

[george@nayaka ~]$ ccr -S aur2ccr
warning: aur2ccr-2.0.1-1 is up to date -- reinstalling

Ccr Targets    (1): aur2ccr

Proceed with installation? [Y/n] 

uRL: http://chakraos.org/ccr/packages/au/aur2ccr/aur2ccr.tar.gz
Edit aur2ccr PKGBUILD with $EDITOR? [Y/n] 

Do we want to change this? I think it helps to show people how they can change the editor, by setting the variable.

@s8321414
Copy link
Author

s8321414 commented Apr 28, 2016

Yes I know, but I think it's better for beginner, maybe you can add something to (p)chaser --help to explain about this environment variable.

@rshipp
Copy link
Member

rshipp commented Apr 28, 2016

OK, works for me. 😄

@rshipp rshipp added this to the 1.0 milestone Apr 28, 2016
@Ram-Z
Copy link

Ram-Z commented Apr 28, 2016

I think it's better as it is for the reason @rshipp already mentionned.

@Ram-Z
Copy link

Ram-Z commented Apr 28, 2016

Or show both:

Edit aur2ccr PKGBUILD with $EDITOR (vim)? [Y/n]

But I still prefer the way it is now.

@s8321414
Copy link
Author

I still prefer replace $EDITOR with real editor name and explain it in --help or man pages...

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

No branches or pull requests

3 participants