 Here in the last few days. I've spent a lot of time working on some of my get lab projects trying to get some of the The get lab projects that I've been neglecting here recently trying to get everything in order And I typically do this about once a year I'll do a spring cleaning even though it's not quite spring yet But I'll you know go to all of my get lab repose and try to make sure everything's up to date any issues I'll try to fix them try to get any merge requests that need to be addressed taken care of and What I did today was I spent a little time with my shill color scripts repository So what are the shill color scripts? Let me switch to my desktop here because I actually don't talk about this very often I probably mentioned this maybe once twice a year is when I open these terminals and I get these Random color scripts every time they open a terminal that is from my shill color scripts repository over on my get lab If you go to my get lab at get lab comm slash DWT one I've got all of my get lab repose here I've got like two dozen repose look for one called shell color scripts And that's where you'll find the source code for all of this. There are 56 individual color scripts If you go into this directory, there is All of the individual scripts if you wanted to just grab one for yourself Or if you want to install the entire collection and there are various installation Instructions here in the read me for those of you that are running arch Linux or an arch Linux base Distribution if you don't have a you are helper installed. No problem. Just grab this package build That is a arch Linux package build and from there what you want to do is you want to run this command here Make package space dash CF and that's going to make the shell color scripts Package is going to end in dot pkg dot tar dot zst Which is a installable arch Linux program. You can install that with Pac-Man do sudo Pac-Man space dash capital U and then the name of that package dot tar dot zst File that was created when you ran the make package command and it will install shell color scripts Now if you have a you are helper installed It's even easier because you can use something like yay or paru to just install the program shell dash color dash scripts From the a you are for those of you on non-arch Linux base distributions. It's very easy There's these six commands that you need to enter in the terminal I give you the exact commands to run and Once you run those six commands at the terminal You should have the shell color scripts program installed and again That should work on every Linux distribution now Let me show you a little bit about this particular program So let me switch back over to a empty workspace here and what happens when I first open a terminal is it actually runs Color script and so even though the package is called shell dash color dash scripts That's what you install the executable program is actually simply color script all one word So if I just do color script and then random what this does It just gives me a random color script one of the 56 random Color scripts since I'm zoomed way in now some of them look kind of crazy. Let me zoom back out and I will Show you a few of these. I'll just keep running some random ones, right? Now, how do I get this to come up every time I open a terminal? Well, that is easy Let me zoom back in and let me open my dot bash RC file So this is the bash config file the bash RC at the very bottom here Well, it's not at the very bottom, but pretty close. I have this section here says random color script And these are just comments these three lines here But the command up under it is color script space random exactly what we entered at the command line So what this does is if you put this in the bash RC color script random gets executed Every time you launch a bash shell. So if bash is your default shell in your terminal, that's always going to get executed I actually added color script random to my bash RC my zsh RC and my fish shell config file as well So it doesn't matter what shell I'm in because this is the fish shell But if I switch over to bash, you know color script random gets executed or if I switch over to zsh Color script random gets executed Now let me quit out of the bash RC There are other options you could use other than just color script random if I do color script with no flags and no options You get actually the help information. So there are six flags available dash h or if you don't give it a flag It's actually just dash h by default. So if I up arrow and do color script space dash h Yes, it is the same information. It's just letting me know about the flags So dash r is actually random. So if I did color script, I could do the word random You see I have three different options I can do dash r or dash dash random or just random with no dashes So if I wanted to shorten this obviously color script dash r just gives me a random color script Let me get back to the help information Another one if not everybody's just gonna want to get a random one Some people are gonna find a particular shell color script They like and they want to use that single shell color script for example in their bash RC or their CSH RC Well, you can do that. You see the E flag if I do color script dash E for execute I can specify a specific Color script to use and if you not sure which one to use color script dash L list all Installed color script. So do color script space dash L and that lists all the available ones For example, maybe the one I want to use is number seven DNA Well, how that would work is we would do color script dash E and I could either have it execute number seven the index number Which gives me the DNA color script or I can specify it by name The name was DNA and again, it runs the DNA color script now one thing about the shell color scripts is there are three or four Animated shell color scripts. So if I execute number two, which is called bomber Let me just type the word bomber just to be sure this is an animated color script, right? Yeah, I can't actually do anything I can't get to the command prompt until I actually kill this process to kill something in the shell control C Stops that right now I can type there's again about three or four of these animated ones And I don't like these because a lot of times when I pulling up a terminal I want to quickly be able to start typing what I want to type I don't want to have to control C to kill one of these animated things Well, there was an option if I do color script space dash H for the help You see dash B, which is a blacklist flag it blacklists a color script by script name or index number What this does is that actually takes the particular shell color script that you blacklist it removes it from the Color scripts directory and puts it in a blacklisted Directory so let me show you this in action. So I'm gonna do color script space dash B for blacklist and I will blacklist that bomber Script because I really don't care for it. So let me blacklist it It's gonna ask for pseudo privileges because we're moving some stuff around in a directory that needs pseudo privileges And now let me up arrow here and get back to color script dash E for execute bomber And you see it's no longer there. So if I do color script random I never have to worry about this bomber script coming up again Now for some reason you blacklist some of these scripts and later Want them back? Let me clear the screen what you can do Everything gets installed in slash opt slash shell dash color dash scripts Now if I do a LS in this directory, there is another directory called color scripts That's where the color scripts are actually hosted the individual ones So if I CD into color scripts and do an LS there are the 56 color scripts are actually it's just 55 now because when we blacklisted the bomber script It's no longer listed here because what that command does it actually creates a new directory called blacklisted And it puts those blacklisted shell color scripts in that directory So if we CD into blacklisted and do a LS you can see there is bomber and for some reason I decided I didn't want a blacklisted. I probably should create a un blacklist function I'll eventually get around to that but what you'd have to do is you would a sudo move bomber Up a directory right dash dash slash and then if I CD up a directory into the color scripts directory and do a LS Bomber is back in its place. So now if I do color script dash E bomber It is back and then control C to kill that animation So again, I get questions about this all the time the shell color scripts And the reason I'm talking about shell color scripts today is because I haven't mentioned it on camera in probably a year Also, I spent today working on shell color scripts So it's on my mind and I had some merge request a guy actually did a submerge request on my get lab and he submitted three or four new scripts and Yeah, that's the the thing evolves I do want to keep you guys up to date on this now for those of you that already have shell color scripts Installed through either the a you are or if you're running DTOS and have the DTOS core repository Enabled you guys should already have the latest and greatest version those of you on Arco Linux Show color scripts is also available on Arco although they package it themselves So it may take a few days before they update to the latest version of shell color scripts Now before I go I need to think a few special people I need to think the producers of this episode Devin Gabe James Matt Michael Mitchell Paul Scott West Allen armored dragon Chuck commander angry Diokai Dylan George lead Linux ninja Maxim Mike Erion Alexander peace arch and for door polytech red prophets Steven and Willie these guys They're my house tiered patrons over on patreon without these guys This episode would not have been possible the shows also brought to you by each and every one of these ladies and gentlemen each And every one of these fine ladies and gentlemen They're a supporter of mine over on patreon because I don't have any corporate sponsors I'm just sponsored by you guys the community if you like my work and you want to help me out Subscribe to distro tube over on patreon. All right guys. Peace Someone should create a X-mone ad logo for shell color scripts