Update dotfiles/.zshrc, dotfiles/.profile
This commit is contained in:
parent
fbaea2a641
commit
b8218e1d80
2 changed files with 6 additions and 2 deletions
|
@ -125,7 +125,6 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ] ||
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Colorize
|
### Colorize
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
|
@ -142,6 +141,7 @@ alias xclip='xclip -selection c'
|
||||||
command -v vim > /dev/null && alias vi='vim'
|
command -v vim > /dev/null && alias vi='vim'
|
||||||
|
|
||||||
### LS & TREE
|
### LS & TREE
|
||||||
|
alias ls='ls --color=auto'
|
||||||
alias ll='ls -la'
|
alias ll='ls -la'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -F'
|
alias l='ls -F'
|
||||||
|
|
|
@ -154,7 +154,7 @@ if ! [[ $(tty) = /dev/tty* ]]; then
|
||||||
s=' ' # fix too wide icons
|
s=' ' # fix too wide icons
|
||||||
POWERLEVEL9K_MODE=nerdfont-complete
|
POWERLEVEL9K_MODE=nerdfont-complete
|
||||||
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_beginning
|
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_beginning
|
||||||
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
|
POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
|
||||||
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
|
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
|
||||||
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
|
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
|
||||||
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
|
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
|
||||||
|
@ -326,6 +326,10 @@ if command -v antigen > /dev/null; then
|
||||||
antigen apply
|
antigen apply
|
||||||
fi
|
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
|
### Deno
|
||||||
if command -v deno > /dev/null; then
|
if command -v deno > /dev/null; then
|
||||||
eval $(deno completions zsh)
|
eval $(deno completions zsh)
|
||||||
|
|
Loading…
Reference in a new issue