Skip to content

Commit

Permalink
.bashrc: use plain style for cat
Browse files Browse the repository at this point in the history
  • Loading branch information
ytang committed Jul 20, 2021
1 parent e054caa commit fe332f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .bashrc
Expand Up @@ -35,5 +35,8 @@ export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'

alias ls='ls --color=auto'
[ -x "$(command -v bat)" ] && alias cat='bat --theme=gruvbox-dark --style=numbers,changes --italic-text=always'
if [ -x "$(command -v bat)" ]; then
alias bat='bat --theme=gruvbox-dark --style=numbers,changes --italic-text=always'
alias cat='bat --style=plain'
fi
[ -x "$(command -v lsd)" ] && alias ll='lsd --long --blocks=permission,size,date,name --date="+%F %R"'

0 comments on commit fe332f4

Please sign in to comment.