五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Linux終端美化

2021-04-04 23:57 作者:beyondware  | 我要投稿

PS:本文以Ubuntu為操作,其他Linux也實(shí)用,由于一些原因github可能無法連接,可以用備選鏈接操作。



安裝git

sudo apt install git

安裝zsh

1、安裝zsh

sudo apt install zsh

2、查詢

cat /etc/shells

3、設(shè)置為默認(rèn)shell

chsh -s /usr/bin/zsh

4、退出重啟終端

exit

安裝Oh-my-zsh

安裝Oh-my-zsh

sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

備選

sh -c "$(wget https://raw.fastgit.org/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

安裝主題

1、安裝powerlevel10k主題

?git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

備選

?git clone --depth=1 https://hub.fastgit.org/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

2、編輯vim ~/.zshrc

修改ZSH_THEME

ZSH_THEME="powerlevel10k/powerlevel10k"

3、重新配置powerlevel10k

p10k configure

4、執(zhí)行生效

source ~/.zshrc

安裝自動(dòng)補(bǔ)全

1、切換到

cd ~/.oh-my-zsh/custom/plugins/

2、克隆

git clone https://github.com/zsh-users/zsh-autosuggestions

備選

git clone --depth=1 https://hub.fastgit.org/zsh-users/zsh-autosuggestions.git

或者

?git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

3、編輯vim ~/.zshrc

plugins添加zsh-autosuggestions

4、如果高亮不明顯

vim ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

修改為10

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'

5、執(zhí)行生效

source ~/.zshrc

安裝高亮顯示

1、切換到

cd ~/.oh-my-zsh/custom/plugins/

2、克隆

git clone https://github.com/zsh-users/zsh-syntax-highlighting

備選

git clone --depth=1 https://hub.fastgit.org/zsh-users/zsh-syntax-highlighting.git

或者

?git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
?echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

3、編輯vim ~/.zshrc

plugins添加zsh-syntax-highlighting

4、最后一行添加

source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

5、執(zhí)行生效

source ~/.zshrc

6、注意點(diǎn)

在plugins將zsh-syntax-highlighting放最后

終端設(shè)置

打開終端-點(diǎn)擊“三杠”-配置文件首選項(xiàng)

文本和背景顏色:Solarized

調(diào)色板:Solarized

最終效果

錯(cuò)誤命令,紅色?

Linux終端美化的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
海盐县| 鄂伦春自治旗| 太保市| 浦城县| 满洲里市| 崇明县| 云梦县| 五台县| 固阳县| 永康市| 东兰县| 柘城县| 余干县| 剑阁县| 遂平县| 龙江县| 兴城市| 石城县| 乌兰察布市| 株洲县| 海晏县| 高唐县| 阜康市| 新兴县| 敖汉旗| 承德县| 峡江县| 托克逊县| 长汀县| 东港市| 沂南县| 凤山县| 浦东新区| 琼结县| 弥勒县| 合川市| 正阳县| 商南县| 枝江市| 宜都市| 陵川县|