Intro to fzf

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

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

  • @ascourter
    @ascourter  Год назад +6

    What have you done with fzf?

    • @NimlotSRV
      @NimlotSRV 11 месяцев назад +3

      Nothing, I swear! It wasn't me!!

    • @neymarsabin
      @neymarsabin 8 месяцев назад

      I run fzf from tmux to navigate to sessions, open new sessions per project if they don't exist. Wrote my own script on top of fzf and tmux to create new sessions in tmux using some keybindings I mapped to that script.

    • @ascourter
      @ascourter  8 месяцев назад +1

      @@neymarsabin very cool! Have you seen the tool sesh? Sounds similar github.com/joshmedeski/sesh

    • @neymarsabin
      @neymarsabin 8 месяцев назад

      @@ascourter looks promising, I need to try this. thanks.

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

      Dude how did you make your prompt like that? I use p10k but i haven’t found anything on how to make the arrow disappear and instead just have the colored text like you have here

  • @frustratedalien666
    @frustratedalien666 Год назад +10

    I am disappointed that your videos don't have more views. I've gone through a few and they are very well presented. I hope this changes soon. Cheers!

    • @ascourter
      @ascourter  Год назад +1

      Thank you! Appreciate those kind words

  • @JoshMedeski
    @JoshMedeski Год назад +1

    fzf is one of my favorite cli tools, great intro!

    • @ascourter
      @ascourter  Год назад +2

      Thanks Josh! I feel like I'm only scratching the surface. There are so many different ways to incorporate fzf into really cool command line tasks.

  • @whereistheline8964
    @whereistheline8964 Год назад

    I hope, your channel gets more views soon. I like your Style and your knowledge.

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

    Thanks, this got me started with fzf

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

      Glad it helped!

  • @typecraft_dev
    @typecraft_dev Год назад +1

    Awesome video! Love fzf

    • @ascourter
      @ascourter  Год назад

      Thanks! It's such a flexible and powerful tool. Trying to incorporate it into more of my workflow.

  • @rodelias9378
    @rodelias9378 Год назад

    Great video! Thanks a lot! Subscribing to this channel right now!

    • @ascourter
      @ascourter  Год назад

      You're awesome! Thank you!

  • @proteusblack8913
    @proteusblack8913 11 месяцев назад +2

    I tried doing most of these things with fzf just as this video shows and most of it doesn't look anything or behave anyway like yours does.

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

      What system are you running on? What shell are you using? Did you run the second command to setup the shell functions?

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

      @@ascourter What is the second command? I didn't see it in the video. The "standard" shortcuts don't work for me. Running Ubuntu 22. Regular fzf stuff is working just no shortcuts.

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

      @@teamvigod I was assuming they were installing using homebrew so needed to run the brew install command as well as this command:
      $(brew --prefix)/opt/fzf/install
      Try running `apt show fzf` if the key bindings aren't working for ya

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

      @@ascourter Ok got some of it working. I installed the package using apt and apparently the maintainers don't have the key bindings in the package for ubuntu at this time. Older version I guess. I uninstalled the package and reinstalled it using latest from GIT. Now everything works except "cd **" for some reason. Bash complains too many arguments. Have not had a chance to troubleshoot

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

      @@teamvigod Nice! I haven't seen a "too many arguments" error before. Hope you can get it sorted

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

    What is that shell? Looks so cool. What are those details in the prompt? Do you have a configuration video? Thanks!

    • @ascourter
      @ascourter  9 месяцев назад +1

      The shell is zsh and the prompt is starship. starship.rs/
      I don't have a setup video yet so I'll put that on my list. Thanks for watching!

    • @ascourter
      @ascourter  9 месяцев назад +1

      Don't forget to install a Nerd font to get those symbols. Check out this video from Elijah ruclips.net/video/mQdB_kHyZn8/видео.html

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

      @@ascourter Thanks a lot. Cheers.

  • @EbonySeraphim
    @EbonySeraphim 8 месяцев назад +1

    This is a great intro guide; however your final "cool" example isn't terribly impressive or useful. jq + less could have done all of the heavy lifting to get at the data you needed. I actually don't think you properly searched for all data after 11 o'clock as that would have required numerical logic comparison -- something possible in jq, and wouldn't occur in a fuzzy text finder unless it was told to operate numerically for some part of the text.

    • @ascourter
      @ascourter  8 месяцев назад +1

      Thanks for watching, I think you are right and it didn't accurately search for times correctly. I have built a couple other useful tools with fzf and leveraged the fuzzy finding that I may make videos about in the future. Hopefully this is at least helpful as an example for someone to use.