Moved grep alias to general aliases

pull/885/head
Nils Winkler 2017-01-09 17:51:12 +01:00
parent 058f16e3cf
commit 99bf5f09ad
2 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,10 @@ alias l1='ls -1'
alias _="sudo" alias _="sudo"
# colored grep
alias grep='grep --color=auto'
export GREP_COLOR='1;33'
if [ $(uname) = "Linux" ] if [ $(uname) = "Linux" ]
then then
alias ls="ls --color=auto" alias ls="ls --color=auto"

View File

@ -1,9 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# colored grep
alias grep='grep --color=auto'
export GREP_COLOR='1;33'
# colored ls # colored ls
export LSCOLORS='Gxfxcxdxdxegedabagacad' export LSCOLORS='Gxfxcxdxdxegedabagacad'