DEV Community

Cover image for My terminal became more Rusty 🦀

My terminal became more Rusty 🦀

Mahmoud Ashraf on August 21, 2020

Originally Published on my blog As a Software-Engineer I spent most of the time inside my terminal, So I need for that a fast terminal with fast ...
Collapse
 
vonheikemen profile image
Heiker

Cool. Now all you need is a rusty interactive shell. Have you heard about nushell?

Collapse
 
himujjal profile image
Himujjal Upadhyaya

I was going to comment about nushell! And to my surprise its the first comment. nushell is out of this world. Unlike JavaScript and Python this will be an actual scripting language. Concise and fast.

Then I guess we will have two kinds of programming languages:

  1. Statically typed -> AOT compiled
  2. NuShell / Powershell
Collapse
 
22mahmoud profile image
Mahmoud Ashraf

Yeah I tried nushell before, it's pretty nit. but since zsh compatible with all bash commands and fast, i don't have a reason to go nushell.

Collapse
 
romkatv profile image
Roman Perepelitsa

I used to use zsh + powerlevel9k as my prompt and even when I migrate to powerlevel10k, I still notice a delay when open new shell.

Powerlevel10k has a feature called Instant Prompt. Once you enable it, zsh will start instantly even if your .zshrc loads a dozen of slow plugins. AFAIK, Powerlevel10k is the only theme that can effectively reduce zsh startup time to zero without invasive changes to your configs.

As far as prompt speed goes (that is, the lag or absence thereof after every command), Powerlevel10k is currently significantly ahead of Starship. See github.com/starship/starship/discu....

Collapse
 
22mahmoud profile image
Mahmoud Ashraf

it's seems interesting, I'll give powerlevel10k another try.

Collapse
 
rhymes profile image
rhymes

I use exa, bat, delta, zoxide, fd and my absolute favorite of them all: ripgrep. I'll check the others out. Thank you Mahmoud!

Collapse
 
samicooo profile image
Abdullah Tayel

I actually never searched for a spaceship prompt faster alternative, and had reverted back to minimal. Thanks for the heads up will definitely be using starship.

You have like the exact setup I have but I still prefer iterm2 than alacrity on macOS, but yea on windows alacrity definitely wins for me.

Collapse
 
coreyja profile image
Corey Alexander

Ohh I didn't realize someone had a form of Alacritty with ligatures! That's super interesting! Will have to check that out!
I want to use a ligature font more but the Alacritty support has been holding me back

Collapse
 
harishav profile image
harishav

When i am trying to setup bat in my macos system, i have added the snippet you have provided in the .bash_profile file, i am getting below error whenever i open my terminal.

-bash: unalias: -m: invalid option
unalias: usage: unalias [-a] name [name ...]

Can someone help what's missing

Collapse
 
22mahmoud profile image
Mahmoud Ashraf

use -a instead of -m in the bash

Collapse
 
harishav profile image
harishav

Thanks for quick response, will give it a try.

Collapse
 
abdurrkhalid333 profile image
Abdur Rehman Khalid

I work on the KDE Neon Plasma and Its terminal is simple black and white and there is nothing attractive and colorful about it. Thank you very much for taking some time and writing this cool and amazing post.

From all the above suggestions, I will be using Starship as it looks very simple and cool.

Collapse
 
raguay profile image
Richard Guay

How about ion! It's really fast.

Collapse
 
katafrakt profile image
Paweł Świątkowski

Here I am, using at least half of these, not knowing they are written in Rust (except ripgrep) ;)

Collapse
 
heytimapple profile image
Tim Apple • Edited

You may as well use Nu shell also..
nushell.sh/

Collapse
 
hemant profile image
Hemant Joshi

How do you design your terminal?

Are you using default Os terminalmor someother?

Please suggest me some good terminal design topics and ways and lot of ideas☺️

Thank you.

Collapse
 
22mahmoud profile image
Mahmoud Ashraf

you can check my dot config files

and you can get more inspirations from r/unixporn

Collapse
 
weakish profile image
Jang Rush

Hi, I'd like to translate this rusty post to Chinese. Can you give me the permission?

Collapse
 
22mahmoud profile image
Mahmoud Ashraf

sure

Collapse
 
weakish profile image
Jang Rush

Chinese translation published on last weekend: nextfe.com/rusty-terminal/

There is a backlink to this original post at the beginning of the translated text.

Collapse
 
igas profile image
Marcus Wood

Great post! Although tldr is not written in rust, you probably want github.com/dbrgn/tealdeer which is a compatible client in rust

Collapse
 
bjtitus profile image
Brandon Titus

I really like gitui's navigation compared to tig's out of the box. Thanks for these!

Collapse
 
dvg3012 profile image
dvg3012

Hey, check out github.com/hrkfdn/ncspot

It's a lightweight spotify client for the cli. It's amazing and I use it daily(+ written in rust :D).

Collapse
 
cogoo profile image
C.OG

Thank you so much for sharing these!

Collapse
 
palik profile image
Алексей Пастухов
Collapse
 
beauwilliams profile image
beauwilliams • Edited

I'm curious, have you used z before and if so did you find zioxide to be much of an improvement? z has served me very well so far

Collapse
 
thefern profile image
Fernando B 🚀

I tried alacritty a while back, but was super duper slow with vim. I messed around with configs and couldn't get it to work.

Collapse
 
davirainsu profile image
DaviRain-Su

github.com/DaviRain-Su/dots/blob/m...
this config don't work ?