keep skiping aliasing for non-interactive shells
This commit is contained in:
parent
28abb33368
commit
e7fa7a5a4b
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# Skip all for noninteractive shells.
|
||||
[ ! -t 0 ] && return
|
||||
|
||||
# Color ls by default
|
||||
alias ll='ls -l --color=auto' 2>/dev/null
|
||||
alias l.='ls -d .* --color=auto' 2>/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue