How To Make Your Boring macOS Terminal Amazing With Alacritty
HTML-код
- Опубликовано: 31 май 2024
- I recently switched from iTerm2 to Alacritty and in this video I show you everything I do to create a minimal, amazing & fast terminal setup with it on macOs. I've really enjoyed this change. Hope you guys enjoy the video!
✍🏽 Blog Post With Code & Commands: bit.ly/3y2VhHw
💻 Source Code/Dotfiles: bit.ly/4cFlPyq
UPDATE: After making this video, many of you recommended WezTerm and I decided to give it a try. It's awesome, so thank you! Though Alacritty works great, WezTerm is a bit better in my opinion. I've added a ~/.wezterm.lua config file to the repo: github.com/josean-dev/dev-env.... This is all you need to change to have pretty much the same setup as the one shown in this video, but with WezTerm instead. Thanks!
📧 Subscribe To My Newsletter: buttondown.email/josean
☕️ Help Support Me And The Channel: www.buymeacoffee.com/joseanma...
🔗 Helpful Links
Alacritty configuration docs: bit.ly/4dm4ATc
Toml spec: app.bitly.com/Bo3blEqCFMW/lin...
Alacritty Themes: bit.ly/3Qq2GqI
🎥 Related/Helpful Videos
7 Amazing CLI Tools You Need To Try: • 7 Amazing CLI Tools Yo...
How I Setup & Use Tmux: • How I Use Tmux With Ne...
How To Use Setup Neovim in 2024: • How I Setup Neovim To ...
⏰ Timestamps
00:00 - Introduction
00:29 - Install homebrew
01:23 - Install alacritty
01:55 - Install git
02:02 - Install nerd font
02:32 - Create config file
03:30 - Window configuration
05:03 - Font configuration
05:32 - True colors (for tmux)
05:52 - Setup p10k theme
07:38 - Setup theme colors
09:46 - Better history completion
11:20 - zsh-autosuggestions
11:54 - zsh-syntax-highlighting
12:43 - eza (better ls)
13:13 - zoxide (better cd)
14:25 - Setup tmux
15:59 - Conclusion - Наука
UPDATE: After making this video, many of you recommended WezTerm and I decided to give it a try. It's awesome, so thank you! Though Alacritty works great, WezTerm is a bit better in my opinion. I've added a ~/.wezterm.lua config file to the repo: github.com/josean-dev/dev-environment-files/blob/main/.wezterm.lua. This is all you need to change to have pretty much the same setup as the one shown in this video, but with WezTerm instead. Thanks!
In what way(s) is WezTerm a bit better? For that matter, in what *perceptible" ways is Alacritty faster than iTerm2 -- what tasks would make the speed difference noticeable?
@@chandebrec5856 +1
Thanks to upload very useful contents. I used the wezterm config file you uploaded, but it's inconvenient because I can't see the tabs.
Would also be keen to hear your thoughts. WezTerm seems more configurable & has much better documentation. Any other big things to note?
WezTerm is another accelerated GPU terminal Emulator?
I've been using Alacritty for a couple months so I didn't pick up many tips from that section. However, your history keybindings tips were awesome. That was worth the price of the whole video.
I love the instant changing when I save the config file of Alacrity.
Awesome. Just setup my config last month and had to research a lot. It's great finally someone did the hard work and dropped the vid. Also can you make a video on setting up fish terminal?
hi, i recently discoverd your channel, all i may say is, thank you, wow. Good quality, well presented, not bloated with unuseful information. Thanks!!!!
The video coupled with the blog was amazing! Thank you so much!
Fantastic tutorial. Thanks for the clear instructions and blog.
Great work Josea... much love❤❤❤
Hey guys! I’ve been using Alacritty recently and have really enjoyed it because its simple and suits my nvim/tmux workflow well. That said, there’s other great options out there I haven’t tried yet like Kitty, Wezterm or Warp. I might look into them in the future, but use whatever works well for you! Hope you enjoy the video!
I switched from warp to kitty. I feel warp is getting slower and more bloated than it was in the beginning
I've been trying out warp - I'm a lighter terminal user than a lot of other users, so find warp's prompts when I want to do something specific a huge help, and encourages me to use it more
I have been using warp and enjoying it for the most part, but I am getting big I shouldn't be using it on my work machine vibes from it given it requires a login.
This is compelling me to switch!
kitty, alacritty, wezterm, can't go wrong.
installed all, except kitty.
and i prefer alacritty for main terminal, wezterm for "just in case".
tried warp, it's not for me, it was fun though.
Flawless as always! Great job!
Yet again there are some gems here ☺️👍
Thanks!
Hey great video keep up the good work, watched an old setup video recently, the section about internet sharing for testing websites on mobile. Can you do a video or short explaining how it’s done. Or any resources you can share on how you got this done.🙏
Hi Josean, great video! May I ask that how do you record a single window with shadow so you can overlay the recording to a background video?
Great video!!
may i ask how to make the transparent effect that can see through ur desk?
I wanna make some chill setup video like this!! Thanks I'm ur big fan
I absolutely love your Coolnight theme. I was poking around your Git repo hoping to find that theme for VS Code. I know you like Neovim but did you ever construct a Coolnight for VS Code?
thank you for this video.
For eza i recommand two aliases.
The first the one you show
The seconds alias ll="eza -l" to show permissions and users
Awesome! Are you using any enhanced versions of Ranger/Dirvish, too?
I love your videos. !Great work, my man!
Hey 👋, Thanks for your videos! you rocks! quick question, why did you set the env. variable TERM to xterm-256color? I'm curious about it.
Hello. Thanks for you videos. Why don't you use something to manage your dot files?
I got Error msg trying to run "brew tap homebrew/cask-fonts":
"Error: homebrew/cask-fonts was deprecated. This tap is now empty and all its contents were either deleted or migrated."
Then I directly run:
"brew install --cask font-meslo-lg-nerd-font"
Looks like works. Let me know if there is something wrong. Thanks
Thanks for the video. I used Alacritty for almost a year on Mac. But I switched to Wezterm due to the lack of features in Alacrttiy compared to Wezterm. Font ligatures was for me the reason to switch to Wezterm and also Lua config.
I'll have to check it out! Thanks
Just installed Wezterm - seems great!
@@themarksmith Nothing against Wezterm, but it's still developed by one guy, right? That kind of gives me pause. I prefer projects where there's little chance of them going away.
@@danielstoddart Good point, but it does seem to be a great mix of iTerm2 and Kitty...
Thanks for the video. What key switches you use?
What made you decide to use Alacritty? I am experimenting with Wez
nice video, thanks josean.
Quite interesting that a lot of obviously very IT-familiar guys use „clear“ to clean the terminal instead of using the shortcut or save/quit vi with „:w :q“ instead of using the shortcut.
Awesome video, thanks a lot
Great vid!
I love the tutorial! I was wondering how I could increase the width and height of the Alacrity window. Let me know how that is done.
Amazing videos 🎉
using warp with tmux and nvim with the same config I had in iterm2 . I do not wanna make the switch yet. Keep using iterm2 from time to time but warp is fast - 2 fast- and as a bonus - it got AI. BTW after watching your videos o am switched also to a wireless corne xiao build. Can you share your layers ? thank you and chapeau!
Your keyboard looks good. Could you tell me what is this?
Thank you so much for this video.... but does it really take so long for eza to install?
Great video man .. I just wish Alacritty would support font fallback but from what I saw in their GH repo, issue #957 is opened since 2017
Thanks for the video! In Linux I use Ctrl right and left to move one word, but that doesn't work in macOS terminals, including alacritty.. do you experience that as well?
Another banger. Commenting for the algorithm 🎉
Thank you!
Using Meslo as your font. Great Taste!
very, very, very good!!! 👍👍👍
Thanks!
oh great now i have to uninstall iterm2 that i just install yesterday
That’s a vibe
Tomorrow you will install Warp, then you find the next RUclipsr who’s using the built-in MacOS Terminal for simplicity, then again someone tells you about an open source Warp alternative, only to switch back to Alacritty the day after 🙏 prayers to all of us clueless devs :(
I use both
Iterm2 you can view images with
You can’t do that with alacrity
Lol 😂, you can use both.
what is technical reason to choose alacritty instead of kitty or other ?
my tip is to create an alias in Arc for my current terminal (i use “terminal” although it shadows the terminal app). since i frequently try out terminals, browsers, etc. i don’t want to remember the name of the app i currently or open the wrong one by mistake
This video was about a cool keyboard and typing abillity
Hi @joseanmartinez do u know how to add the standard mac border, as it is right now its borderless on mac. Thanks !
very helpful
Excellent video but the CTRL+a and SHIFT+I does nothing... also CTRL+hkl... doesn't move panes... most likely my own config screwing things up!
Same here. Nothing happens when I press CTRL+a and SHIFT+i.
Now we're talking! Alacritty ftw. You still use zsh 🙂 (coming up: 'how to switch to bash') Thanks /Ben
Well done, nive rice you have there!
Thanks!
I know you also use(d) yabai, did you get Alacritty to work with yabai?
When I use Alacritty now it is never managed by yabai and whatever I do it stays a floating window. Maybe it's because I also set it up as buttonless?
Hmm that's weird, it works fine for me.
@@joseanmartinez weird indeed, will keep looking for a solution. It is stopping me from using Alacritty.
@@krisvanderven2367 Maybe try updating both yabai and alacritty?
@@joseanmartinez when I changed "assign to all desktops" it worked. Never knew that option was on. #facePalm
This video helped me switch!
hi, I like you keyboard!
Have you tried Kitty? It's even better.
Haven’t tried it, but heard good things!
Are you using qwerty layout on your keyboard?
Yep!
Top of my friend, you could make Kitty's terminal a friend.
The wizard overwrote my entire .zshrc file; that's a lot of work to erase. I've got a backup, but that's not something which was mentioned in the wizard, or the video, definitely something to keep note of.
Is it ok to have 2 terminal setups on your computer? like iTerm2 and Alacritty running at the same time
Sure! The colorschemes will be different, but that’s fine.
Why do two terminals open at the same time? Is it not easier to use tabs?
I was just answering as to whether its ok to have two setups. It is, but I personally just use one and use tmux for all my sessions, windows and panes.
@@micaelviana i like to change from minimall to full info ones for diffrent ones that's why :)
My issue with this sort of thing has always been that I'm in 10-20 different shells every day, having customization in one and not in another gets real frustrating
After adding ls alias using eza
I am unable to use ls -l command to see the permission related details of files
but alternatively I can use eza -l to get all the file permission details
Yeah you can change the alias to something like just “eza” with no arguments and use “ls -long” afterwards which is the argument you need for eza
Actually, just changed the blog post to make the alias be "ls=eza --icons=always". Thanks for pointing this out.
@@joseanmartinez you are welcome boiii
Why not just use warp? I’ve been using it for over a year now and absolutely love it
I haven’t tried it, but I like that Alacritty is open source and it works well with my tmux/nvim workflow
@@joseanmartinez I do like how it seems to build around the default Mac terminal. I just feel like Warp is already to go out of the box. Not much set up, but you still have ability to do plenty of customization
What keyboard is that? 🥰
MX Corne v3
I encounter this error
brew tap homebrew/cask-fonts
Error: homebrew/cask-fonts was deprecated. This tap is now empty and all its contents were either deleted or migrated.
Have any of you had the same problem?
Just skip that command. Last week they depreciate the repo. You can install fonts directly from homebrew
How did you get your Neovim to look like that???
I have a full guide on my Neovim setup here: ruclips.net/video/6pAG3BHurdM/видео.htmlsi=ZuH80PQ1RTwWm3Uk
What keyboard is that?
kitty or wezterm all day
TIL you can brew internal nerdfonts
FYI be sure to check that logos actually mathc at around 6:30 an arabic symbol was being displayed instead of an up arrow. Might lead to some unusual behavior if not careful!
Is there a reason you’re not using your wireless corne anymore?
I’ve been using both. I started a small shop where I have wired corne pcbs (splittype.com) and made one for myself and like it on my desk, but I still use the wireless one on the go.
How to fullscreen?
hmmm,我在想有没有办法一打开Ala就直接是3 个很酷的 tmux session!
That keyboard setup is so hipster 🤣
Maybe if you care about productivity you could use Fish :)
oh alacritty config file has blur option now
alacritty with tmux is slow, isn't it?
I see where this is going.. when are you installing Arch? 😜
Alacritty is great. Maybe a bit limited compared to some others, but it's the terminal I find myself using the most.
6:30
that was not an arrow though, that was an arabic letter..
Why do i see this video the day I switched to Windows. Tx Microsoft
I like ligatures, so Alacritty is out for me. Wezterm wins.
UPDATE LAZY
kitty is faster than alacritty
Have heard good things about Kitty, Alacritty is pretty fast too!
Watching people burn all of the milliseconds of “saved time” by advertising their slightly faster alternative will never not be funny
nobody notices that they are both fast as fck
I tried kitty but there's some issues with tmux, and the main developer says he hates tmux so he have no plans to fix them, that's why I stuck with iterm2. Now with this video, I think I'm gonna try alacritty
@@jeroAhumada hahah yeah thats why kitty introduced their own session & pane management
It's strange that for someone who makes everything so convenient for himself, you completely ignore the autocomplete capabilities of the command line and type everything in its entirety....
Its for the tutorial, to make things clear and easy to follow
The best way to make a MAC amazing is to use a Windows PC.
That boots Linux.
Can always tell the Windows users by their rendering of "Mac" in all uppercase as if it were "IBM".