Did you happen to open/save the file in TextEdit?
That can introduce filesystem metadata (quarantine attribute) leading to the symptom you describe.
Try:
xattr -l /usr/local/bin/bbcolors
and
xattr -d com.apple.quarantine /usr/local/bin/bbcolors
if you see the quarantine attribute.
More Related Contents:
- Setting environment variables on OS X
- How to restore .bash_profile on a mac? None of my unix terminal are working [closed]
- grep -P no longer works. How can I rewrite my searches?
- Running a command in a new Mac OS X Terminal window
- Setting PATH environment variable in OSX permanently
- Why does cURL return error “(23) Failed writing body”?
- How to use GNU sed on Mac OS 10.10+, ‘brew install –default-names’ no longer supported
- Date command does not follow Linux specifications (Mac OS X Lion)
- Variables overwriting text problem with “echo” in Bash
- How to open Visual Studio Code from the command line on OSX?
- Bash script absolute path with OS X
- Parse ifconfig to get only my IP address using Bash
- How do I create a Bash alias?
- Why isn’t DYLD_LIBRARY_PATH being propagated here?
- How to set keyboard shortcuts to jump to beginning/end of line? [closed]
- How can I open the Atom editor from the command line in OS X?
- Installing Homebrew on macOS
- Difference between .profile and .bash_profile on Snow Leopard
- What is the Unix command to create a hardlink to a directory in OS X?
- how to pass command-line arguments to a program run with the open command?
- How to make OS X to read .bash_profile not .profile file
- How to get the PID of a process by giving the process name in Mac OS X ?
- Add app to OSX “Login Items” during a Package Maker installer postflight script
- Mac OS X 10.9 – setting permanent environment variables
- Run a script only at shutdown (not log off or restart) on Mac OS X
- Where to place $PATH variable assertions in zsh?
- Timeout command on Mac OS X?
- Using NSURLSession from a Swift command line program
- How do I set a task to run every so often?
- How to create a single shared framework between iOS and OS X