Prefer installing Wezterm from Flatpak
This commit is contained in:
parent
5b646567ce
commit
bf2e2e9718
12
bootstrap.sh
12
bootstrap.sh
@ -38,10 +38,10 @@ if [ ! -d ~/.oh-my-zsh ]; then
|
|||||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc
|
||||||
fi
|
fi
|
||||||
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions ]; then
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions ]; then
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
|
||||||
fi
|
fi
|
||||||
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting ]; then
|
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting ]; then
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting"
|
||||||
fi
|
fi
|
||||||
mkdir -p ~/.oh-my-zsh/custom/themes
|
mkdir -p ~/.oh-my-zsh/custom/themes
|
||||||
ln -sf "$DOTFILES/themes/witchhazelhypercolor.zsh-theme" ~/.oh-my-zsh/custom/themes/witchhazelhypercolor.zsh-theme
|
ln -sf "$DOTFILES/themes/witchhazelhypercolor.zsh-theme" ~/.oh-my-zsh/custom/themes/witchhazelhypercolor.zsh-theme
|
||||||
@ -52,11 +52,3 @@ ln -sf "$DOTFILES/themes/witchhazelhypercolor.zsh-theme" ~/.oh-my-zsh/custom/the
|
|||||||
if ! [ -x "$(command -v starship)" ]; then
|
if ! [ -x "$(command -v starship)" ]; then
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- -y
|
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
### Wezterm
|
|
||||||
|
|
||||||
curl -LO https://github.com/wez/wezterm/releases/download/nightly/WezTerm-nightly-Ubuntu18.04.AppImage
|
|
||||||
chmod +x WezTerm-nightly-Ubuntu18.04.AppImage
|
|
||||||
mkdir -p ~/.local/bin
|
|
||||||
mv WezTerm-nightly-Ubuntu18.04.AppImage ~/.local/bin/wezterm
|
|
||||||
|
24
gitconfig
24
gitconfig
@ -1,5 +1,25 @@
|
|||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
||||||
|
[pull]
|
||||||
|
ff = only
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Zoé Cassiopée Gauthier
|
name = Zoé Cassiopée Gauthier
|
||||||
email = hello@blorp.dev
|
email = hello@blorp.dev
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
[core]
|
||||||
|
pager = delta
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true
|
||||||
|
syntax-theme = witchhazelhypercolor
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
30
wezterm.lua
30
wezterm.lua
@ -1,21 +1,13 @@
|
|||||||
local wezterm = require 'wezterm';
|
local wezterm = require 'wezterm'
|
||||||
return {
|
local config = {}
|
||||||
colors = {
|
|
||||||
foreground = "#f8f8f2",
|
config.font = wezterm.font_with_fallback {
|
||||||
background = "#282634",
|
{ family="IBM Plex Mono", weight="DemiBold" },
|
||||||
cursor_bg = "#f8f8f0",
|
|
||||||
cursor_border = "#f8f8f0",
|
|
||||||
cursor_fg = "#060709",
|
|
||||||
selection_bg = "#8077a8",
|
|
||||||
selection_fg = "#f6e1ce",
|
|
||||||
ansi = {"#040303","#f92672","#c2ffdf","#e6c000","#c2ffdf","#ffb8d1","#c5a3ff","#f8f8f0"},
|
|
||||||
brights = {"#6090cb","#ff857f","#c2ffdf","#ffea00","#c2ffdf","#ffb8d1","#c5a3ff","#f8f8f0"},
|
|
||||||
},
|
|
||||||
font = wezterm.font_with_fallback({
|
|
||||||
{family="IBM Plex Mono", weight="DemiBold"},
|
|
||||||
"FreeMono",
|
"FreeMono",
|
||||||
}),
|
|
||||||
initial_cols = 140,
|
|
||||||
initial_rows = 50,
|
|
||||||
enable_wayland = false,
|
|
||||||
}
|
}
|
||||||
|
config.color_scheme = "Fairy Floss Dark (Gogh)"
|
||||||
|
config.initial_cols = 140
|
||||||
|
config.initial_rows = 50
|
||||||
|
config.enable_wayland = false
|
||||||
|
|
||||||
|
return config
|
||||||
|
8
zshenv
8
zshenv
@ -9,3 +9,11 @@ fi
|
|||||||
if [ -f "/opt/zig" ]; then
|
if [ -f "/opt/zig" ]; then
|
||||||
export PATH=$PATH:/opt/zig
|
export PATH=$PATH:/opt/zig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "$HOME/.pyenv" ]; then
|
||||||
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
|
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
eval "$(pyenv init -)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export CARGO_MOMMYS_MOODS="chill/ominous/thirsty/yikes"
|
||||||
|
Loading…
Reference in New Issue
Block a user