Your shell prompt, ON STEROIDS // Starship
HTML-код
- Опубликовано: 27 сен 2024
- Starship has been gaining A LOT of traction in the past year and for a good reason; it's light, fast, extremely easy to configure and change. It's already part of my current setup and I think it's time others learn about it!
LINKS
▶ starship.rs
▶ dotfiles.omerx...
MY FAVOURITE GEAR
* If you enjoy my content, using the links below will help me with a small commission, so thank you!
⌨️ My keyboard is the wonderful HHKB: amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: amzn.to/3kA7tZZ
🦾 Boom Arm - amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: amzn.to/3DiZmaj
📷 Camera - ZVE10: amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: amzn.to/3BfFN15
CONSIDER SUPPORTING THIS CHANNEL
☕ Buy me a coffee: www.buymeacoff...
🎷 60 day free Epidemic Music!: share.epidemic...
MY KEY LINKS
📰 Join my newsletter! newsletter.ome...
🍿 Subscribe: www.youtube.co...
🌍 My website: omerxx.com
🗞️ Dev & Ops tools Telegram channel: t.me/espressops
🎙️ DevOps Topeaks Podcast: topeaks.buzzsp...
#productivity #notes #notetaking #neovim #terminal #system #program #dev #devops #software #sysadmin #sysops #linux #terminal #console #cli #keyboard #commandline
I love starship, it's so good. I've been using it on NixOS for over a year now
Your dotfiles page doesn't seem to work over HTTPS
For me I find that starship and the base ZSH is good, not oh-my-zsh, but the base of ZSH itself. Then you just add autosuggestions, syntax highlighting and z. That's about it and its good2go. Starship for windows, zsh for wsl or linux.
And remember debloating is king, go through your plugins and think, do I really need this or can I remove it? Go for a setup that works but is also minimal and is easily replicated to other systems.
I run the exact same setup, now. Used oh-my-zsh, p10k in the past and it really was bogging the performance down. Starship + Zsh community plugins is all I need.
Which nerd font are you using? Also the dotfiles link in the video description doesn't work.
Nerd font - the usual, nothing special... the link dotfiles.omerxx.com sometimes breaks, it's forwarded to github.com/omerxx/dotfiles
Great video, can you share your neovim statusline config?
Sure, this is lualine I have installed and my dotfiles are here - dotfiles.omerxx.com
Idk if i should switch to this from my pretty minimal and zsh setup i mean it have like 8 plugins web search auto complete and syntax highlighting being the main ones i use oh my posh for ui changes i guess in future but rn im not in mood of spending an weekend on this task
Of course not! If your setup works well for you its not worth your time. But know that it is out there, and when you feel things get bloated or clunky just check it out!
yea there will be time for upgrade soon it will be nice one thing handling all shell things @@devopstoolbox
Thanks, use starship for half a year, for me: it's the best prompt I can get with 0 configurations, also it sometime glitches when moving in and out of input modes (vim mode).
P.S. I don't see links to your config!
Thanks!
And sorry, it wasn't pushed, now it's here: github.com/omerxx/dotfiles/blob/master/starship/starship.toml
pk10 instant prompt and transient prompt are so much better than any alternatives that I can’t go back
This used to be my setup for years! But I'm tired of the complex configuration and hacky scripts. I wanted something simple!
What is your terminal font? Jetbrains?
Got to this very late :) yes, jetbrains mono!
great video and great shell ! I think i'm gonna love it ♥
Call me oldschool, but using ZSH, I’m having this in my config:
PS1='%B%F{yellow}[%m] %(!.%F{red}.%F{green})%n %F{blue}%~ %F{white}%(!.#.$)%f%b '
No extra tools needed, still looking fine, and gives the most relevant information without distracting the user from using the command line with unnecessary clutter all over the place.
what do you think about spaceship prompt? is it better than starship?
(btw, i’m on default zsh with a couple of plugins, there is enough bundled customization for me)
Feels similar only bash based. Don’t have real experience tho. Do you recommend?
@@devopstoolbox don't have real experience neither :c
just looking around and thinking about switch from native zsh
What keyboard is that
This is the HHKB!
It's still with me but I've now moved to a split keyboard, specifically ZSA moonlander
@@devopstoolbox thanks ! :)
wait starship replaces omz?
Thank god. Starship was preinstalled on my Distro
Which distro??
@@abinashabi7543 Garuda
I was using p10k for 2 years and it got slow and buggy when some plugins conflicted etc. found starship by accident few month ago and it is just on another level on all aspects
My feeling exactly.
can you make a video on all rust based terminal with nushell, how would that affect the performance?
How are you connecting your ultra wide to mac and still have proper resolution and good refresh rate?
Nothing special about it but it’s definitely not 4K far from it. When I first got it I thought something was wrong. But the feeling of being able to sit *in front* of something rather than tilting my head sideways in a split monitor setup while maintaining real estate is something I can’t go back from :)
@@devopstoolbox I get that! I got a Samsung G9 Neo myself, love it. However, when connecting to my work macbook pro I cant get full resolution on it.
I am working with a split screen basically, mac on left, linux or windows on right, and share mouse and keyboard with InputLeap.
It works well but tbh, I should just use 1 computer (the mac laptop) when I am working, it would be more efficient.
But I cant get full resolution on it :/ I bought a special usb-c to hdmi cable on amazon, it seemed to work after a bunch of hacks but it wasnt stable, I end up returning the cable.
I downloaded in linux, add the end of the line in my .zshrc and sourced it but it didnt work, any ideas why? I didnt find anything that could help me
Ok so i couldnt do it while using zsh, when i changed to bash and modified the .bashrc it works, hope this can help someone
@@marlonsbardelatti202 quite strange, I’m running with zsh. Maybe you’re running another shell prompt like oh my zsh?
Try souring it in a different place and see what happens
@@devopstoolbox alright ill try it
Let me know how it goes!@@marlonsbardelatti202
I'm the only one where the github link does not work?
The github cname is funky. Try github.com/omerxx/dotfiles
Thank you!❤
using oh-my-zsh no wonder it was slow your shell, all the shell frameworks are just heavily bloated, like bash-it or oh-my-bash, they are all bloated all you need is to copy what you really use from them and make your own configuration from scratch.
i love your videos, ..... but sometimes you go a bit overboard with the animations/sounds. your videos are amazing but the video is sometimes really distracting from the script.
I agree. Still earning the balance, thanks for the feedback! If you can, please keep it coming, this is how I learn.
Thanks!
Excuse me where the fck was the suggestion for your channel 10 months ago? :P
Haha better late than never right? Welcome my friend 🙏🏽
Mine maybe controversial but I moved from starship to p10k because of the interactive config wizard so that I spend less time on configuring it. I already have lots of other tools to configure so I don't want another tbh. And I never faced any issue with it so far (been almost 10 months)
As long as it works for you!
Mine started making funny noises, and I had hardtime tracking the configurations and custom changes. Starship feels like a fresh clean start and is giving me everything I need with far less hassle
why would this be controversial? p10k is faster than starship it’s just lacking in customization options
@@j4yd34d5 honestly, my experience is different, starship feels faster and leaner
Video Idea: Benchmark them@@devopstoolbox
I don't think that is controversial, but as somebody that uses several shells, primarily fish, starship is much more portable.
Here’s a challenge: do a few videos on Nix and HomeManager ;)
Been contemplating nix for a long time! I’ll get there :)
HomeManager is a new one though, checking it out thanks !
@@devopstoolbox it’s well worth the rabbit hole, been there, never came back 😂
too much distraction
Arch user detected👀
Starship over everything.
is there a way to add aliases of bash functions or long commnads like in a .bashrc / .zshrc ?
Not really sure but why would you want your aliases to live in a prompt rather than an rc file?
@@devopstoolbox i'm not but after installing starship all my zshrc aliases stopped working...
@@omeravraham23 really? Sounds strange, if you source the rc file on a shell do they work again? If they are check what’s the default shell that starts and then what’s being imported
Switched from oh-my-zsh to starship this year too. Definitely a very fast prompt
🙏🏽
@@devopstoolbox oh-my-zsh is not a prompt
@@faridlannabi oh my zsh is a zsh config framework that configures its prompt
@@devopstoolbox so if its a framework its not a prompt, be precis bro, with omz you enable some plugin which can custom the prompt ! so its not a prompt, you can not say, i switch from omz to sharship.
You can use OMZ and starship at the same time, you juste have to uncomment theme line in your zshrc
something you can say, it's, i witch from power10k to starship
Amazing tool & video !
Just realized you are the host of a podcast I like!
What an honor ❤️🙏🏽