Installs `dirvenv`

Changed files
+9 -6
.config
fish
functions
nvim
lua
config
-5
.config/fish/functions/fish_prompt.fish
··· 1 1 function fish_prompt 2 2 set -l last_status $status 3 - 4 - if set -q VIRTUAL_ENV 5 - echo -n -s (basename $VIRTUAL_ENV) ' ' 6 - end 7 - 8 3 set_color -o cyan 9 4 echo -n -s (basename (prompt_pwd)) ' ' 10 5 set_color normal
-1
.config/nvim/lua/config/codeium.lua
··· 1 - require("codeium").setup({})
+9
bootstrap.py
··· 2 2 from itertools import chain 3 3 from os import environ, pathsep, system 4 4 from pathlib import Path 5 + from tempfile import NamedTemporaryFile 5 6 from urllib.request import urlopen 6 7 7 8 DOTFILES_DIR = Path.cwd() ··· 27 28 "Fira Code SemiBold Nerd Font Complete Mono", 28 29 } 29 30 FONTS = dict(zip(FONT_KEYS, MAC_FONTS if IS_MAC else LINUX_FONTS)) 31 + DIRVENV_URL = "https://raw.githubusercontent.com/cuducos/dirvenv.fish/refs/heads/main/install.fish" 30 32 31 33 32 34 def which(bin): ··· 85 87 download_as(url, path) 86 88 87 89 90 + def install_dirvenv(): 91 + with NamedTemporaryFile(suffix=".fish") as tmp: 92 + download_as(DIRVENV_URL, Path(tmp.name)) 93 + system(f"fish {tmp.name}") 94 + 95 + 88 96 def configure_nvim(): 89 97 system("nvim --headless '+Lazy! sync' +qa") 90 98 system("nvim --headless -c 'silent UpdateRemotePlugins' -c 'quitall'") ··· 97 105 create_all_dirs() 98 106 create_all_symlinks() 99 107 configure_kitty() 108 + install_dirvenv() 100 109 configure_nvim()