Setup Autocomplete in your Mac Terminal - zsh-autocomplete

Поделиться
HTML-код
  • Опубликовано: 30 май 2023
  • Sometimes you just need a little help remembering what that command was or how it is written.
    - Brew Installation tutorial: • How to Install Homebre...
    -ZSH-AutoSuggestions: • Have Your Mac Terminal...
    Website: easyosx.net
    Twitter: easyosx
    Facebook: EasyOSX-192509994146472/
    Instagram: EasyOSX
    Blue Yeti Mic used: amzn.to/38UxiL8
    Mic Windscreen and Pop filter: amzn.to/3trczGA
    --If you click a link and purchase something through our articles, these may be affiliate links through which we earn a commission. Commission on products do not affect editorial ability or direction, and we try to add affiliate links to items we either do or would recommend and use ourselves. We do not take money or affiliate commissions from companies in exchange for reviewing their products.
    #mac #apple #homebrew #brew #terminal #autocomplete #zsh
  • НаукаНаука

Комментарии • 32

  • @jaythecurious_
    @jaythecurious_ 11 месяцев назад +1

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

  • @leslie7922
    @leslie7922 9 месяцев назад

    very helpful this video + setup autosuggestions

  • @RiverWilliamson
    @RiverWilliamson 11 месяцев назад

    Much needed. I feel a weight lifted from my shoulders

  • @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.

  • @Caleb-oy9ly
    @Caleb-oy9ly 14 дней назад

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

    • @EasyOSX
      @EasyOSX  14 дней назад

      Happy to help! And welcome to the Mac side!

  • @bineshpoudel
    @bineshpoudel 3 месяца назад

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

  • @siriusbusiness2351
    @siriusbusiness2351 7 месяцев назад +1

    I love you!

    • @EasyOSX
      @EasyOSX  7 месяцев назад

      Happy to help!

  • @howed
    @howed 6 месяцев назад

    Done

  • @Andaluz_TV
    @Andaluz_TV 2 месяца назад

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

    • @EasyOSX
      @EasyOSX  2 месяца назад

      Great tip!

  • @arm8636
    @arm8636 4 месяца назад

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

    • @EasyOSX
      @EasyOSX  4 месяца назад

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

  • @forex-ity
    @forex-ity 5 месяцев назад

    How do you navigate the auto suggestions?

    • @EasyOSX
      @EasyOSX  5 месяцев назад

      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

    • @forex-ity
      @forex-ity 5 месяцев назад

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

  • @faridlannabi
    @faridlannabi 7 дней назад

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

    • @EasyOSX
      @EasyOSX  6 дней назад

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

    • @faridlannabi
      @faridlannabi 6 дней назад

      ​@@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  4 дня назад

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

  • @arvi8843
    @arvi8843 3 месяца назад

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

    • @EasyOSX
      @EasyOSX  3 месяца назад

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

  • @arm8636
    @arm8636 4 месяца назад

    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  4 месяца назад

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

    • @arm8636
      @arm8636 4 месяца назад

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

    • @EasyOSX
      @EasyOSX  4 месяца назад

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

  • @tanchwa3740
    @tanchwa3740 9 месяцев назад

    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  9 месяцев назад

      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 9 месяцев назад

      @@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  9 месяцев назад

      @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’.