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

Remove unnecessary "\n" at the end of some echo statements #30

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

lc-at
Copy link

@lc-at lc-at commented Jan 4, 2022

Summary

As you can see in the diff section, this PR simply removes \n in echo statements in the make_editor_choice() and get_editor_choice() functions. This \n is literally printed as \n and not a new line.

Which editor do you want to use for this repo?\n
1. VI\n
2. NANO\n
3. Your own\n
You Choose: 

This PR removes that unnecessary \n.

My bash version

GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

AaronVasquez and others added 18 commits October 31, 2017 15:55
Added a option to edit all the commits
Translating "now" keyword to a valid timestamp
Vi is a flexible and scalable editor. But it requires certain skills in order to use it.
So i added choice between Vi and Nano.
- Chunks collection
- Debug operation (Operation progress)
- Fix bug with last line (last commit) in tempfile
- Added some params

Tested on 2000+ commits - spent some time (5 min) but working.
fixed PotatoLabs#16
Added commits chunks, Debug mode, etc
Use the standard environment variable EDITOR instead of asking the user
adding third option to specify any test editor
TinyPic Has Ceased Operations

Reference:
  https://tinypic.com/
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

Successfully merging this pull request may close these issues.

7 participants