2 added 2 characters in body
source | link

I'm trying to remove a single executable from $PATH, without modifying it

e.g I have /Users/USER/Library/Python/2.7/bin/ in $PATH, and I'd like to exclude services.py from that directory.

I know chmod -x services.py will work, but I'm trying to find a better way

Is it possible?

I'm trying to remove single executable from $PATH, without modifying it

e.g I have /Users/USER/Library/Python/2.7/bin/ in $PATH, and I'd like to exclude services.py from that directory.

I know chmod -x services.py will work, but I'm trying to find a better way

Is it possible?

I'm trying to remove a single executable from $PATH, without modifying it

e.g I have /Users/USER/Library/Python/2.7/bin/ in $PATH, and I'd like to exclude services.py from that directory.

I know chmod -x services.py will work, but I'm trying to find a better way

Is it possible?

1
source | link

Exclude single executable from PATH, without chmod -x it

I'm trying to remove single executable from $PATH, without modifying it

e.g I have /Users/USER/Library/Python/2.7/bin/ in $PATH, and I'd like to exclude services.py from that directory.

I know chmod -x services.py will work, but I'm trying to find a better way

Is it possible?