Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for cmd in ls blah foo; do
- alias "$cmd=$cmd --color"
- done
- grep --color=yes 'foo' bar.txt | less #leads to weird ANSI stuff in output
- grep --color=yes 'foo' bar.txt | less -R #binary codes interpreted as colors
- alias ls='ls --color'
Add Comment
Please, Sign In to add comment