@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 :)
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.
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
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.
"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.
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.
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.
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 😅
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!
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. :)
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!
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
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.
"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
@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
@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
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).
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
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
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.
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.
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.
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?
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.
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!
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?
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.
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.
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 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.
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.
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.
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
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
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.
@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
Im glad youre covering this one, been using oh-my-posh for ages and its the best prompt ive ever used!
It's really awesome! I've been enjoying it a lot
@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 :)
@dreamsofautonomy can you post the latest .zshrc that uses ohmyposh to your git?
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.
i love this "Fine, i will do it my self" energy.
I love starship
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
Thank you so much! I really appreciate hearing that.
Agreed.. *subscribes*
Kitty + Fish + Tide is all I need ❤
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!
Using Starship for years and I'm happy about it.
17:10 the "round" format is exactly what you're looking for
amazing video as usual!
I've been using oh-my-posh and it's awesome! Quite simple for configuring
Some weeks ago I was looking Oh My Posh. This awesome video appears just in time :D
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.
"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.
I also started using Catppuccin because of the tmux videos. Would love to know the reason on switching
oh my fellow catppuccin comrades
Yes please elaborate :)
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.
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.
bro this is the most detailed guide to something that i ever seen
That Tmux config looks amazing, can we get the tutorial for that? Or the dotfiles at least.
I think he already has a video covering it on his other channel
@chrisd.2948 Nah, his tmux video has a completely different config.
great work! very nicely explained!
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 😅
Great setup, thank you for sharing. This combined with kitty is pretty awesome!
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
Very detailed explanation, thank you.
I thought oh my posh was the equivalent of oh my zsh for POwerSHell
It is
I used your config on Mac, zsh and Alacritty. Everything works besides transient prompt. Before I had it working using p10k
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!
Thank you!
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. :)
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!
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
This is so good! Thanks man.
slick. thanks.
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.
thanks for the vid! loving oh-my-posh! (stole most of your config lol)
Impressive
Tbh fish and omp also work great together in my experience: you really get hooked on the experience, if i do say so myself
It's always a good day when DoA uploads
unfortunate naming lol (dead on arrival)
Just a point of order: PowerShell itself is cross-platform. It's not Windows only. 💡
"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
When people use Arch btw and dont want none POSIX
Yes, but PS is absolute garbage. So, who cares?
@PixelPrj that's not helpful and not true, but you do you
@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
f👏i👏s👏h
i think this is your best video so far Elliot 🎉
Thank you!
great video to getting start of oh my posh
when will you post how to configure tmux?
your videos on Dreams of Code channel are top notch, and now I have found this channel, that is amazing!
Thank you! I'm glad you like them!
yet another great video, awesome work! when'll you stream again?
Will be streaming today!
Hi, thanks for the great content altogether.
A question: What are your tools to make videos, in Arch?
What a beautiful video
I’m very interested in that tmux conf …
Hi, could you showcase your Linux rice? Love how your terminal/setup looks in all your videos ❤
I fell asleep... Watching again... LOL
I just love the "pure" prompt. It's so clean and no bs. I just install it with oh-my-zsh, no middleman.
Oh-my-zsh is bloat middleman
@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
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).
Need a video on your tmux config! Or whatever that bottom line is
He has a video on it on his main channel!
@ushankalover129 yes and no, he did update it, and he mentioned moving away from catpuccin, which is what he showed on his main channel
@macfrag574you are right, I didn’t think of that. i agree then, a new tmux config video would be cool.
what kind of absolute psychopath prefers yaml? madness
Can you please share your t-mux configuration? I like the way it looks :)
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
I hope you ever make a nixos version.
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
Tokyonight-Storm and P10K-Lean is my favorite (with a bit of color and icon tweaks)
You should share your theme in OMP-themes.
its realy good but how add env variable in prompt
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.
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.
Can you make a video about your arch configuration? It looks nice btw)
I used to use omp on windows. Maybe I should give that a shot on linux. Really sad to see p10k go.
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.
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?
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.
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!
In this video you have a very nice theme for tmux. What theme are you using?
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
All of my wallpapers are from freepik!
@dreamsofautonomy please make a tutorial for nvim configuration thanks
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
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?
What font is that?
Nerd font
Hyprland video incoming.
What the fonts did you use in your distro and terminal ❤
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.
Wallpaper link please
Try starship.
judging by its name I thought it was only for powershell
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.
Hey, could you share your tmux status bar config?
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.
It wasn't a coincidence (LOL).
How about the almost zero overhead that powerlevel10k had? Have you run some benchmarks?
tried oh my posh for serval days, but the transient prompt never worked.
Bro just just ship to fish.
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.
Transient prompts do make it harder to give an ai context about your pwd when using ai to debug
what is the background color of your terminal?
Very nice configuration! Can you make a video on how you configured the bottom part of the console? Thanks for sharing!
Absolutely! But the quick answer is that it's just tmux with the tokyonight theme
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...
Are you using the default config or a custom one? I'll give poetry a go and see if I also encounter it.
@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.
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.
Please compare to starship ...
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.
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?
TMUX
can you give the the link to download your wallpaper ?
I much prefer starship. I found it to be easier to use.
What shell do you use and how can I make it look like yours? Thanks!
i find starship cleaner in general
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
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
@pacifi5t"If you wanna copy-paste commands, just run bash and paste them there."
@DanCojocaru2000 thanks, but I stopped doing that long 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.
@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
starship has transient prompt now at least
wait didnt know u mentioned it lol buuuuut they have bash instructions now
Lewis Brenda Wilson Charles Taylor Helen
Lewis Sandra Lee Brian Gonzalez Anthony
Any Idea why the secondary prompt always falls back to default config?
hello. I was wondering how you designed the tmux bottom toolbar in the video, please share it in your next video. Thank you.
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 :)
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
ohmyposh is slow in Windows how does it do in Linux?
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