update lazygit config

This commit is contained in:
xfy
2025-02-13 09:25:07 +08:00
parent 3b369f38c9
commit fb2b33cefe
5 changed files with 4 additions and 27 deletions

View File

@ -50,7 +50,6 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | b
RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') \ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') \
&& curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" \ && curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" \
&& mkdir -p /home/${USER}/.config/lazygit \ && mkdir -p /home/${USER}/.config/lazygit \
&& cp -a /home/${USER}/dotfiles/lazygit/mocha-pink.yml /home/${USER}/.config/lazygit \
&& tar zvxf lazygit.tar.gz lazygit \ && tar zvxf lazygit.tar.gz lazygit \
&& sudo install lazygit /usr/local/bin \ && sudo install lazygit /usr/local/bin \
&& rm -rf lazygit \ && rm -rf lazygit \

View File

@ -1,2 +1,2 @@
os: os:
edit: "nvim" edit: "nvim"

View File

@ -1,23 +0,0 @@
gui:
theme:
activeBorderColor:
- '#f5c2e7'
- bold
inactiveBorderColor:
- '#a6adc8'
optionsTextColor:
- '#89b4fa'
selectedLineBgColor:
- '#313244'
selectedRangeBgColor:
- '#313244'
cherryPickedCommitBgColor:
- '#45475a'
cherryPickedCommitFgColor:
- '#f5c2e7'
unstagedChangesColor:
- '#f38ba8'
defaultFgColor:
- '#cdd6f4'
searchingActiveBorderColor:
- '#f9e2af'

View File

@ -228,6 +228,7 @@ color_yellow="colour220"
color_red="colour160" color_red="colour160"
color_black="colour232" color_black="colour232"
color_white="white" # 015 color_white="white" # 015
color_gray="colour244"
# This is a theme CONTRACT, you are required to define variables below # This is a theme CONTRACT, you are required to define variables below
# Change values, but not remove/rename variables itself # Change values, but not remove/rename variables itself

View File

@ -32,8 +32,8 @@ export NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node/
export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup
export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup
# lazygit config location and theme # lazygit config location and theme
export CONFIG_DIR="$HOME/.config/lazygit" # export CONFIG_DIR="$HOME/.config/lazygit"
export LG_CONFIG_FILE="$CONFIG_DIR/config.yml,$CONFIG_DIR/mocha-pink.yml" # export LG_CONFIG_FILE="$CONFIG_DIR/config.yml,$CONFIG_DIR/mocha-pink.yml"
# pyenv # pyenv
export PATH="${HOME}/.pyenv/shims:${PATH}" export PATH="${HOME}/.pyenv/shims:${PATH}"
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"