Level up the look of your terminal with Oh-My-Posh

preview_player
Показать описание
Learn how to take your Linux terminal to the next level with Oh-My-Posh! This quick tutorial will guide you through customizing the look of your terminal with ease. Discover the endless possibilities of creating your own themes or choosing from a variety of pre-made options available on GitHub. Don't miss out on installing nerd fonts for an extra touch of style. Subscribe now for more tech tips and tricks!

------------------
Timeline:

00:00 - Intro
00:39 - Instructions
01:17 - Install oh-my-posh
03:22 - Install nerd fonts
04:08 - Setting the a theme
05:27 - Clone repo
06:27 - Dynamically change theme
07:19 - Setting theme to automatically load

------------------
Links

#linux #linuxterminal #ohmyposh #commandline
Рекомендации по теме
Комментарии
Автор

I was looking at using Oh My Posh for Windows Terminal and decided to see if there were any videos on installing and setting it up and luckily you just posted this! Really well made tutorial, thank you!! 😄

jacobkovarovic
Автор

Thank you so much sir! You left me with no more questions.

erkalin
Автор

This isn't working for me. Every time I follow this, I always end up with some bash prompt that says CONFIG ERROR. I follow along to the letter, and yet by min 2:19 or so, everything always falls apart. Then when i type in: vim ~/.bash_profile the terminal just goes mostly blank except for a bunch of this symbol all the way down the screen ~. And at the very bottom is says: INSERT 2, 1 ALL. So I just keep going and type in export PATH=$PATH:home/kubuntu/bin (since I'm using kubuntu, not ubuntu). And then nothing. You say you "save" your work, but you never explain HOW to do that. I saw a little wq at the bottom of your screen and looked it up, and apparently you can save by typing w or save and quite by typing wq, then hitting enter. Yet I do that and nothing happens?!

I need help getting past this part please. I don't know what is going on or why it isn't working.

jollygreen
Автор

Good tutorial! Just one point of attention. Be aware that, when using the Windows installer for use in WSL, it uses the Windows binary. This works, but has side-effects as it assumes you're on a Windows filesystem as it's compiled for the Windows runtime. The linux executable is the most interesting one as that one integrates natively with your operating system and has additional support for WSL as it's aware of that runtime.

jandedobbeleer
Автор

i haven't done it yet but running as superuser should resolve permissions issue: sudo curl .... | bash

markgreen
Автор

but why it is not working in neovim ??

borkesahin
Автор

I am digging the crossover projects betwixt linux and windows. Makes being a windows admin more fun.

Wahinies
Автор

oh-my-posh just dropped support for rprompt for bash. transient pompt was never possible with bash and even {{ .Code }} or {{ .Error }} does not work. thus, not really an alternative for me.

klaus-udokloppstedt
Автор

themes are installed by default with oh-my-posh

JustSomeGuy
Автор

Ok, I started over and followed more what the Oh My Posh website said instead of your video and got all the way to showing the theme I want! It finally worked. And after many tries and fails, I finally figured out by a ton of googling, HOW to save the VIM file. So it's saved now. And the terminal theme is there. But as soon as I close out Terminal/Konsole (I'm on KDE Plasma/Kubuntu) and open it back up, the custom theme is gone?! I thought all that stuff with the VIM file WAS to save it. But it didn't save it. There is a VIM file in my Home folder now. And it says all the stuff your screen says (obviously edited to work for my system though). But is there is some setting in Konsole I need to change to make the custom terminal show up now? This is SOO frustrating, but I'm SOO close. I just need that last little bit of help please. Thank you

jollygreen