From ec14b4d039f03bf48ce036ed29262ae2801c434c Mon Sep 17 00:00:00 2001 From: Gaiety Date: Fri, 3 Apr 2026 18:23:28 -0600 Subject: [PATCH] monaspice font, ghostty config, rose pine theme --- .zshrc | 2 ++ README.md | 4 ++++ config.ghostty | 30 ++++++++++++++++++++++++++++++ mise-tasks/install-font | 10 ++++++++++ mise-tasks/install-ohmyzsh | 3 +++ mise-tasks/symlink | 3 +++ 6 files changed, 52 insertions(+) create mode 100644 config.ghostty create mode 100755 mise-tasks/install-font diff --git a/.zshrc b/.zshrc index 0077ce4..39e1553 100644 --- a/.zshrc +++ b/.zshrc @@ -12,6 +12,7 @@ plugins=( fancy-ctrl-z zsh-vi-mode zoxide + fzf-dir-navigator zsh-autosuggestions zsh-syntax-highlighting ) @@ -19,3 +20,4 @@ plugins=( source $ZSH/oh-my-zsh.sh eval "$(zoxide init zsh)" +eval "$(/home/gaiety/.local/bin/mise activate zsh)" diff --git a/README.md b/README.md index 36761e7..850f833 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,8 @@ mise run install-terminal mise run symlink ``` +## zsh tips +- Press `Esc` to enter vim-emulation mode in your prompt +- Press `CTRL + F` to find a directory, `Enter` to `cd` to it +- `CTRL + z` works both directions! no more `fg` diff --git a/config.ghostty b/config.ghostty new file mode 100644 index 0000000..e399edc --- /dev/null +++ b/config.ghostty @@ -0,0 +1,30 @@ +font-synthetic-style = false + +font-family = MonaspiceXe NFM +font-style = Light + +font-family-bold = MonaspiceNe NFM +font-style-bold = Medium + +font-family-italic = MonaspiceRa NFM +font-style-italic = Light + +font-family-bold-italic = MonaspiceRa NFM +font-style-bold-italic = Medium + +font-feature = "ss01" +# ss02: <= and >= +font-feature = "ss02" +# ss03: -> and ~> +font-feature = "ss03" +# ss04: <> and +font-feature = "ss04" +# liga: //, ..., || +font-feature = "liga" + +font-size = 20 + +theme = Rose Pine Moon + +background-opacity = 0.98 +background-blur = 3 diff --git a/mise-tasks/install-font b/mise-tasks/install-font new file mode 100755 index 0000000..b76b51b --- /dev/null +++ b/mise-tasks/install-font @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +#MISE description="Install Monaspace Nerd-Patched Fonts" +echo Downloading Monaspace nerd-patched fonts to /usr/share/fonts +echo "Sudo required. Final font name will be Monaspice" + +sudo mkdir -p /usr/share/fonts/Monaspice + +curl -sSL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Monaspace.tar.xz | sudo tar xJf - -C /usr/share/fonts/Monaspice + +echo "/usr/share/fonts/Monaspice" diff --git a/mise-tasks/install-ohmyzsh b/mise-tasks/install-ohmyzsh index 905630a..79a8f0e 100755 --- a/mise-tasks/install-ohmyzsh +++ b/mise-tasks/install-ohmyzsh @@ -12,3 +12,6 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM: echo zsh-vi-mode git clone https://github.com/jeffreytse/zsh-vi-mode \ $ZSH_CUSTOM/plugins/zsh-vi-mode + +echo fzf-dir-navigator +git clone https://www.github.com/KulkarniKaustubh/fzf-dir-navigator ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-dir-navigator diff --git a/mise-tasks/symlink b/mise-tasks/symlink index 7136a3f..f4c3004 100755 --- a/mise-tasks/symlink +++ b/mise-tasks/symlink @@ -5,3 +5,6 @@ ln -sf "$(pwd)/.gitconfig" ~/.gitconfig echo ".zshrc (with oh-my-zsh)" ln -sf "$(pwd)/.zshrc" ~/.zshrc + +echo "config.ghostty" +ln -sf "$(pwd)/config.ghostty" ~/.config/ghostty/config.ghostty