Ubuntu 22.04 安装 Oh My Zsh + Tilix

4 months ago
0 comment
sudo apt install zsh git
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
chmod +x install.sh
./install.sh

这样 Oh My Zsh 就搞定了。

安装 Tilix 并设为默认终端:

sudo apt install tilix
sudo update-alternatives --config x-terminal-emulator

选择 Tilix(我这是第三项)就 ok 了。

参考:

附 Tilix One Dark 主题配置 json,来自 https://github.com/storm119/Tilix-Themes/blob/master/Themes/one-dark.json

{
    "name": "One Dark",
    "comment": "Ported for Terminix Colour Scheme",
    "use-theme-colors": false,
    "foreground-color": "#abb2bf",
    "background-color": "#282c34",
    "palette": [
      "#000000",
      "#E06C75",
      "#98c379",
      "#d19a66",
      "#61aeee",
      "#c678dd",
      "#56b6c2",
      "#abb2bf",
      "#5c6370",
      "#e06c75",
      "#98c379",
      "#d19a66",
      "#62afee",
      "#c678dd",
      "#56b6c2",
      "#ffffff"]
}

安装的话就是把 one-dark.json 放到 ~/.config/tilix/schemes/ 里(若路径不存在就自己创建一个)。