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.
Related Contents:
- How to restore .bash_profile on a mac? None of my unix terminal are working [closed]
- Setting environment variables on OS X
- 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
- How do I create a Bash alias?
- Date command does not follow Linux specifications (Mac OS X Lion)
- Variables overwriting text problem with “echo” in Bash
- Bash script absolute path with OS X
- Parse ifconfig to get only my IP address using Bash
- Why isn’t DYLD_LIBRARY_PATH being propagated here?
- How to set keyboard shortcuts to jump to beginning/end of line? [closed]
- Installing Homebrew on macOS
- How can I open the Atom editor from the command line in OS X?
- how to pass command-line arguments to a program run with the open command?
- How to completely uninstall Android Studio on Mac?
- Update OpenSSL on OS X with Homebrew
- Read a file/URL line-by-line in Swift
- dyld: Library not loaded … Reason: Image not found
- OS X Framework Library not loaded: ‘Image not found’
- How to fix homebrew permissions?
- Command Line Tools not working – OS X El Capitan, Sierra, High Sierra, Mojave
- In-place edits with sed on OS X
- XAMPP permissions on Mac OS X?
- Why is %eax zeroed before a call to printf?
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- Error when using ‘sed’ with ‘find’ command on OS X: “invalid command code .”
- How can I quickly sum all numbers in a file?
- CommonHMAC in Swift
- Replace comma with newline in sed on MacOS?
- configure: error: C compiler cannot create executables
- How to map a custom protocol to an application on the Mac?
- rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5
- How do I update the password for Git?
- How to handle with a default URL scheme
- Maven Install on Mac OS X
- install ext-zip for Mac
- Can’t load Python modules installed via pip from site-packages directory
- How to save PNG file from NSImage (retina issues)
- Case-insensitive search and replace with sed
- Git error “fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree”
- Battery status API in macOS?
- Get the Perl rename utility instead of the built-in rename
- Emacs on Mac OS X Leopard key bindings
- IntelliJ IDEA JDK configuration on Mac OS
- How do I use JDK 7 on Mac OSX?
- Maven home (M2_HOME) not being picked up by IntelliJ IDEA
- Extracting data from HTML table