Setup Autocomplete in your Mac Terminal - zsh-autocomplete

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 36

  • @darthkielbasa
    @darthkielbasa Рік тому +2

    I never knew I needed a few things you’ve covered on the channel:
    Update macOS from terminal
    Terminal autosuggestions
    Terminal autocomplete
    Excellent work sir. Thank you.

    • @EasyOSX
      @EasyOSX  Рік тому

      Thank you! I've really enjoyed doing more Terminal stuff lately, and I'm glad it's helping you out.

  • @bikebro7747
    @bikebro7747 3 місяці тому

    Thanks for all of the videos on setting up a terminal. New to Mac and trying to familiarize myself and set everything up!
    If I could make a suggestion, I would love to see a video on Mac shortcuts that you use daily both in the terminal and outside of it!
    Thanks a million brother

    • @EasyOSX
      @EasyOSX  3 місяці тому

      I like that video idea. I do have an older article on my website about common keyboard shortcuts. There's not a dedicated Terminal section, so I'd need to add that. But I think doing something like that for Mac OS, particularly ones I find useful and aren't as common, is a great idea. Once I get off hiatus (personal life is a whirlwind right now) and can make videos again, that's one I'll look at. Thanks for the suggestion!
      In case you want the article: easyosx.net/2011/09/05/list-of-common-mac-keyboard-shortcuts/

  • @Caleb-oy9ly
    @Caleb-oy9ly 3 місяці тому

    Hey thank you so much, I am switching from Windows to MacOS and this helped a ton!

    • @EasyOSX
      @EasyOSX  3 місяці тому

      Happy to help! And welcome to the Mac side!

  • @RiverWilliamson
    @RiverWilliamson Рік тому

    Much needed. I feel a weight lifted from my shoulders

  • @jaythecurious_
    @jaythecurious_ Рік тому +1

    Thank you! Super helpful and straight to the point! c:

  • @leslie7922
    @leslie7922 Рік тому

    very helpful this video + setup autosuggestions

  • @Nicolas-vj5zc
    @Nicolas-vj5zc Місяць тому

    thanks!!!

  • @Andaluz_TV
    @Andaluz_TV 6 місяців тому

    Great video. You can also run $ source ~/.zshrc instead of restarting terminal

    • @EasyOSX
      @EasyOSX  6 місяців тому

      Great tip!

  • @siriusbusiness2351
    @siriusbusiness2351 10 місяців тому +1

    I love you!

    • @EasyOSX
      @EasyOSX  10 місяців тому

      Happy to help!

  • @bineshpoudel
    @bineshpoudel 7 місяців тому

    Thankyou brother Cheeers......!!!"

  • @arm8636
    @arm8636 7 місяців тому

    you can have both autocomplete and suggestions installed yeap? or they can't cohabit concomitantly

    • @EasyOSX
      @EasyOSX  7 місяців тому

      They can run together, though since publishing this I found I ended up settling on just one. That's just personal choice though

    • @chris_tteg
      @chris_tteg Місяць тому

      @@EasyOSX do u prefer autocomplete or autosuggestion

  • @faridlannabi
    @faridlannabi 3 місяці тому

    guys i am on iterm2, can show external command, and folders, nut no internal commands, any idea ?

    • @EasyOSX
      @EasyOSX  3 місяці тому

      Have you looked at your .zshrc file for iTerm. Do the same commands work with the built-in Terminal?

    • @faridlannabi
      @faridlannabi 3 місяці тому

      ​@@EasyOSX sorry, I meant external commands.
      for internal commands, I can see the list of command options.
      but for external commands, it doesn't change the behavior of my shell, I see directory or file suggestions.
      yes, i've analyzed my zshrc and i've tested with the shell provided by apple in macos, same result.
      if you have any ideas, I'd love to hear them!

    • @EasyOSX
      @EasyOSX  3 місяці тому

      Ok, so like you're not seeing suggestions for things like brew commands, but you are for things like softwareupdate, diskutil, etc.?

  • @arm8636
    @arm8636 7 місяців тому

    for some reason it doesnt work for me ?
    says "no matching `directory', `file', `ancestor directory', or `corrections' completions"
    did i perhaps install it in the wrong directory? also how can i uninstall it pls haha

    • @EasyOSX
      @EasyOSX  7 місяців тому

      Uninstalling would be "brew uninstall zsh-autocomplete". Did you add it to your zshrc file?

    • @arm8636
      @arm8636 7 місяців тому

      @@EasyOSX I did add it to the file. I added the line . I don't understand why it won't work

    • @EasyOSX
      @EasyOSX  7 місяців тому

      Hmm, have you tried uninstalling, rebooting, and then running the install process again

  • @forexitydotorg
    @forexitydotorg 8 місяців тому

    How do you navigate the auto suggestions?

    • @EasyOSX
      @EasyOSX  8 місяців тому

      Honestly there's a lot more than I could go into on this video for how to use it. Usually the arrow keys and either Enter or the Right arrow key is enough for daily function. With that said, you might want to read through the documentation on their GitHub where the dev has it all nicely laid out. I've pasted the link below to it.
      github.com/marlonrichert/zsh-autocomplete

    • @forexitydotorg
      @forexitydotorg 8 місяців тому

      @@EasyOSX I’m sure the down arrow was working. Now is not.

  • @arvi8843
    @arvi8843 6 місяців тому

    I'm confused? How is this different than fzf?

    • @EasyOSX
      @EasyOSX  6 місяців тому

      Just another alternative utility I guess. Honestly hadn’t heard of fzf until now so maybe I’ll check it out.

  • @howed
    @howed 9 місяців тому

    Done

  • @tanchwa3740
    @tanchwa3740 Рік тому

    Why is this so bad in comparison to Linux? Apt auto installs all auto completes that are already bundled with whatever program you're using, 3rd party or not... I wish there was something as good as that for Mac

    • @EasyOSX
      @EasyOSX  Рік тому

      Hey Tanchwa, 2 questions if I may ask. First, what part of this do you consider bad exactly? Not asking accusatory, just wanting to make sure I’m understanding what you’re saying. Are you saying it’s bad at autocomplete or something else?
      The second question is what autocomplete in APT are you referring to. Admittedly I’m a pretty casual Linux user, but I have used primarily Debian based distros like Debian, Linux Mint, and Ubuntu over many years and have had any of them that come with an autocomplete function in their stock Terminal apps.

    • @tanchwa3740
      @tanchwa3740 Рік тому

      @@EasyOSX
      Bad being, you hit tab and the suggestions don't come up, or suggest completely incorrect like a folder or something.
      most of the applications in linux have a secondary library for auto complete that they put somewhere for their sub commands. Terraform, for example, has always given me issues on my mac but not on my linux box. For a while, git didn't even work. I had to go in and manually install it in that folder. it's somewhere in /etc/ config land I can't remember exactly what it was

    • @EasyOSX
      @EasyOSX  Рік тому

      @tanchwa3740 Thanks for clarifying, I appreciate you taking the time to do that. Again I haven’t had the same luck with a stock Terminal setup in Linux doing this, but perhaps I’m not doing the same things that you are, or I’m just showing my lack of experience there. Perhaps you could point me to a guide where I could see how to set that up and compare it for myself. I certainly wouldn’t be afraid to put money to say that the Linux Terminal set is probably the most well rounded and powerful of any of the desktop OS’.