 Hey everybody welcome back to the video today I'm going to be talking a little bit about My experiences with the fish shell the friendly interactive shell. I think is what it stands for I Spend using it for all time for about three weeks ish Maybe two weeks maybe a little longer than I'm not sure maybe a month even I'm not sure it's been a while I've tried fish before but I've never actually like changed my shell to it just I've installed it and used it for you know, half a minute switch back and But this time I decided to you know I'm gonna really try it because DistroTube and some of the guys at the Destination Linux podcast really enjoy fish and they consider it the best thing since sliced bread And I was like well, you know, I'm gonna figure out what the hell they're talking about why why they think it's so good and so I switched and It's good. It's Good But it's not great. It's not it's not the best thing since sliced bread. It's not the best terminal Or it's not the best shell out there. I don't think it's just as I Have all right, so let's talk about the good things. Let's be a little organized about this If you're going to do something like Let's see here, let's say I wanted to use I gotta come up with a good example of What fish does and I'm completely down. So let's actually let's Let's do a neo month and you see how here how it Has auto suggestions Like you can add auto suggestions to like ZSH with a plug-in. What this does if you do dash dash and then tab over It's supposed to work anyways Alright, yeah, so if you do tab after one, it'll actually tell you All of the options and it gets these directly from a man page And I tell you what you know what they do and everything and then you can just do that I'm not sure why won't do do it for double and you can just tap through them. That's really cool ZSH won't do that. There may be a plug-in or something. I'm not sure But it'll do that for any terminal program, it's really cool. That's really nice but Here's the thing outside of that. I have no reason to like fish. It's just ZSH And there's several reasons why I don't like it, which I'll get to in a minute, but it doesn't add Any functionality for me personally That I didn't have with my ZSH setup now It's funny because I did a video yesterday on DWM and I was bitching and moaning about how You know yet in order to make it the DWM function, you know Functional you had to go through and add a whole bunch of patches and stuff like that. It was you know, I made a whole Analogy about you know taking the steering wheel out of a car doesn't make the car less blow It just makes it not work and that's the way I feel about DWM You have to add a whole bunch of things to actually make it functional Which shows I'm actually kind of similar fish has all the stuff that I had to go through and add in piece No, the ZSH to make it functional But I think because I've already done the work to make ZSH awesome fish doesn't have any appeal to me because it does everything my ZSH build it and If that was just where it stopped if that was where the the story ended I'd probably just stand fish and I still may just stand fish because I've gotten used to it But there are several things about fish that just aren't cool. So There are certain things that don't work like Say I say I had some you know command or whatever here in the terminal and I had forgotten to add sudo in Bash or ZSH I could go sudo bang bang and then it would you know It would add sudo to whatever The thing is this is just going to be run sudo and then to exclamation points, which is you know, you know, not really what you want uh-huh and You know it was sudo the last command that was there anyways Fish won't do that That's the thing that I use all the time because I'm always forgetting to put sudo begin especially when I'm editing something and you know like Like an environment variable or something like that You know if you get into the one of the bin files chances are you're gonna need sudo to edit it especially if it's you know and you know local or You know slash us are whatever your user files You know you get in there and you make your edits and you realize that you can't do it without privileges and sudo bang bang is something that would always use now I understand that you can add this via you know your fish file so This is my fish Config file and you can add things to it. I'm pretty sure I stole some of this stuff from My zsh file. This is just all my leases. They all work the same. Um, you can Unlike zsh you can declare the environment variables right here in the config file. That's cool But I don't my problem is I don't want to have to go through and do the work yen I think that's where I'm having the problem with fish is those little things that just won't work So the sudo bang bang there are some scripts that won't work in fish because fish is not posix compliant Now when I first thought about fish when I first heard of fish I was led to believe that no scripts would work and that's not the case some bash scripts will work It'll just depend on So if I do that go back up here in CD documents strips if I go into Just If I go into here if you if you used That this like if you call out a specific shell It might or might not work. So here I've called out actual bash. I think if I'd Well, I did that in this one too. I might have done that in all of them But if you've just used Slash sh instead of bash You know it might or might not work again. I'm not quite sure what things it does work. I've just noticed that sometimes My script won't work and that's not a great thing. Hey, you know So, I don't know It's like this one here is just the asset agent this this is just I mean, it's just a simple Script that I used in BS PWM in order to kill to kill a program That's literally all this so and The thing is if you're using ship it fishes your shell and you're one of your fish your Strips just don't work Without changing it over to whatever fish will use, you know, we'll actually read that's problem and Well, I haven't encountered it as much as I thought it was like I said when I first heard a fish It would you know, I thought that it wouldn't run any bash script at all But that's not the case. It will run some of them. It just is very picky and Syntax so like if your bash script has like an equal in it somewhere it won't run and I'm not sure why if or if you even if you run a command here and some in you know, and like it just the regular you know You know shell it won't if any has an equal signed or certain symbols. I'm pretty sure Like like Chevron's work Sometimes but equals doesn't work sometimes. I've noticed the dollar sign returns a signal or an error But not all the time. It's really weird So So some final thoughts I Will say all this is that if you choose to use fish, you'll be happy Because fish is good Fish is I think the best way to put it would be fish would be a great shell to start off on if you're a new user to Linux or a new user to the terminal at all and then whatever operating system you're in Fish should be great to start out on because you don't have any baggage or any prior work that you've put into your shell To hold you back or to make you feel like that. I was a waste of time for me I've put all this work into making ZSH work and I kind of want to use ZSH because I've done that work Even though For the most part now ZSH and fish for me would be almost exactly the same the only difference being that You know the bang bang thing would work right out of the box so I Think that's where I stand with fish is fishes. Just it's a good beginner's shell and it'd be good for everybody But if you've done work to make the shell you use now, you know the way you want it Um, there's no good reason to use fish for me I Really enjoyed Omize ZSH and I understand that a lot of people consider that blush bloat and I understand that there's a version of for fish But I Went through and I customized, you know with Omize ZSH and my shell looks the way I wanted to work It has all the things I wanted to do things work exactly the way I wanted to work and While that the same is in fish The same goes for fish. It's just I've done the work, you know, I mean it just makes it feel like if I switch to fish I've done all that stuff. I did in ZSH You know would have been a waste of time. Anyway, so that is My V my very brief very scattered thoughts on my three month three weeks with fish It's meh. I'm not attached to it And I probably ended up going back to ZSH I think I do want to play a little bit more around with customizing the prompt itself Because this is kind of it's not looking But that's probably the last thing I'll do the fish and then I'll go back to ZSH for I'm comfortable The ZSH is my security blanket. Anyways, if you like this video, give it a thumbs up If not, give it a thumbs down subscribe all that stuff I'm not sure When my next video for this channel be we're coming up on Thanksgiving. So the video schedule will be a little bit wonky, but anyways We'll see you next time. Thanks for watching