• alias_qr_rainmaker@lemmy.worldOP
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    1 day ago

    2018? i was 2017. that was the year i went to a coding bootcamp, so they had us all on macs. I know y’all despise mac users with a passion, but we learned how to use the bash terminal. I didn’t know cd was a bash exclusive thing until recently. Most of the time I use zsh, and I’d always type cd when actually you can just type the path of the directory and hit enter

    • trxxruraxvr@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 day ago

      cd is not bash exclusive, it’s the standard POSIX way to change directories. Zsh is the outlier here, being more use friendly than most shells.

      • alias_qr_rainmaker@lemmy.worldOP
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        1 day ago

        i got used to bash back in 2017 when i went to a bootcamp. but i’m a mac user so i mostly do zsh. you’re not gonna believe how long i went until i discovered that you can cd into a directory just by typing the directory

        it was a week ago

    • fartsparkles@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      I’d rather a Mac than a Windows box. At least you get a proper shell (zsh or bash - zsh is the default now I think), python installed by default, can install package managers (macports, brew), can get coreutils, etc and most FOSS software from the Linux world runs since macs are UNIX at heart.

      I’m pretty sure cd isn’t even coreutils but implemented by shells as a wrapper for chdir/fchdir which is part of the kernel. Which has always bugged me since you can’t reliably pipe or redirect to cd since shells do things differently; it doesn’t handle stdin or the last component of a command runs in a subshell so doesn’t affect your current shell, blah blah.

      • alias_qr_rainmaker@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        20 hours ago

        i fucking love wrappers, i wanna be the best wrapper alive. my schizo theory is that we’re in a simulation and the entire english language is just wrappers for insanely nested ruby function calls