mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Fixed aliases and theme appearance.
This commit is contained in:
parent
0a3db5bf2d
commit
623c4b2ac3
4 changed files with 8 additions and 52 deletions
|
|
@ -14,6 +14,14 @@ alias _='sudo'
|
|||
# Show history
|
||||
alias history='fc -l 1'
|
||||
|
||||
# Enable ls colors
|
||||
LS_OPTIONS='-hF'
|
||||
if [ "$DISABLE_LS_COLORS" != "true" ]
|
||||
then
|
||||
# Find the option for using colors in ls, depending on the version: Linux or BSD
|
||||
ls --color -d . &>/dev/null 2>&1 && alias ls="ls --color=tty $LS_OPTIONS" || alias ls="ls -G $LS_OPTIONS"
|
||||
fi
|
||||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue