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

EDITOR varable unset by default causing error in settitle() #1

Open
ardentperf opened this issue Jan 5, 2024 · 1 comment · May be fixed by #3
Open

EDITOR varable unset by default causing error in settitle() #1

ardentperf opened this issue Jan 5, 2024 · 1 comment · May be fixed by #3

Comments

@ardentperf
Copy link

ardentperf commented Jan 5, 2024

the scripts here do not set EDITOR variable but assume that it is set elsewhere. however this is not the case by default at least with a clean ubuntu 22.04 install. when EDITOR variable is unset, settitle() function begins throwing error "basename: invalid option"

could either have settitle() understand empty EDITOR variable, or could assign a default when it's unset

@michaelpq
Copy link
Owner

I have applied the change to force the creation of HOME_GIT for an initial .bashrc read, adding quotes around it to avoid surprises. Still need to look at the second one.

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