
#Alacritty wsl2 code#
There is also a whole bunch of unix specific stuff that the code goes looking for, which obviously fail to compile, but that seems more straightforward to fix, or at least I consider that to be a battle for another day lol. Or is the correct action to bump up to the latest Glutin and fix the issues with the event handling? Is the correct action to implement clear_window for this pegged commit?
#Alacritty wsl2 windows#
It looks like the Glutin event system has totally changed in later commits.Īny thoughts on getting Glutin to work on the windows build? Imports are loaded in order, skipping all. Why are you pegged to an old commit of your Glutin fork ?īumping up to the latest commit of the Glutin fork successfully compiles on windows, but then the config.rs goes looking for a glutin:: and fails to find them. Configuration for Alacritty, the GPU enhanced terminal emulator. (A function that doesn't even exist in later commits, btw) the Glutin Windows implementation does not implement the clear_current function of the glContext trait. You seem to be pegged to a particular commit of fork of Glutin. The module compiles at least)īut I have other problems that prevent me from testing it: (A very rough pass of something that I think might work if I'm lucky. Using the links posted, and a bit of digging, I think that I have font rendering working for windows. I'm attempting to implement a working windows build in my spare time. The login argument is for the shell to read the configurations inside the user’s home, if it is not specified, it will not read the ~/.zshrc file.Hey guys.

Restart (x2, first time didnt indicate any. Restart Alacritty and autocomplete should appear.

#Alacritty wsl2 install#
A System Preferences window will appear and prompt you to install a third party Input Method. Go to a terminal and run fig debug ime enable. Now we have to configure the shell that we will launch when Alacritty opens with the following snippet: shell: Click the Fig menubar icon > Integrations > Alacritty > 'Attempt to Install'. In History we will indicate the number of lines to save in the buffer and multiplier is the number of lines that we will move in each tick of the scroll. The next step is the command history that the terminal saves as a cache: scrolling: Once the configuration file is created, we will begin to complete it, we will begin with the window section, where we will define a minimum opacity, that it is executed in window mode (not fullscreen) and with a padding to create distance between the text and the border of the terminal: window: $ touch alacritty/.config/alacritty/alacritty.yml Configuring Alacrittyīefore configuring anything, Alacritty already has some sensible default settings, among them, the option that the configuration refreshes automatically without having to restart the terminal. The path we will use to link the configuration will be $HOME/.config/alacritty/alacritty.yml, although you have more directories in the documentation.

In this article we are going to see a simple but very functional configuration of the Alacritty terminal in conjunction with ZSH and tmux.Īs we have previously mentioned, Alacritty is configured using a dotfile that we will save in our stow directory, so we will create the whole file structure that we will then link in our $HOME with stow. It is also a dotfile configurable terminal, a very positive point since I can include it in my dotfile collection.

But I added a third element to the equation of what I was looking for, and that was to be cross platform, not having to be configuring N terminals for each OS that I have to use throughout my career, that’s where Alacritty comes in.ĭisclaimer: I don’t make intensive use of the terminal, as a developer I spend more time in IntelliJ.Īlacritty is sold as the fastest since it uses OpenGL, and it is true that I have noticed some speed when loading, although it may be placebo, I have no complaints about the speed of iTerm2. The theme is something very common in most of the terminals and the tabs, in the modern ones, too. The first thing I needed was to see what I really needed, which came to be the theme and tabs. I recently had the pleasure (and it’s not ironic) of working with the Windows environment and its WSL2, and I went crazy to find something similar. The problem comes when we go to another operating system.
#Alacritty wsl2 mac#
It is well known by the mac community and not for less, a terminal is not that it has much work to do but the little it has to do, it does it very well (tabs, tmux integration, customization). I’ve been working on mac for many years with the same terminal: iTerm2.
