Update dotfiles/.zshrc, dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-10-31 05:02:32 +00:00
parent fbaea2a641
commit b8218e1d80
2 changed files with 6 additions and 2 deletions

View file

@ -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'

View file

@ -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)