monaspice font, ghostty config, rose pine theme
This commit is contained in:
parent
67b90dab54
commit
ec14b4d039
6 changed files with 52 additions and 0 deletions
2
.zshrc
2
.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)"
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
30
config.ghostty
Normal file
30
config.ghostty
Normal file
|
|
@ -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
|
||||
10
mise-tasks/install-font
Executable file
10
mise-tasks/install-font
Executable file
|
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue