dotfiles VS fzf

Compare dotfiles vs fzf and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
dotfiles fzf
3 407
28 59,739
- -
7.1 9.6
about 1 month ago 2 days ago
Shell Go
Do What The F*ck You Want To Public License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dotfiles

Posts with mentions or reviews of dotfiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-25.
  • The bash book to rule them all
    5 projects | news.ycombinator.com | 25 Nov 2023
    > An interactive shell can be a login-shell or a non-login-shell.

    A shell can be login and non-interactive.

    This happens e.g when starting a session from a X session manager. Subsequently a terminal such as Xterm starts non-login interactive sessions.

    Similarly doing ssh starts a non-interactive login shell.

    > However, bash behaves like an interactive non-login shell in this case and reads `bashrc`.

    IIRC nope: distros such as Debian often have bashrc source bash profile (or the other way around, I can't recall) which has me irate to no end+. They even have some TTY dependent stuff in profile which spits out some error in some cases when no TTY is allocated because heh not interactive.

    + I took great length to have my rc and profile properly separated because it's that much faster not to source the unneeded stuff. https://github.com/lloeki/dotfiles

  • A Dotfile History
    5 projects | news.ycombinator.com | 13 Apr 2022
    Got a similar repo: https://github.com/lloeki/dotfiles

    A couple of differences though.

    - there's a setup script to do the basic symlinks, automatically from the files in the "home" subdir by prepending the names with .

    - then for shell stuff everything is sourced from either shell, bash, or zsh subdirs, all in modular files

    - shell dir content is autoloaded based on +x

    - there are polyfills for bash that makes it more zsh-like (stuff like precmd)

    - each shell module tests for tool presence and is a noop or sets up a fallback when the tool is not available, so I can clone this on any system and have it still work, gracefully degrading down to zero deps except the shell itself

    - it also attempts to provide a uniform experience across bash versions and OSes (darwin, linux)

    - prompt is minimal (workdir, dirname only, not the full path), increases with detail progressively and in a hierarchical order (root if root, host if ssh, workdir, vcs branch if in repo, vcs status as symbols if nonempty, venv name if virtualenv, "nix" if in nix shell)

  • How to navigate directories faster with Bash (2015)
    23 projects | news.ycombinator.com | 22 Apr 2021

fzf

Posts with mentions or reviews of fzf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Ask HN: Any tool for managing large and variable command lines?
    8 projects | news.ycombinator.com | 25 Apr 2024
    In addition, I think bash's `operate-and-get-next` can be very helpful. When you go back through your shell history, you can hit Ctrl+o instead of enter and it will execute the command then put the next one in your history on the command line, and keep track of where you are in your history. This way, you can rerun a bunch of commands by going to the first one and Ctrl+o till you are done. And you can edit those commands and hit Ctrl+o and still go to the next previously run command.

    Note: fzf's history search feature breaks this. https://github.com/junegunn/fzf/issues/2399

  • pyfzf : Python Fuzzy Finder
    2 projects | dev.to | 10 Mar 2024
    fzf : https://github.com/junegunn/fzf
  • Command Line Fuzzy Search
    1 project | news.ycombinator.com | 15 Feb 2024
  • So You Think You Know Git – Git Tips and Tricks by Scott Chacon
    6 projects | news.ycombinator.com | 13 Feb 2024
    Those are the most used aliases in my gitconfig.

    "git fza" shows a list of modified/new files in an fzf window, and you can select each file with tab plus arrow keys. When you hit enter, those files are fed into "git add". Needs fzf: https://github.com/junegunn/fzf

    "git gone" removes local branches that don't exist on the remote.

    "git root" prints out the root of the repo. You can alias it to "cd $(git root)", and zip back to the repo root from a deep directory structure. This one is less useful now for me since I started using zoxide to jump around. https://github.com/ajeetdsouza/zoxide

  • Which command did you run 1731 days ago?
    9 projects | news.ycombinator.com | 21 Jan 2024
    > my history is so noisy I had to find another way

    The fzf search syntax can help, if you become familiar with it. It is also supported in atuin [2].

    [1]: https://github.com/junegunn/fzf#search-syntax

    [2]: https://docs.atuin.sh/configuration/config/#fuzzy-search-syn...

  • Z – Jump Around
    16 projects | news.ycombinator.com | 15 Jan 2024
    You call it with `n` and get an interactive fuzzy search for your directories. If you do `n ` instead, it’ll start the find with `` already filled in (and if there’s only one match, jump to it directly). The `ls` is optional but I find that I like having the contents visible as soon as I change a directory.

    I’m also including iCloud Drive but excluding the Library directory as that is too noisy. I have a separate `nl` function which searches just inside `~/Library` for when I need it, as well as other specialised `n` functions that search inside specific places that I need a lot.

    ¹ https://github.com/sharkdp/fd

    ² https://github.com/junegunn/fzf

  • alacritty-themes not working any more!!!
    6 projects | dev.to | 7 Jan 2024
    View on GitHub
  • Fish shell 3.7.0: last release branch before the full Rust rewrite
    9 projects | news.ycombinator.com | 1 Jan 2024
    I do find the history pager stuff interesting, but ultimately not of tremendous use for me. I rebound all my history search stuff to use fzf[1] (via a fish plugin for such[2]), and so haven't been aware of the issues

    [1] https://github.com/junegunn/fzf

    [2] https://github.com/PatrickF1/fzf.fish

  • Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
    27 projects | news.ycombinator.com | 30 Dec 2023
    You can also use fzf with ripgrep to great effect:

    [1]: https://github.com/junegunn/fzf/blob/master/ADVANCED.md#usin...

  • Tell HN: My Favorite Tools
    14 projects | news.ycombinator.com | 24 Dec 2023

What are some alternatives?

When comparing dotfiles and fzf you can also consider the following projects:

nnn - n³ The unorthodox terminal file manager

peco - Simplistic interactive filtering tool

goat - POSIX-compliant shell movement boosting hack for real ninjas (aka `cd x` and `cd ...`)

zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.

bashmarks - Directory bookmarks for the shell

z - z - jump around

ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

zsh-autosuggestions - Fish-like autosuggestions for zsh

zoxide - A smarter cd command. Supports all major shells.

mcfly - Fly through your shell history. Great Scott!

oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

ranger - A VIM-inspired filemanager for the console