timestamp 15:46 - colormap for bash, if you don't have/want zsh, the following bash shell function produces identical output. function colormap() { for c in {0..255}; do let "d=($c+3)%6" printf "\x1b[48;5;%dm \x1b[49m\x1b[38;5;%dm%03d \x1b[0;37;40m" $c $c $c if [ "$d" -eq "0" ]; then echo ""; fi done; echo }
loving this windows dev ops WLS2 windows Terminal stuff. as a network eng who likes to run windows and game, its really cool being able to have a good Terminal and having all the linux tools with a great GUI
Great video, I'm so glad this popped up on my feed. Several hours well spent configuring and customising this across my WSL environments and standardising my terminals. Also led me to install and configure exa which I wasn't aware of but is great. A warning to anyone that uses Defender for Endpoint and Attack Surface Reduction rules; starship.exe is blocked by "Block executable files from running unless they meet a prevalence, age, or trusted list criteria". I had to disable this to get it working. I'm hoping that MS implement a way to whitelist applications in the future. I also wish there was a way to install Starship without Chocolatey, I don't really want to run/use Chocolatey, but I couldn't figure out how.
great video, I've just trolled through the font sets but cannot find the curved corners you have used for the terminal prompts (in your starship.toml file, under the format section) could you advise the ascii code you used??
its nice but takes to much learning curve , also i woulden't recommand to add this into production environment in a company so the Azure AD Sync wont be effective for my home use unless i use Lab env, thanks anyway though . you look like a senior in this field , would be nice to know what you've done before becoming a youtuber
Is this the one you download from the microsoft store? im trying to customize the one that comes with windows 11, but when i try to open the settings it opens a json file in vs code and doesnt show much about customizing the app.
Thank you again for you videos Cristian! Your thoughts on oh-my-posh vs. starship? Personally I like oh-my-posh but it appears that starship-prompt offers more options. Some timestamps that were especially helpful ( I will use these later this week, I will have a new laptop to configure ) - 15:05 character maps - 16:00 distro logos
Thank you! Great feedback on the timestamps :) I haven't tried out oh-my-posh, but I wanted to until someone recommended me starship. And to me personally starship looks a bit better and was very straightforward.
@@christianlempa Now having tried both, I think that the starship is just all around better. The problem with Posh is visual corruption in windows terminal, and that it can feel quite clunky and is generally less customizable.
Ubuntu and Powershell is missing from the cmd thing and it gives this error: Could not find your default profile in your list of profiles - using the first profile. Check to make sure the "defaultProfile" matches the GUID of one of your profiles.
I'll probably make some videos in the future about terminal tools, that I'm using. I'm still waiting though for a great version of exa on Windows. Then there will be a video coming about it :)
Awesome! Thanks! All working perfectly... P.S. But at beginning my icons was smaller then yours - I fixed it with the differen font type - JetBrainsMono Nerd Font.
I was struggling with the same thing using the Hack NF...thanks for calling this out; switching to the JetBrains font fixed this for me too. Thanks again!
@@christianlempa I have a problem with the short name of Ubuntu on the Windows Terminal Tab, and other problem is when I run the Terminal Powershell in VS code, my current location and the word 'at' didn't have any spaces. Could you have any suggestions?
I tried to set up the $PROFILE with the windows logo, " $ENV:STARSHIP_DISTRO = "" " but in the terminal I get random noise. I do have the same font enabled. Anyone know how to fix?
@@Fireshawk64 was able to trouble shoot and apparently if you are using "windows powershell" its hit or miss if the glyphs show up but on "powershell" which is the newer one anyway, it works fine!
I guess it wasn't working for me in the older versions of powershell. This is a complete mess, to be honest. But try it out on powershell7, that worked for me, if I remember correctly.
I copied your starship file and everythign went fine! Except for one thing: the icon for the file types. Any idea what could be going wrong? I am using powershell and using the "ls" command to list them. But it also did't worked on my ubuntu wsl2
@@Alex1996984 MS used to ship Windows Terminal with popular distro icons built-in. Although it is removed in later versions due to copyright issues. Edit: it should be trademark issues, not copyright.
hi, thank you for the video ! But how do you use an Ubuntu shell ? Wsl ? But with a wsl you have to install starship a second time to the wsl right? Thank you for your help :)
Hi Christian, Does your Windows Dotfile has been change? I saw different json schemes color setting vs video, can you share the old one, thank you and great job !!👌
The Windows Terminal is a great tool and it has improved over the last two years, but I miss the settings and features that I have on the Mac iTerm or on Linux Terminator, for example.
I've visited your repository named "dotfiles", but couldn't find any folder called "windows". Can you help me please? I'm looking for the file called "settings.json" for windows. Thank you.
@@christianlempa i checked my distribution and it was ubuntu. i think possible problem with the function, so i used the previous function and it works fine. thank u.
For anyone on Ubuntu WSL, and you're having trouble with the Starship, install it normally, then run: echo "eval '$(starship init bash)'" >> ~\.bashrc For some reason that works on Ubuntu but not Kali Linux, haven't tested other distros.
Do you know how to make the up key (to repeat a command) to filter based on suffix like on oh-my-zsh, if you type something like `git pu` and press up it only show commands that start with `git pu` is that possible with the starship? Thanks
@@christianlempa i meant your working directory shows which version of python you are use, in the video it show that you are on home via python v 3.10.1.
timestamp 15:46 - colormap for bash, if you don't have/want zsh, the following bash shell function produces identical output.
function colormap() {
for c in {0..255}; do
let "d=($c+3)%6"
printf "\x1b[48;5;%dm \x1b[49m\x1b[38;5;%dm%03d \x1b[0;37;40m" $c $c $c
if [ "$d" -eq "0" ]; then echo ""; fi
done;
echo
}
Oh nice, awesome man! I'll add it to my .bashrc file on github :D Thanks!
This is exactly what I was stating to someone in the comments
loving this windows dev ops WLS2 windows Terminal stuff. as a network eng who likes to run windows and game, its really cool being able to have a good Terminal and having all the linux tools with a great GUI
Thanks! Glad you like it 😁
Great video, I'm so glad this popped up on my feed.
Several hours well spent configuring and customising this across my WSL environments and standardising my terminals. Also led me to install and configure exa which I wasn't aware of but is great.
A warning to anyone that uses Defender for Endpoint and Attack Surface Reduction rules; starship.exe is blocked by "Block executable files from running unless they meet a prevalence, age, or trusted list criteria". I had to disable this to get it working. I'm hoping that MS implement a way to whitelist applications in the future.
I also wish there was a way to install Starship without Chocolatey, I don't really want to run/use Chocolatey, but I couldn't figure out how.
Thanks mate :)
I always love your customizations!
Edit: More than that, I love the starship prompt
Thank you so much!
Christian, you're an amazing dude. Thanks for your videos.
Thank you! :)
Woooww Broo!! AWESOMEEE I LOVE your customizations 💻✨
Excellent Terminal Customs Idea’s
Thanks
You're welcome
Great content! Thanks for the ideas to customize the shell prompt and keep up your good work! ;)
Thank you! Of course I'll do :)
Thats freaking Awesome 😁
Awesome video!
Thank you bro!
this terminal looks awesome 🎉
How do you use your script?
RemoteSigned
allrestrictive
unrerective
rectritive
Oh my this prompt customization is a rabbit hole... but thank you for introducing this
You're welcome! Go down the rabbit hole :D
Thank you Christian :)
You're welcome :)
great video, I've just trolled through the font sets but cannot find the curved corners you have used for the terminal prompts (in your starship.toml file, under the format section) could you advise the ascii code you used??
I knew it had to be starship prompt when you said I use it everywhere. 😁
Haha that was the right guess :D
What was the music?
its nice but takes to much learning curve , also i woulden't recommand to add this into production environment in a company so the Azure AD Sync wont be effective for my home use unless i use Lab env, thanks anyway though . you look like a senior in this field , would be nice to know what you've done before becoming a youtuber
Wow!! Great video!!
Thx! :)
Nice! Welcome to the Starship prompt ;)
Thank you! Just looked nice on your terminal :D
Never thought I'd live to see ricing on windoze
Thank you very much, greetings from Argentina 😊
Thanks! Greetings from Ger :)
Is this the one you download from the microsoft store? im trying to customize the one that comes with windows 11, but when i try to open the settings it opens a json file in vs code and doesnt show much about customizing the app.
thanks for Teleport. amazing, and nice video thanks for sharing
Glad you liked it!
I can't find the json file on your github @ 09:23 why did you remove the file? Anyway i like the themes tho.
I changed the repo to dotfiles-win, you find it on my GitHub page :)
Where are the icons from %userprofile%\WindowsTerminalIcons,
Thank you again for you videos Cristian! Your thoughts on oh-my-posh vs. starship? Personally I like oh-my-posh but it appears that starship-prompt offers more options.
Some timestamps that were especially helpful ( I will use these later this week, I will have a new laptop to configure )
- 15:05 character maps
- 16:00 distro logos
Thank you! Great feedback on the timestamps :)
I haven't tried out oh-my-posh, but I wanted to until someone recommended me starship. And to me personally starship looks a bit better and was very straightforward.
@@christianlempa Now having tried both, I think that the starship is just all around better. The problem with Posh is visual corruption in windows terminal, and that it can feel quite clunky and is generally less customizable.
Would you happen to have a setup ps1 that could be used as a 1 liner install?
How can i get your json file now?
Thanks for making this how to video! How does one do "run as different user" with Win Term?
Thank you Christian, your customizations are VERY nice! What theme are you using in VSCode?
Yo, could you please make example for fish how to add the automatically distro select and where to set the env?
Sry I’m not using fish :(
How do you make vscode show you the color square in the json?
Is there a Blue screen theme for your Termina on Windows?
I left Windblows long time ago. Most programmers are on Mac now. At least in USA.
You can find some of my old files for WIndows Terminal here: github.com/ChristianLempa/dotfiles-win
where can i download that desktop wallpaper, it's amazing!
Just search for Mr Robot wallpaper :D
How can I obtain the "WindowsTerminalIcons" folder that you use?
I would like to know how to install Arch with WSL. Could you share the guide to do that? Thanks
github.com/yuk7/ArchWSL
Could you tell me how to customize the file icons also
Awesome and with the pane config, can we save it in case we restart the terminal?
Thanks mate! Yeah you can enable it in the settings under "When terminal starts"
I can’t find confing for setting!
Great channel!
What's the song in the beginning?
Ubuntu and Powershell is missing from the cmd thing and it gives this error: Could not find your default profile in your list of profiles - using the first profile. Check to make sure the "defaultProfile" matches the GUID of one of your profiles.
How did you add the other stuff? Aside from Command Prompt, PowerShell and Cloud Shell I don`t have any other command line.
I ask for Kali Linux, Ubuntu Linus and so.
I'll probably make some videos in the future about terminal tools, that I'm using. I'm still waiting though for a great version of exa on Windows. Then there will be a video coming about it :)
Awesome! Thanks! All working perfectly...
P.S. But at beginning my icons was smaller then yours - I fixed it with the differen font type - JetBrainsMono Nerd Font.
Glad it helped!
@@christianlempa AWESOME!
By the way. I add zsh-autosuggestions and it's working like a charming. But do not get history from console after relogin.
I was struggling with the same thing using the Hack NF...thanks for calling this out; switching to the JetBrains font fixed this for me too. Thanks again!
Could you make a clear video tutorial to config this style of shells prompts ? Thanks in advance
What exactly are you looking for?
@@christianlempa I have a problem with the short name of Ubuntu on the Windows Terminal Tab, and other problem is when I run the Terminal Powershell in VS code, my current location and the word 'at' didn't have any spaces. Could you have any suggestions?
@@TVDramaHome same here any fixes ??
Superb content, Hi Christian how did you customize your Warp terminal with the same purple texts/fonts? if you have a video could you point me to it.
where did you get the background image? Looks really nice, would like to have this too please.
Search Mr Robot Background
I tried to set up the $PROFILE with the windows logo, " $ENV:STARSHIP_DISTRO = "" " but in the terminal I get random noise. I do have the same font enabled. Anyone know how to fix?
I'm having the same problem
@@Fireshawk64 was able to trouble shoot and apparently if you are using "windows powershell" its hit or miss if the glyphs show up but on "powershell" which is the newer one anyway, it works fine!
I guess it wasn't working for me in the older versions of powershell. This is a complete mess, to be honest. But try it out on powershell7, that worked for me, if I remember correctly.
@@christianlempa Yup it worked! I did realize I had an old version of powershell. 7 works fine!
@@dylanf4678 How update to powesehll 7 ?? I have the same problem !! 😭
Love it!
that is cool looking wallpaper.
do you have link for that?
I copied your starship file and everythign went fine! Except for one thing: the icon for the file types. Any idea what could be going wrong? I am using powershell and using the "ls" command to list them.
But it also did't worked on my ubuntu wsl2
The icons in the ls command don't come from starship, it's a separate application called "exa"
It is in evaluation mode? Any logs from our computers that goes to programmers? How did you add the windows logo to the prompt? Thanks
How do I find that wallpaper
Haha, you know what, you're genius 😊😊😊
Thanks ;)
any alternatives of fish shell in windows?
That is a wallpaper, where do you usually get them from?
Nice! One question tho, where did you find these nice icons that we can see on the windows terminal tabs?
I'm not sure if I'm allowed to share them, but you could look at a website like icons8 f.e. ;)
@@christianlempa Thanks! Yes I used icons8 but some icons appear pixelated in the tab. anyway! keep it up!
@@Alex1996984 I think he's using a paid version because I'm facing the same pixel problem
@@Alex1996984 MS used to ship Windows Terminal with popular distro icons built-in. Although it is removed in later versions due to copyright issues.
Edit: it should be trademark issues, not copyright.
@@YousefMohamed-jb8bq you can change the icon for each terminal. Just find you suitable distro icon or even just any image you like.
Whats your vscode theme in this video? awesome colors
The Digital Life VSCode Theme by Christian Lempa
hi, thank you for the video ! But how do you use an Ubuntu shell ? Wsl ? But with a wsl you have to install starship a second time to the wsl right? Thank you for your help :)
how do i make the 'starship.toml' file?
Hello Chris can you help me to add status prompt to see if i have an python3 virtual env active ?
Do you have video of how you got kali linux and unbuntu linux on your terminal like that?
No, haven't done much with that in the recent past :/
hello, why does windows have two terminals cmd and powershell? what is the diference between them
Where did you get that white PowerShell Icon I can't find it
Icons8 ;)
Hi cool!!! i can't find home and lock symbol? can you help me? many thanks
great content!
Thx!
How to display character map like yours? My Character Map started from "charmap" command seems to be very dumb.
It’s a command in my dotfiles you can find on GitHub :)
which vs code theme are you using?
Do you know why some fonts are not being interpreted by my PC even though NerdFonts has been installed?
Hi Christian, Does your Windows Dotfile has been change? I saw different json schemes color setting vs video, can you share the old one, thank you and great job !!👌
Too bad, starship doesn't seem to install for me. At least my shell does not recognise any of the commands.
I always like all your customizations
can we use zsh plugins with starship ?
I guess that should work, if you're refering to zsh-autosuggestions, etc. that works on my side
I using ubuntu WSL its says staship command not found after installing it to the /.local and setting /.local to PATH & Adding the bashrc command
wallpaper name?
How do I use your hackthebox custom theme for my zsh on Pop OS?
My Starship prompt doesn't even show anything fancy, all the configuration I did made my default terminal look exactly the same and a lot weirder
Windows Terminal and WSL are saviors. It makes it so I despise my life juuuust a little less when having to use Windows...
I now know a little bit more about what Windows Terminal can do. 😁😁😁
Awesome 😁
Awesome video again Christian, but can you tell me the name of the intro song?
Thank you mate! Sure it's "Future Vibes - Qeeo"
@@christianlempa got it.
How to open windows terminal in drop down style with tabs?
The Windows Terminal is a great tool and it has improved over the last two years, but I miss the settings and features that I have on the Mac iTerm or on Linux Terminator, for example.
do you still have this config? because i want it
I've visited your repository named "dotfiles", but couldn't find any folder called "windows". Can you help me please? I'm looking for the file called "settings.json" for windows.
Thank you.
Hey mate, I’ve split the repos. You find it in my „dotfiles-win“ now
@@christianlempa Thank you so much.
do you have the edit the conf in your home dir plus wsl dir?
Not sure, what you mean by that. Can you explain please?
hello, i am just curious i got the this icon of penguin instead of Ubuntu icon. i used the same configuration as yours.
Maybe you have a different version of Ubuntu? I'm not sure but you can try to execute the command from the script and narrow down what it's telling
@@christianlempa i checked my distribution and it was ubuntu. i think possible problem with the function, so i used the previous function and it works fine. thank u.
is there a way to make ubuntu terminal look like this?
Your vs code's edges look like a round shape. how did you do it?
love this!!!!!
thanks :D
How to configure the distro icon in powershell?
I just hardcoded it in the environment variable of the ps1 start script :D
How to get my conda env to show up in this?
How to add the files-theme-xcad.xaml file to have as a theme choice option? How to change each system logo to black and white, the same as yours?
the icons in zshrc file are not loading on your github
Thanks mate, yeah the problem is that github doesn't use nerdfonts. But once you clone the repo, you should see them!
Very cool :)
Thanks :D
For anyone on Ubuntu WSL, and you're having trouble with the Starship, install it normally, then run:
echo "eval '$(starship init bash)'" >> ~\.bashrc
For some reason that works on Ubuntu but not Kali Linux, haven't tested other distros.
I really enjoyed the vid! What VS code theme were you using?
I built my own :) it’s called „the digital life“
Do you know how to make the up key (to repeat a command) to filter based on suffix like on oh-my-zsh, if you type something like `git pu` and press up it only show commands that start with `git pu` is that possible with the starship? Thanks
I think it should be independet from the prompt, because it sounds like a function of zsh, which is of course fully supported in starship.
How does he have those graphs in the Terminal? Are those Linux exclusive?
sorry to ask, why do u have at home via python v 3.10.1? should i change the parameters?
Don't know what you mean?
@@christianlempa i meant your working directory shows which version of python you are use, in the video it show that you are on home via python v 3.10.1.
How do you do this for the git bash terminal?
What do you mean?