Skip to content

any negative / unintended consequences of using a #!/bin/bash shebang or sourcing a file from /etc/default? #1323

Closed Answered by iconoclasthero
iconoclasthero asked this question in Q&A
Discussion options

You must be logged in to vote

As far as bash-completion is concerned, there wouldn't be negative consequences of putting #!/bin/bash at the beginning of files in /etc/bash_completion.d.

However, I think you can simply use the filename extension .bash for the editor's language detection.

I guess the consequence of sourcing the file with the mpd variables in it means that they're going to be in the environment...so I'd be better off just grepping that out of the file instead.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@iconoclasthero
Comment options

@akinomyoga
Comment options

@iconoclasthero
Comment options

Answer selected by iconoclasthero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants