Our coding style is a collective effort, blending engineering and art, aiming for precision and creativity. The best is yet to come.
Good style advances our design goals: readability, maintainability, performance,
| -- Pull in the wezterm API | |
| local wezterm = require 'wezterm' | |
| -- This will hold the configuration. | |
| local config = wezterm.config_builder() | |
| -- Set font to JetBrains Mono NF | |
| config.font = wezterm.font('JetBrainsMono Nerd Font') | |
| config.font_size = 10 |
| # /// script | |
| # requires-python = ">=3.13" | |
| # dependencies = [ | |
| # "polars", | |
| # ] | |
| # /// | |
| from pathlib import Path | |
| from typing import OrderedDict | |
| import polars as pl |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # `prev_bg` is a special variable that sets the background color to the previous | |
| # module's background color, which is useful for creating a seamless transition between | |
| # modules. For example, you can use it to create a seamless transition between the | |
| # `directory` and `git_branch` modules. | |
| # You can also override fg and bg colors for each module. `fg:prev_bg fg:light_bg` means | |
| # that the foreground color is the previous module's background color, but if there is |
| # This flake provides a development shell for the NostraDavid playground. | |
| # I use it to setup a .venv - once that's up, you can do whatever you want. | |
| # I auto-activate the .venv using some private bash scripts | |
| # run commands for this file: | |
| # nix develop .#impure | |
| # nix develop .#uv2nix | |
| # file inspiration: https://pyproject-nix.github.io/uv2nix/usage/hello-world.html | |
| { | |
| description = "Development shell for NostraDavid playground"; |