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

Misleading .sh file name extension #6

Open
lucaswerkmeister opened this issue Feb 20, 2016 · 1 comment
Open

Misleading .sh file name extension #6

lucaswerkmeister opened this issue Feb 20, 2016 · 1 comment
Assignees

Comments

@lucaswerkmeister
Copy link
Owner

cheats.sh is not actually an sh script, and attempting to run it with sh cheats.sh will fail. Best practice is to omit the file name extension altogether. See also Google Shell Style Guide and other resources.

However, the name cheats is already taken up by the folder containing the cheat sheets…

@lucaswerkmeister
Copy link
Owner Author

I guess, since this script is meant to be sourced, not executed, it can be considered a library, and thus should have the .bash extension?

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

1 participant