Stop using the CD Command

  Рет қаралды 41,493

Chris Titus Tech

Chris Titus Tech

Күн бұрын

Пікірлер
@notkudu
@notkudu 8 ай бұрын
why does your Linux look like windows and windows look like Linux 🤨
@aura.-X
@aura.-X 8 ай бұрын
Just don't feel comfortable!
@mopeybloke
@mopeybloke 8 ай бұрын
Linus is a Microsoft plant.
@pyp2205
@pyp2205 8 ай бұрын
But what does Macos look like? 🤔
@davidddo
@davidddo 8 ай бұрын
​@@pyp2205templeos
@nolight44
@nolight44 8 ай бұрын
​@@pyp2205Given its subpar customization potential, probably just the way it was designed to look.
@charliesretrocomputing
@charliesretrocomputing 8 ай бұрын
Stop using CD, use DVD!
@deultima
@deultima 8 ай бұрын
I like being a dinosaur. I'm actually starting to get used to saying "Back in my day" to all the kids. I've been using "cd" for so long I don't think I could retrain myself if I tried. I still enter Windows commands into Linux terminal all the time to this day, lol.
@Makumbi
@Makumbi 8 ай бұрын
I use ls everywhere and I am glad powershell has it because I can't unlearn it.
@bologna3048
@bologna3048 8 ай бұрын
you old farts still haven't figured out aliases yet?! 😆
@CyborusYT
@CyborusYT 8 ай бұрын
I am the youth and I still had a hard time un-learning cd, but it is really worth it
@SuperGamingMoo
@SuperGamingMoo 8 ай бұрын
Center directory. Compact disc. C Deez nutz. I am old loo
@MansakeLabsOfficial
@MansakeLabsOfficial 8 ай бұрын
What about putting alias cd="z " into your ~/.bashrc?
@0xshaheen
@0xshaheen 8 ай бұрын
alias z and zi to cd and cdi to not mess up your muscle memory, they have the instructions somewhere in the docs.
@daniel156161
@daniel156161 8 ай бұрын
just neat to add --cmd cd to the zoxide init command
@asdion
@asdion 8 ай бұрын
Jokes on you i aliased z to cd
@norcobick
@norcobick 8 ай бұрын
cd'z nuts
@Eren_Yeager_is_the_GOAT
@Eren_Yeager_is_the_GOAT 8 ай бұрын
fine, i'll use chdir from now on
@KindStarWonder
@KindStarWonder 8 ай бұрын
fine, aliasing change-to-directory to chdir
@davidomar742
@davidomar742 8 ай бұрын
if it ain't broke, don't change it. Damn kids and their new tech
@KindStarWonder
@KindStarWonder 8 ай бұрын
HAHA!
@WaynoGur
@WaynoGur 8 ай бұрын
A solution in search of a problem.
@8bitchiptune420
@8bitchiptune420 8 ай бұрын
z instead of cd would save you half of your lifetime typing cd.
@pauldwalker
@pauldwalker 8 ай бұрын
i like the exercise.
@50ShadesOfBeige
@50ShadesOfBeige 8 ай бұрын
Is there a fork available for non-US users to use ‘zed’?
@davidg5898
@davidg5898 8 ай бұрын
I used to use utilities and tweaks like this all the time. But these days I stick to the stock experience. Why? Because it guarantees that I can go on any system without having to think about what is/isn't installed. And it saves me time installing them whenever I rebuild my systems.
@QrchackOfficial
@QrchackOfficial 8 ай бұрын
This is very much a linux desktop poweruser, arch btw, kinda perspective. As a sysadmin, this isn't even close to being viable. Ctrl+R in bash works just as fast - and does so inside pods in Kubernetes, production systems running on Debian 6 - all kinds of things. You'd have to install z on about a dozen servers daily, and on a good chunk of them you'd have to compile it yourself (if it even manages to compile). Unix userspace is great when you took the time to master the fundamentals - what I'm seeing here and with a lot of these tools, is tools made by new people who skipped the fundamentals and reinvented the wheel in a slightly different UX that's wildly incompatible with others, is not packaged/maintained, or requires some effort to set up that you just can't afford when working with Linux 9-5. So - no, this is not replacing cd anytime soon. For your customized desktop - sure. For one of the hundreds of throwaway docker container images, k8s pods, clients servers, embedded systems - not so much, bash and cd does the job just as well.
@bologna3048
@bologna3048 8 ай бұрын
It's pretty obvious that you install software like this on your personal rig not production servers...
@katrinabryce
@katrinabryce 8 ай бұрын
@@bologna3048 I prefer my personal rig to match my production servers except where it doesn't make sense to. There is no reason to have a different change-directory command in both, so I use the os native one everywhere. I will put newer versions of stuff on my personal rig first to test it out before rolling it out to production.
@FireStormOOO_
@FireStormOOO_ 8 ай бұрын
While the "learn the basics" stuff needs to be said more (and rank higher in search results)... Do you not have tooling for pushing software to all your machines under management? Or just thinking you'd need too many different builds and deployment strategies?
@Vizrd58
@Vizrd58 8 ай бұрын
Came here to say the same. I like to keep my personal machine basic tools to be vanilla as possible. I don't want to shift my muscle memory while working with servers and personal machine. I think this video is more inclined towards tech enthusiasts
@alionicle
@alionicle 8 ай бұрын
I agree that production servers shall mantain a standard in order to manage all them the same way, but all these tools that are "reinventing the wheel" (in rust lol) gives the user a better way to interact with the machine on it's daily tasks As always with technology, gotta use the right tool for the job, and on my Home PC this utility might be worth trying
@reinaweis
@reinaweis 8 ай бұрын
I don't think I could remove cd from my brain if I wanted to. But I have used bindings and linked commands for years for similar commands.
@catsupchutney
@catsupchutney 8 ай бұрын
I'm not installing anything I don't absolutely need on a production server.
@Jessycakeboy
@Jessycakeboy 8 ай бұрын
Then why even comment if you wont install it
@laupoke
@laupoke 8 ай бұрын
He wasn't specifically talking to you my guy
@tobyzieglerrr
@tobyzieglerrr 8 ай бұрын
ok
@bologna3048
@bologna3048 8 ай бұрын
No shit... install this on your personal machine...
@mgord9518
@mgord9518 8 ай бұрын
Pretty sure this video is intended for personal computers
@pauldwalker
@pauldwalker 8 ай бұрын
i’m a dinosaur. how dare you suggest a better tool. these kids and their zoxide tools will fold like cheap suits the moment they try to manage an older system.
@sekki2554
@sekki2554 8 ай бұрын
I have a Qwertz Keyboard and i will not in a million years break my left hand just to type the letter z 24/7
@luimu
@luimu 8 ай бұрын
alias it to cd
@MrSaywutnow
@MrSaywutnow Ай бұрын
@@luimu Pure genius.
@etherweb6796
@etherweb6796 8 ай бұрын
So zsh with autocd turned on or fish shell exist - not sure I need a new cli tool
@peterjansen4826
@peterjansen4826 8 ай бұрын
zoxide, I have been using it for a while now. Less typing with paths 3 layers deep, so why not?
@ritzmat
@ritzmat 8 ай бұрын
NEVER
@MrDowntemp0
@MrDowntemp0 8 ай бұрын
I've been using zoxide for a while, but I've used env variables to change the commands to cd and cdi because my dinosaur brain thinks z is weird and I've been using cd since dos
@no_name4796
@no_name4796 8 ай бұрын
I had to make a function to fix some problems i have with z and then aliased that function to cd. Now for me it works just perfectly
@qweriop
@qweriop 8 ай бұрын
you can do exactly that by using: eval "$(zoxide init --cmd cd zsh)" in your zshrc this automatically replaces cd with zoxide and creates the cdi command
@RavenMobile
@RavenMobile 8 ай бұрын
Just use: alias cd='z'
@khaoscero
@khaoscero 8 ай бұрын
nah... its better to be explicit. if you type "z some folder" and you have ambiguity and then you ASSUME you are on one folder but youre in another... bad things could happen if I want convenience I just use GUI, for searching just find and grep etc, tab to auto complete, seems fine
@RavenMobile
@RavenMobile 8 ай бұрын
I created my own cd function in Bash which switches to the directory and then clears the screen and does my formatted ls. Saves a tonne of time. And I also added a bunch of custom functions for switching to various directories and doing ls: - goes to previous directory, . is equivalent to ls (think of it as "switch to current directory and list files"), .. goes to the parent dir, ... goes to the parent of the parent dir, and so on. Edit: Two notes: 1.) My custom cd doesn't clear the screen or do the ls if there was any error switching to the directory, and 2.) I have always used "source" instead of "." when including a file in Bash, so I don't mind replacing the "." command.
@alexstone691
@alexstone691 8 ай бұрын
I added ls to chpwd, but i might add clear also as that sounds like good too I also added . to be ls if no args and .. to cd .. so i could do . .. . .. hehe
@peternimmo74
@peternimmo74 Ай бұрын
Installed this, this week, it doesn't seem to like directories with spaces in them on Windows
@pknaus3
@pknaus3 8 ай бұрын
I'm using zoxide few months already and it's awesome, also suggested to few my friends (we are kind of geeks with terminal), one tool I would suggest is 'eza' replacement for basic 'ls', it will make the basic ls command more colourful.
@glensumner3425
@glensumner3425 5 ай бұрын
installed with nala on mint ok but not functioning yet for some reason..
@liveunderflow5511
@liveunderflow5511 8 ай бұрын
you forgot to add article link in description
@buntun3670
@buntun3670 6 ай бұрын
this makes me no longer need file explorers....even terminal file browsers become obsolete with this
@H4KnSL4K
@H4KnSL4K 8 ай бұрын
Or skip extra databases and complications and use the built in 'cd' that comes bundled and is simple
@hexisXz
@hexisXz 8 ай бұрын
When will there be an OpenBSD video?
@erics8362
@erics8362 8 ай бұрын
how did you configure dark theme in dolphin, Chris?
@MikeBramm
@MikeBramm 8 ай бұрын
No thanks, I'm a dinosaur. The standard commands are so burned into my brain that muscle memory automatically takes me wherever I want to be. Plus, I work on so many systems that I don't want to have to install new stuff all the time, or try to rely on something that's not already installed.
@qweriop
@qweriop 8 ай бұрын
to not screw up your muscle memory you can use the following in your zshrc: eval "$(zoxide init --cmd cd zsh)" this will overwrite cd to be zoxide also, cdi replaces zi. i've been running this for the last month or so it's great!
@NopeNopeNope9124
@NopeNopeNope9124 8 ай бұрын
Honestly at this point I dont even use any of the core utility commands for my OS'es and install faster alternatives like these, though I do like to "command hop" like distro hopping for each one of them, actually i might have 5 cd alternatives installed on my system at any given time, i end up getting a package update every 3 seconds on rolling release but its worth it imo Hopefully in the future i can just have a piece of software mathematically proven to be the most optimized possible for the specific silicon of my CPU even the binning and stuff for that extra boost, but I guess we're still stuck in the stone ages. I actually have 5 server racks cracking away on all the permutations for changing directories in terminal to get even better than z, so far nothing though after 15 years Ive actually e-mailed intel and AMD begging them to add an accelerated changing directory chiplet on their packages but no luck. I bet you could easily get better than Z with that but until the tech is there in hardware I guess we're stick with these clunky software solutions How fast do you guys think we can make changing directories if we achieve artificial superintelligence? Probably at least twice as fast as Z right? Might as well wait for that to happen
@linuxstreamer8910
@linuxstreamer8910 8 ай бұрын
so it is the fish shell with it's memory added to cd
@RenatoStuparic
@RenatoStuparic 8 ай бұрын
Hey Chris, could you share your thoughts about new tiny11?
@GuzikPL4
@GuzikPL4 8 ай бұрын
I tried z and it was way too unreliable. Instead of failing to cd into directory that doesn't exist, z would take me into completely different folder than i wanted. I uninstalled it but i encourage you to try it for yourself
@emilnordgard5228
@emilnordgard5228 8 ай бұрын
My humble opinion is that you should use starship. Firstly its actually usefull and not a waster of horizontal space. And not a waster vertical if you configure it. But the bedt part is the git integration.
@edricusty2682
@edricusty2682 8 ай бұрын
I don't want to do mental gymnastic to remember which folder I went that have the same name of another folder and use zi instead of z in that case I just use... autocomplete
@MrSaywutnow
@MrSaywutnow Ай бұрын
I was using MS-DOS as a child. I was born in cd, moulded by cd. I didn't see the z until I was already a man, by then it was nothing to me but confusing!
@YannMetalhead
@YannMetalhead 8 ай бұрын
Good video! I got similar functionality with aliases and scripts; I have created aliases for my most used things (not just folders), so I can do pretty much anything typing a word or even a letter.
@fahimanayet
@fahimanayet 8 ай бұрын
Yeah, using this couple of years now. It's awesome.
@tehvvisard
@tehvvisard 8 ай бұрын
Love this tool! 2 major thing missed: You can alias the z command using init, ex: `z init --cmd cd` You can nest searches `z git web` would fuzzy search for first git and then web. Highest ranked match wins
@ugoboom
@ugoboom 8 ай бұрын
Can you show this integrating with KDE dolphin's terminal? would we have to alias cd to z in our shell? could be quite the power combo
@zerodev_exe
@zerodev_exe 8 ай бұрын
Isn't Thorium really bad?
@LossyLossnitzer
@LossyLossnitzer 8 ай бұрын
I will continue to be a dinosour, I would still be using ex for vi if I could as I am happy with regular expressions and sed.
@trinhmecha
@trinhmecha 8 ай бұрын
idk if its worth changing to since i have been familiar with cd and it serves me fine there isnt an issue to switch for me but this is definitely cool project, people who bash on this one with the old conservative reason like "if it aint broke doesnt fix it" are definitely wrong, linux/unix wouldnt be like today if we didnt do anything, alot of updates didnt come because something is broken
@AbhinavKulshreshtha
@AbhinavKulshreshtha 8 ай бұрын
I have been using zi and z in powershell a lot on my office laptop. I haven't needed it on my home pc which is using linux and have a nice collection of jump scripts.
@ottomaier7127
@ottomaier7127 8 ай бұрын
Yep, I'm a dinosaur. And I'll keep using cd, because I don't like this confusion with z, having everytime paying attention where I am and accidently being transported to. Could be a tool from Microsoft, causing only more confusion.
@normalizedaudio2481
@normalizedaudio2481 8 ай бұрын
All you got to do is alias in your config file. Great program to put a Trojan in.
@polinskitom2277
@polinskitom2277 8 ай бұрын
no thanks, I like my software to be crash-free while also keeping my data safe
@CMDRSweeper
@CMDRSweeper 8 ай бұрын
Nah I will stick with cd, because zoxide is nice, but the flaw is, you have to have gone to that directory first. Usually when I am CLI'ing and going in there, it is often the first time such as a game under Linux that I need to tweak permissions, change something... Or the biggest sin of them all, mess around with .bat files for mods where you have to work the Wine Command Line, and there you do not have anything other than plain old cd. Then I sometimes do retro computing, and there is no zoxide for DOS naturally.
@javabeanz8549
@javabeanz8549 8 ай бұрын
Thanks Chris, but I'll stick with cd. I work with many systems, many are not mine, so becoming dependent on an add-in is a bad idea. Sure, I have super user access, but I don't like adding things to systems that are not mine. Besides that, anything added to a server is just another potential point of access.
@MansakeLabsOfficial
@MansakeLabsOfficial 8 ай бұрын
If you have Pacman set up on your Steam Deck, Zoxide is in the repos!
@punisherpunisher-pg3qs
@punisherpunisher-pg3qs 7 ай бұрын
why z? cd means change directory. it makes more sense. there is no point saving typing 1 letter to make things incomprehsible
@deechvogt1589
@deechvogt1589 8 ай бұрын
That's what I'm talking about!! Showing me something I didn't know i needed, and I now, I expect, I won't be able to live with out. Much better. Thanks for being open to criticism!
@valentin-catalin1859
@valentin-catalin1859 8 ай бұрын
I am going to stay a dinosaur. My cd is a function in my .bashrc that also _ls -A_ Also I have _cdspell_ shopt on. And a couple of more functions like _.. 3_ gets me up 3 directories. Plus the native _cd -_ to jump back and forth between directories is good enough for me.
@johnggudmundson
@johnggudmundson 8 ай бұрын
I've always just used short aliases to cd to the 5-10 well known directories. Like "t" to get me to my local tmp dir.
@ArtificialDjDAGX
@ArtificialDjDAGX 8 ай бұрын
At the beginning of the video, you sound like the guy reading "The missile knows where it is at all times..." XD
@MrPelzi91
@MrPelzi91 6 ай бұрын
yes i wanna do things slow and will use CD, learning these new commands which aren't worth it to learn for the benefits are pointless to me.
@ollikuu
@ollikuu 8 ай бұрын
"You can install it on Windows, Linux and Mac. We'll install it on both." 😎
@alerigali
@alerigali 8 ай бұрын
Looks nice, but I might use it the day it can index my hard drives instead of having to add each folder to the list manually
@JoshuaCasey
@JoshuaCasey 8 ай бұрын
hard drives? we use ssds now old man
@alerigali
@alerigali 8 ай бұрын
@@JoshuaCaseyStorage if you will. I use both solid and mechanic drives at this point. I don't need expensive storage for everything and also, solid storage only offer a few TBs of capacity
@mysteryk2283
@mysteryk2283 8 ай бұрын
yea... no. this is only for those who jumps between every OS and don't work on production environments... a minority within a minority.
@teamvigod
@teamvigod 8 ай бұрын
Just alias z to CD so you don't have to worry about the CD brain muscle memory
@AkkhilHub
@AkkhilHub 8 ай бұрын
Also make a video on project idx
@respectmathias
@respectmathias 8 ай бұрын
But I use an alias 💔
@KyanoAng3l0_Mtvtks
@KyanoAng3l0_Mtvtks 8 ай бұрын
Thanks for the recommend! As a dinosaur, tho, I'd prolly alias Z to CD, heh.
@ashotvantsyan9028
@ashotvantsyan9028 8 ай бұрын
I am also using pushd and popd 😅
@S7EVE_P
@S7EVE_P 8 ай бұрын
That thumbnail 😆🤣😆🤣so many meanings😂
@JessicaFEREM
@JessicaFEREM 8 ай бұрын
z is half the characterd of cd so I guess it's 50% faster to type
@Bazinga-f6r
@Bazinga-f6r Ай бұрын
Haha best selling pitch !! I am sold :D
@sokoloft3
@sokoloft3 8 ай бұрын
Ah April fools must've came late for you Chris
@zhaadd
@zhaadd 2 ай бұрын
cd is just engraved in my brain.. can barely get myself to type z
@segment932
@segment932 8 ай бұрын
Thanks! My ArchLinux installation already had z installed but I did not know about it! Thanks!
@jamotto1569
@jamotto1569 8 ай бұрын
Pretty cool, not a lot of use cases for me though.
@chromerims
@chromerims 8 ай бұрын
Great vid 👍 thanks. alias z/zi to cd/cdi to cover 'involuntary' muscle memory.
@fordonmekochgalenskaper5665
@fordonmekochgalenskaper5665 8 ай бұрын
I think Titus need to find more video ideas, this was totally wasted time
@bologna3048
@bologna3048 8 ай бұрын
LOL @ all the tryhard Sysadmins that don't know what a personal computer is. If you install this on a production server then you're an idjit, if you don't then you're just doing the bare minimum and nobody is impressed.
@mischavandenburg
@mischavandenburg 8 ай бұрын
Dinosaur reporting in!
@vanyasmirn
@vanyasmirn 8 ай бұрын
Don't tell me what to do, you're not my boss 😡
@FlippingNinjaFtw
@FlippingNinjaFtw 8 ай бұрын
Just use Fish or Zsh.
@Yarkanlaki
@Yarkanlaki 8 ай бұрын
5:06 😂😂😂 he used cd again
@KindStarWonder
@KindStarWonder 8 ай бұрын
Why not just have an alias.... damn, already said a few times. (when you think of something and then find it in the comments)... ah well
@wadecurry938
@wadecurry938 7 ай бұрын
Oh, for crying out loud! Who wants to be like the hipsters???
@katrinabryce
@katrinabryce 8 ай бұрын
It is Set-Location on Windows now rather than cd 🤪
@julyort6762
@julyort6762 8 ай бұрын
next video Nushell, linux is Rustifying
@sprinklednights
@sprinklednights 8 ай бұрын
I'm a simple man. I see cd, I use cd.
@HogGreen
@HogGreen 8 ай бұрын
When a cat has nothing to do, he licks his balls. When Chris Titus Tech there’s nothing to do - he’s making another video about really useless garbage.
@moetocafe
@moetocafe 8 ай бұрын
Awesome tutorial on an awesome utility, cool 👍 I'm an old school guy and for those super long dirs I just have aliases, but this is very powerful and I assume much to the liking of the young.
@joseoncrack
@joseoncrack 8 ай бұрын
Hopefully zoxide has a nice backdoor.😁
@vadnegru
@vadnegru 8 ай бұрын
Not a fan of any Z or V
@Liminal_Simulacre
@Liminal_Simulacre 8 ай бұрын
I'm Denver the CDiplodocus 🦕
@quenz.goosington
@quenz.goosington 8 ай бұрын
I'm liking the video just because the thumbnail made me smile 😆
@thomasaquinas9550
@thomasaquinas9550 8 ай бұрын
But I am an old man.
@sysadmin-info
@sysadmin-info 8 ай бұрын
Thanks. I am indeed a dinosaur. :) Anyway thanks for this. I did not know about this.
@JacekS406
@JacekS406 8 ай бұрын
I stopped using it 30 years ago. Thank you very much.
@cyberbeast93yt
@cyberbeast93yt 8 ай бұрын
This thumbnail
@OptimusGlitch
@OptimusGlitch 5 ай бұрын
works well, thanks for the info.
@vicsar
@vicsar 8 ай бұрын
STOP using "cd"... minutes later uses "cd" to switch. 😅
@ChrisTitusTech
@ChrisTitusTech 8 ай бұрын
old habits die hard lol
@vicsar
@vicsar 8 ай бұрын
@@ChrisTitusTech I know. - Thanks for all your work; it has been very valuable throughout the years.
@randyriegel8553
@randyriegel8553 8 ай бұрын
This is just teaching people not to learn the real system commands which are important. If you need "helper" tools for the command line (Linux, Windows, and Mac) you are not that good... you need to learn it right!
The Biggest Linux Security Mistakes
9:44
Chris Titus Tech
Рет қаралды 185 М.
I Was DEFINITELY Using The Wrong Terminal Shell
9:59
DevOps Toolbox
Рет қаралды 68 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
One Utility for Everything
11:02
Chris Titus Tech
Рет қаралды 146 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 303 М.
Windows 11 24H2 is WORSE THAN Windows 8 | RANT:30
27:34
Tek Syndicate
Рет қаралды 196 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
This may be my favorite CLI tool ever
8:15
typecraft
Рет қаралды 97 М.
I was WRONG! This is the BEST Package Manager.
10:25
Chris Titus Tech
Рет қаралды 146 М.
The Honey Scam: Explained
10:53
Marques Brownlee
Рет қаралды 3,8 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 714 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 415 М.
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 546 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН