So I've made a small script to search through my project for a word:
#!/bin/bash grep -n $1 js/*/**.js grep -n $1 js/*.js
When running these commands in the command line I will get some nice syntax highlighting. But when I run them in a script I loose the colors. How can avoid this?