五月天青色头像情侣网名,国产亚洲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)遵守國家法律
炎陵县| 鹤岗市| 西乌珠穆沁旗| 曲水县| 鹤岗市| 泽州县| 郑州市| 梧州市| 固原市| 丰宁| 河曲县| 辽阳县| 凌源市| 宁海县| 泰顺县| 南通市| 巴林左旗| 临漳县| 民和| 曲沃县| 贵德县| 杂多县| 得荣县| 安仁县| 宣城市| 盘山县| 邵阳市| 嘉荫县| 寻甸| 五华县| 修文县| 台前县| 增城市| 旬邑县| 广南县| 高要市| 临漳县| 英德市| 曲阳县| 囊谦县| 元氏县|