mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
new colors for "box", new aliases / options in zshrc
This commit is contained in:
parent
dce635a105
commit
e9e8e2f93a
1 changed files with 9 additions and 2 deletions
11
zshrc
11
zshrc
|
|
@ -151,6 +151,11 @@ if [[ "$OS_TYPE" == "FreeBSD" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ "$OS_TYPE" == "Linux" ]]; then
|
||||
LS_COMMAND=ls
|
||||
dircolors_enable=1
|
||||
fi
|
||||
|
||||
# enable ls colorization:
|
||||
if [ "$TERM" != "dumb" ]; then
|
||||
if [[ "$dircolors_enable" == 1 ]]; then
|
||||
|
|
@ -202,7 +207,9 @@ alias grep="grep --color='always'"
|
|||
alias less='less -R'
|
||||
alias diff='colordiff'
|
||||
|
||||
# sudo shell with "s"
|
||||
alias s='sudo -s -E'
|
||||
|
||||
set modeline
|
||||
|
||||
# don't require "rehash" after installing a package
|
||||
setopt nohashdirs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue