Tap to unmute

We may have killed p10k, so I found the perfect replacement.

Share
Embed

Comments • 297

  • @prismatic1910
    @prismatic1910 Year ago +233

    Im glad youre covering this one, been using oh-my-posh for ages and its the best prompt ive ever used!

    • @dreamsofautonomy
      @dreamsofautonomy Year ago +15

      It's really awesome! I've been enjoying it a lot

    • @NZ255
      @NZ255 Year ago +2

      ​@dreamsofautonomy you say your theme is Tokyo Night but have you modified it? Or perhaps you colour grade your videos? When pixel peeping your terminal colours seem very different to most Tokyonight themes. For example your background is darker, and the greens are more towards yellow than blue. I really like your colours is the reason I'm asking :)

    • @X-101
      @X-101 Year ago

      @dreamsofautonomy can you post the latest .zshrc that uses ohmyposh to your git?

  • @cleomenezesjr
    @cleomenezesjr Year ago +56

    To be honest, something I liked about p10k was the ease of switching between templates interactively. Lately I want to use my time writing code instead of wasting time writing code to write code.

  • @bmetallaoui
    @bmetallaoui Year ago +65

    i love this "Fine, i will do it my self" energy.

  • @Dr-Zed
    @Dr-Zed Year ago +20

    I love starship

  • @TheVespart
    @TheVespart Year ago +84

    I absolutely love the style of your videos.
    You not only share the step by step path for the build, configuration or topic you're trying to show, but also give a full rundown and explain the why and hows in which you came up with that specific configuration. It not only helps the viewer to build it and follow with more precision, but also teaches them in case they want to edit it to their own use case.
    It's amazing to watch and learn new things, you are building truly amazing videos. Keep it up my man

  • @PiyushKumbhare10
    @PiyushKumbhare10 Year ago +3

    Kitty + Fish + Tide is all I need ❤

  • @sabirquazi
    @sabirquazi Year ago +7

    a good thing to include in this is to install the correct font so you can get the symbols! But this was great! I got this up and running in warp!

  • @NullViewer
    @NullViewer Year ago +2

    Using Starship for years and I'm happy about it.

  • @wi1h
    @wi1h Year ago +3

    17:10 the "round" format is exactly what you're looking for

  • @adibhanna
    @adibhanna Year ago +7

    amazing video as usual!

  • @eliasepg
    @eliasepg Year ago +4

    I've been using oh-my-posh and it's awesome! Quite simple for configuring

  • @AJ-Niro
    @AJ-Niro Year ago +2

    Some weeks ago I was looking Oh My Posh. This awesome video appears just in time :D

  • @foresthobo1166
    @foresthobo1166 Year ago +3

    You can very easily script transient prompts anywhere. Save the position of the cursor using whatever sequence is right for your terminal (aka termcap or hardcode). Add a hook before the shell executes any command to go back to the saved location, move back as many lines as your prompt was and clear to end of screen.
    In total you rarely need to echo more than 10 chars to get this done.

  • @alewis001
    @alewis001 Year ago +37

    "me and catppuccin have gone our separate ways..." and now I need to know more 😄 I think it was your NvChad or tmux vids that put me on catppuccin and I do like it. I'm intrigued to know why you're no longer using it.
    Regardless, another great vid! I suspect I'll be trying the zen-zsh from your other vid. Keep up the great content.

    • @LokShunHung
      @LokShunHung Year ago +5

      I also started using Catppuccin because of the tmux videos. Would love to know the reason on switching

    • @daleryanaldover6545
      @daleryanaldover6545 Year ago +2

      oh my fellow catppuccin comrades

    • @Ningishzidd4
      @Ningishzidd4 Year ago +2

      Yes please elaborate :)

    • @PiyushKumbhare10
      @PiyushKumbhare10 Year ago

      Do you know if NvChad has a list of which plugins it packages up and uses? It has a lot of really nice features, but I switched to NVF (a NV framework for Nix) so I could cleanly manage all config options in a 🤓"pure way". Anyhow, I want to copy over as many of NvChad's default config over into my NVF config, but I can't seem to find out what exactly NvChad uses.

    • @abtix
      @abtix 11 months ago

      I think it’s because you get tired of them. Personally, iI fall in love with a theme for 3-6 months, then I find a new theme and suddenly my eyes are drawn to it a lot more, even if I knew of that theme before.

  • @ВладимирМихин-н7л

    bro this is the most detailed guide to something that i ever seen

  • @pepavasata6790
    @pepavasata6790 Year ago +23

    That Tmux config looks amazing, can we get the tutorial for that? Or the dotfiles at least.

    • @chrisd.2948
      @chrisd.2948 Year ago

      I think he already has a video covering it on his other channel

    • @pepavasata6790
      @pepavasata6790 Year ago +1

      @chrisd.2948 Nah, his tmux video has a completely different config.

  • @sirraunzalot
    @sirraunzalot Year ago

    great work! very nicely explained!

  • @gungun974
    @gungun974 Year ago +1

    Today I wrote a fish prompt in fish since my try to replicate my historic zsh prompt with starship went terribly wrong. (CONDITIONS COLORS AND TEXTS WHERE ARE YOU !)
    So what a funny surprise to see OhMyPosh. This tools seem to solve all my issues with starship but also bring interesting features ! (Like conditional colors yeah).
    I may try it one day but before it’s can be a good idea to just profit of my new prompt before just throwing in the bin 😅

  • @sbraende
    @sbraende Year ago

    Great setup, thank you for sharing. This combined with kitty is pretty awesome!

  • @marsulami6610
    @marsulami6610 Year ago +9

    Can you make a video about the configuration of your tmux themes. I really like it, but i don't know how to make it like your themes

  • @YannMetalhead
    @YannMetalhead Year ago +1

    Very detailed explanation, thank you.

  • @FedericoDanielAnastasi-b9w

    I thought oh my posh was the equivalent of oh my zsh for POwerSHell

  • @paulr7765
    @paulr7765 Year ago

    I used your config on Mac, zsh and Alacritty. Everything works besides transient prompt. Before I had it working using p10k

  • @Sean-TH99
    @Sean-TH99 Year ago +10

    This channel is an absolute gem! I love your overall style, editing flow and preference to more zen minimalist setups.
    Got myself setup with p10k from your vid, loving it!

  • @thenextpoetician

    I don't know code from a hole in the ground. Scripting is for pilfering in my case, judiciously, of course. Changing my prompt has been on the back burner for a few years. No longer. I'll sleep well tonight. Much appreciated video. :)

  • @pantium98
    @pantium98 Year ago +4

    in the past, i had some issues with omp, which I can't remember what those were, so i just went back to starship. i might look it at it again since it is now cross platform so that I can use same stuff for my powershell and my wsl instance, and it has some nice features too!

  • @MartinBarker
    @MartinBarker Year ago +2

    i been using oh-my-posh for a while now started using it on windows because it's one of the few that works with powershell, and then went i like this install it into my WSL environments :D

  • @burgermatz
    @burgermatz Year ago

    This is so good! Thanks man.

  • @robertfontaine3650

    slick. thanks.

  • @IanChesal
    @IanChesal Year ago

    OMG! The transient prompt p10k feature has kept me on p10k FOR-EVER! I'm glad I'm not the only on who finds that a critical feature. I'll check out oh-my-posh.

  • @brennantsullivan

    thanks for the vid! loving oh-my-posh! (stole most of your config lol)

  • @dzisonline
    @dzisonline Year ago

    Impressive

  • @NotaNameInReality

    Tbh fish and omp also work great together in my experience: you really get hooked on the experience, if i do say so myself

  • @Redyf
    @Redyf Year ago

    It's always a good day when DoA uploads

  • @h3techsme
    @h3techsme Year ago +22

    Just a point of order: PowerShell itself is cross-platform. It's not Windows only. 💡

    • @darthwalsh1
      @darthwalsh1 Year ago

      "Windows Shells"--that irked me.
      I liked zsh and would have kept using it, except that it was a lot easier to figure out pwsh on my MacBook then try to run a POSIX shell on Windows

    • @UvekProblem
      @UvekProblem Year ago

      When people use Arch btw and dont want none POSIX

    • @PixelPrj
      @PixelPrj Year ago +9

      Yes, but PS is absolute garbage. So, who cares?

    • @h3techsme
      @h3techsme Year ago +6

      @PixelPrj that's not helpful and not true, but you do you

    • @t1mor29
      @t1mor29 Year ago

      ​@PixelPrj I found @h3techsme comment really helpful. Didn't know until now that PowerShell is cross platform. He didn't even say that PowerShell is a good terminal, just giving information. So stop bashing other terminals/people

  • @n.a.s1096
    @n.a.s1096 Year ago +1

    f👏i👏s👏h

  • @JohnoScott
    @JohnoScott Year ago

    i think this is your best video so far Elliot 🎉

  • @MiohitoKiri
    @MiohitoKiri Year ago

    great video to getting start of oh my posh
    when will you post how to configure tmux?

  • @krzysi3k-yt
    @krzysi3k-yt Year ago +2

    your videos on Dreams of Code channel are top notch, and now I have found this channel, that is amazing!

  • @bastian_ow
    @bastian_ow Year ago

    yet another great video, awesome work! when'll you stream again?

  • @sumanth3036
    @sumanth3036 Year ago

    Hi, thanks for the great content altogether.
    A question: What are your tools to make videos, in Arch?

  • @a1mer06
    @a1mer06 Year ago +1

    What a beautiful video

  • @cellooopa
    @cellooopa Year ago

    I’m very interested in that tmux conf …

  • @sho6501
    @sho6501 Year ago

    Hi, could you showcase your Linux rice? Love how your terminal/setup looks in all your videos ❤

  • @theclient6251
    @theclient6251 Year ago

    I fell asleep... Watching again... LOL

  • @picklypt
    @picklypt Year ago

    I just love the "pure" prompt. It's so clean and no bs. I just install it with oh-my-zsh, no middleman.

    • @AgapitoHampaslupa12
      @AgapitoHampaslupa12 Year ago +13

      Oh-my-zsh is bloat middleman

    • @pacifi5t
      @pacifi5t Year ago

      @AgapitoHampaslupa12 It's not if you don't use any of it's 'plugins'. I use it only because it has a set of features I am really
      used to. But I could not replicate those yet writing the rc file from scratch. It takes too much time, unfortunately.
      P.S. i think it the original comment is a sarcasm

  • @laniusdev
    @laniusdev Year ago

    Btw, my p10k prompt is basically identical as yours and I had no idea they went into 'life support' mode. I've peen using ohmyposh in pwsh, so I might check it out myself (which seems, copying your config will do).

  • @filmcarbon
    @filmcarbon Year ago +7

    Need a video on your tmux config! Or whatever that bottom line is

    • @ushankalover129
      @ushankalover129 Year ago

      He has a video on it on his main channel!

    • @macfrag574
      @macfrag574 Year ago

      @ushankalover129 yes and no, he did update it, and he mentioned moving away from catpuccin, which is what he showed on his main channel

    • @ushankalover129
      @ushankalover129 Year ago

      @macfrag574you are right, I didn’t think of that. i agree then, a new tmux config video would be cool.

  • @Netist_
    @Netist_ Year ago +2

    what kind of absolute psychopath prefers yaml? madness

  • @mayakrunal
    @mayakrunal Year ago +2

    Can you please share your t-mux configuration? I like the way it looks :)

  • @kuhluhOG
    @kuhluhOG Year ago

    And then their is me who wrote a bash script/prompt which:
    - shows me exit codes IF the command had an error
    - shows the username
    - shows either the current hostname or the current containername if I am in one
    - the current directory name or ~ if it's the homedir
    - the current GIT branch with the colour changing depending on if there are uncommited changes or not
    - the time on the right side of the window
    - the actual line to type in stuff on the next line
    - different background-colours for each information chunk (and if needed different text colours for better readability)
    - all of this selfcontained in one file which I can easily copy around

  • @007kowalski
    @007kowalski Year ago

    I hope you ever make a nixos version.

  • @JPals-gt4mp
    @JPals-gt4mp Year ago +1

    I would love to see Nix videos on this channel. Since it's a bit different from the other distributions, I find it a bit hard to configure ( I guess I'm a newbie ). But it's very desirable because it's stable and has the package manager is the best

  • @abdulalimmahir
    @abdulalimmahir Year ago

    Tokyonight-Storm and P10K-Lean is my favorite (with a bit of color and icon tweaks)
    You should share your theme in OMP-themes.

  • @amit12000
    @amit12000 Year ago

    its realy good but how add env variable in prompt

  • @utkarshverma1
    @utkarshverma1 Year ago +10

    How fast does it start up? What I like about p10k is the instant prompt. Does omp have something similar?
    I remember starship being slower than p10k on zsh because starship has to give up on shell-specific optimisations that p10k enjoys.

    • @dreamsofautonomy
      @dreamsofautonomy Year ago +5

      It's a great question. There's no instant prompt freatue from what I can tell. That being said, my startup times are incredibly short so for me it's unnoticeable currently.

  • @wintersakuraa
    @wintersakuraa Year ago +2

    Can you make a video about your arch configuration? It looks nice btw)

  • @alistair1231
    @alistair1231 Year ago +5

    I used to use omp on windows. Maybe I should give that a shot on linux. Really sad to see p10k go.

    • @dreamsofautonomy
      @dreamsofautonomy Year ago

      Yeah it is a shame! But it'll still work for a long time I imagine.
      I actually am glad to have been pushed to try OMP as I think it has some really awesome features.

    • @juniorsundar
      @juniorsundar Year ago +2

      p10k isn't gone. It's still there. Still performant as always. It's just that the author believes the plugin has nothing more to add and i kind of agree.
      People still use calculator app even though it's basically in same state no?

  • @avalagum7957
    @avalagum7957 Year ago +1

    I like oh-my-posh: no need to install (just download and run), work in Linux and Windows (I have only 1 .json file for powershell and bash), the project seems very active.

  • @sanyika96
    @sanyika96 Year ago

    Hi, I wanted to thank you for the video - switching to a more streamlined workflow has made a big difference for me! My next goal is to set up the git staging count using this theme. I've reviewed the documentation, but I'm stuck. Can you provide some guidance on how to display the number of files in my working and staging directories? I'd really appreciate it!

  • @DanielM337
    @DanielM337 Year ago

    In this video you have a very nice theme for tmux. What theme are you using?

  • @AlaaSaidAhmad
    @AlaaSaidAhmad Year ago

    First this is the most person who explain every single line of his code ❤thanks 👍 second thing where did you download all of your wallpaper ❤thank you

    • @dreamsofautonomy
      @dreamsofautonomy Year ago +2

      All of my wallpapers are from freepik!

    • @AlaaSaidAhmad
      @AlaaSaidAhmad Year ago +1

      @dreamsofautonomy please make a tutorial for nvim configuration thanks

  • @RenderingUser
    @RenderingUser Month ago +1

    12:55 man i really need a transient prompt that shows the error color on the error line itself instead of the next line over

  • @RazoBeckett.
    @RazoBeckett. Year ago +1

    Hey everyone, I could use a bit of help. I've gone through the documentation (RTFM), but I'm still unable to figure out how to display only the directory name when I'm in a Git repository. I don't want the full path to show up, just the directory name. However, if I'm not in a Git repository, then I do want the full path to be displayed. How can I achieve this?

  • @tykers.
    @tykers. Year ago +4

    What font is that?

  • @KwidzaxD
    @KwidzaxD Year ago

    Hyprland video incoming.

  • @AlaaSaidAhmad
    @AlaaSaidAhmad Year ago

    What the fonts did you use in your distro and terminal ❤

  • @sbbadhan
    @sbbadhan 8 months ago

    i really want to know , can i get that bottom tab things with icon on warp terminal. or which terminal are you using?
    anyone can help.

  • @btngana2077
    @btngana2077 Year ago

    Wallpaper link please

  • @chyldstudios
    @chyldstudios Year ago +1

    Try starship.

  • @kitukitukitu-lous
    @kitukitukitu-lous 10 months ago

    judging by its name I thought it was only for powershell

  • @John-Dennehy
    @John-Dennehy Year ago

    I totally disagree with you on the look of the prompt, but will overlook this disgust on account of this being a really really great video.

  • @parikshithpalegar4699

    Hey, could you share your tmux status bar config?

  • @SixStringUk
    @SixStringUk Year ago +1

    People seem to like bells and whistles. If you're into pimping your prompt, then I guess OMP is nice. Just remember you don't have to use it. Especially if what you end up with is a fairly standard looking prompt without the fancy backgrounds. I had to write half of the functions I wanted anyway and like my prompt to be clean text, so I finally deleted OMP and just have a couple of bash scripts without dependencies. And also learned how to customize PS1 in the process, so I can modify it without having to look for someone else's scripts.

  • @mandokir
    @mandokir Year ago

    It wasn't a coincidence (LOL).

  • @TonioGela89
    @TonioGela89 Year ago +2

    How about the almost zero overhead that powerlevel10k had? Have you run some benchmarks?

  • @xpluslog
    @xpluslog Year ago

    tried oh my posh for serval days, but the transient prompt never worked.

  • @Taddy_Mason
    @Taddy_Mason Year ago +2

    Bro just just ship to fish.

  • @ForeverZer0
    @ForeverZer0 Year ago

    I will definitely have to give oh-my-posh a look. I have obviously heard of it, but never gave it any attention, as I have been a p9/10k user for years. As this has just become my standard goto when configuring my terminal on a system, I haven't really explored others for quite some time.

  • @catalystzerova
    @catalystzerova Year ago

    Transient prompts do make it harder to give an ai context about your pwd when using ai to debug

  • @PedroSousaWebDev

    what is the background color of your terminal?

  • @LucasOscarSimon
    @LucasOscarSimon Year ago

    Very nice configuration! Can you make a video on how you configured the bottom part of the console? Thanks for sharing!

    • @dreamsofautonomy
      @dreamsofautonomy Year ago

      Absolutely! But the quick answer is that it's just tmux with the tokyonight theme

  • @owlnoodles
    @owlnoodles Year ago +3

    A couple of weeks ago I spent almost half a day configuring oh-my-posh only to find out the next Monday that it interacts badly with poetry (python package manger) that I have to use at work. For some reason `poetry shell` doesn't properly start the virtual environment when I use oh-my-posh. No issues with starship. I was able to reproduce this on another machine as well. Bummer. I'll try to come up with some minimal instructions to reproduce it and file an issue...

    • @dreamsofautonomy
      @dreamsofautonomy Year ago +1

      Are you using the default config or a custom one? I'll give poetry a go and see if I also encounter it.

    • @owlnoodles
      @owlnoodles Year ago +1

      @dreamsofautonomy Custom one. Honestly, I was so disappointed that I didn't even think to try to revert to the default. I will, as soon as get the chance.

    • @owlnoodles
      @owlnoodles Year ago +5

      Alright. I went back to it, and I think I fixed it. I had two left prompts (for a starship look). First one with path, git info and python environment and second one the > prompt itself. I selectively commented out things in my configuration and noticed that if I have newline=true for both prompts then `poetry shell` misfires. So I removed the newline=true from the first one and added a "
      " at the beginning of the path segment template instead. It seems to work fine now... Bizarre.

  • @mkunikow
    @mkunikow Year ago

    Please compare to starship ...

  • @codeman99-dev
    @codeman99-dev Year ago

    I'm not real familiar with go formatting. Is it possible to use a calculated fill width?
    In particular, I would like to set the length of the secondary prompt to line up with the end of the base command.

  • @laughingvampire7555

    the transient prompt looks nice, can you add the date and duration in seconds for the command to make it a little bit more log like?

  • @chuchumba4211
    @chuchumba4211 Year ago

    TMUX

  • @ayankarmakar9324

    can you give the the link to download your wallpaper ?

  • @DeferFuncClose
    @DeferFuncClose Year ago +1

    I much prefer starship. I found it to be easier to use.

  • @veryhouman
    @veryhouman Year ago

    What shell do you use and how can I make it look like yours? Thanks!

  • @hyperlight_sleeper

    i find starship cleaner in general

  • @ejreillyxyz
    @ejreillyxyz Year ago +27

    I think the "posix-compliance" argument against fish is overcooked - yes there are some differences in the way you do some things, but for everyday interactive use it's so much better (setting variables is SANE, and fish_add_path makes PATH simple). Tide prompt for fish is what I've settled on (after jumping between starship and it for a while) for the transient prompt and quick async feel. The customizability is a bit lacking but everything else makes up.
    Cheers and thanks for sharing the knowledge :) I've always been curious about oh-my-posh as well

    • @pacifi5t
      @pacifi5t Year ago +6

      Non-posix-compliant shells are fine if you know what you're doing. I would advise anyone against using it until they learn shell-scripting, so they won't just copy-paste commands hoping it is going to work

    • @DanCojocaru2000
      @DanCojocaru2000 Year ago +1

      ​@pacifi5t"If you wanna copy-paste commands, just run bash and paste them there."

    • @pacifi5t
      @pacifi5t Year ago

      @DanCojocaru2000 thanks, but I stopped doing that long ago

    • @mattymerr701
      @mattymerr701 Year ago

      The last time I tried fish, it broke multiple distros. They are built with posix shells in mind and of course fish doesn't have conversion built-in, you have to install plugins.

    • @ejreillyxyz
      @ejreillyxyz Year ago +4

      @mattymerr701 if it “broke multiple distros” it’s probably because you made it your default shell - I only use it for interactive use, my OS still uses bash

  • @ar_chbtw
    @ar_chbtw Year ago

    starship has transient prompt now at least

    • @ar_chbtw
      @ar_chbtw Year ago

      wait didnt know u mentioned it lol buuuuut they have bash instructions now

  • @LindaRodriguez-l3r

    Lewis Brenda Wilson Charles Taylor Helen

  • @CreationBoss-b8m

    Lewis Sandra Lee Brian Gonzalez Anthony

  • @MaKaNufilms
    @MaKaNufilms Year ago

    Any Idea why the secondary prompt always falls back to default config?

  • @vankuship8362
    @vankuship8362 Year ago

    hello. I was wondering how you designed the tmux bottom toolbar in the video, please share it in your next video. Thank you.

    • @dreamsofautonomy
      @dreamsofautonomy Year ago +2

      It's just tokyo night theme! I have a video on tmux on my main channel, will be doing a refreshed version on this channel once it hits 1M views :)

  • @azthecx
    @azthecx Year ago

    What is the bottombar on your terminal? It seems to be shell tabs, some sort of tmux / zelijj / wezterm with styling? Didn't spot it on your dotfiles

  • @6H075T2
    @6H075T2 Year ago

    ohmyposh is slow in Windows how does it do in Linux?

  • @richardgomes5420

    My super minimalist prompt for bash:
    function __scm_branch {
    local branch=$(git branch --show-current 2>/dev/null || hg branch 2>/dev/null || echo "")
    if [[ ${#branch} -gt 40 ]] ;then echo "${branch:0:16}"..."${branch:${#branch}-20:${#branch}}" ;else echo "${branch}" ;fi
    }
    # define prompt
    if [ -x /usr/bin/dircolors ]; then
    export PS1='\[\033[01;31m\][$(date "+%Y-%m-%d %H:%M:%S")]\[\033[00m\]>\[\033[01;32m\]$(__scm_branch)\[\033[00m\]>\[\033[01;34m\]\u@\h:\w\[\033[00m\]\$ '
    else
    export PS1='[$(date "+%Y-%m-%d %H:%M:%S")]>$(__scm_branch)>\u@\h:\w\$ '
    fi