This article is aimed at the UNIX like platform, that is, Linux and MAC
Common command optimization
No one else has this command except Ubuntu.
The LL command is implemented through LS – Al, but this command has disadvantages: the highlight is not good enough, and the information can be more detailed
The exa command can be optimized
First install trust, and then install exa through cargo
cargo install exa
Modify the shell configuration file and add the following:
alias ll="exa -lahiSgH"
The built-in cat command simply displays the contents of the file without highlighting the code
Installation via pip
pip3 install Pygments
alias cat="pygmentize -P style=perldoc -P tabsize=4 -f terminal256 -g "
Note: don’t forget the last space
have access to
Windows black background effect
Common software optimization
VIM under MAC does not turn on highlighting by default, which makes it difficult to read text