diff --git a/dotfiles/.profile b/dotfiles/.profile index f731ec52..6f03cb84 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -125,7 +125,6 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ] || fi ### Colorize -alias ls='ls --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' @@ -142,6 +141,7 @@ alias xclip='xclip -selection c' command -v vim > /dev/null && alias vi='vim' ### LS & TREE +alias ls='ls --color=auto' alias ll='ls -la' alias la='ls -A' alias l='ls -F' diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 40f33c92..6c45933e 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -154,7 +154,7 @@ if ! [[ $(tty) = /dev/tty* ]]; then s=' ' # fix too wide icons POWERLEVEL9K_MODE=nerdfont-complete POWERLEVEL9K_SHORTEN_STRATEGY=truncate_beginning - POWERLEVEL9K_PROMPT_ADD_NEWLINE=true + POWERLEVEL9K_PROMPT_ADD_NEWLINE=false POWERLEVEL9K_PROMPT_ON_NEWLINE=true POWERLEVEL9K_RPROMPT_ON_NEWLINE=true POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 @@ -326,6 +326,10 @@ if command -v antigen > /dev/null; then antigen apply fi +# oh-my-zsh might be overwriting the ls command so placing it here as well as fix +command -v lsd > /dev/null && alias ls='lsd --group-dirs first' && \ + alias tree='lsd --tree' + ### Deno if command -v deno > /dev/null; then eval $(deno completions zsh)