Last active
November 7, 2024 01:12
-
-
Save oNddleo/f0c9359955b24261173b752bbdf3d2f1 to your computer and use it in GitHub Desktop.
wezterm config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Pull in the wezterm API | |
| local wezterm = require 'wezterm' | |
| -- This table will hold the configuration. | |
| local config = {} | |
| -- In newer versions of wezterm, use the config_builder which will | |
| -- help provide clearer error messages | |
| if wezterm.config_builder then | |
| config = wezterm.config_builder() | |
| end | |
| config.wsl_domains = { | |
| { | |
| -- The name of this specific domain. Must be unique amonst all types | |
| -- of domain in the configuration file. | |
| name = 'WSL:kali-linux', | |
| -- The name of the distribution. This identifies the WSL distribution. | |
| -- It must match a valid distribution from your `wsl -l -v` output in | |
| -- order for the domain to be useful. | |
| distribution = 'kali-linux', | |
| }, | |
| } | |
| config.default_domain = 'WSL:kali-linux' | |
| config.font = wezterm.font 'Agave Nerd Font' | |
| -- For example, changing the color scheme: | |
| config.color_scheme = 'Material Darker (base16)' | |
| -- and finally, return the configuration to wezterm | |
| return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment