Skip to content

Why does installation add a interpreter directive (shebang) to bash_profile? #2202

Open
@menicosia

Description

@menicosia

Hi, sorry if this an FAQ, but I was just installing bash_it on a new computer, and I noticed as it overwrite my .bash_profile that it added:

#!/usr/bin/env bash

and I kind of wondered why? I thought that the shell sources this file, I wouldn't expect it to need to be in a sub-shell, and I kind of wonder if that might introduce subtle bugs?

So, not sure if this is an issue, I don't know if it should be upgraded to a bug. What do you think?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions