Commit Graph

14 Commits (master)

Author SHA1 Message Date
Junegunn Choi e74b1251c0
Embed shell integration scripts in fzf binary (`--bash` / `--zsh` / `--fish`) (#3675)
This simplifies the distribution, and the users are less likely to have
problems caused by using incompatible scripts and binaries.

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --bash)"

    # Set up fzf key bindings and fuzzy completion
    eval "$(fzf --zsh)"

    # Set up fzf key bindings
    fzf --fish | source
2 months ago
Junegunn Choi 51fdaad002
[uninstall] Remove readlink to support relative symlinks of dotfiles
Close #2853
2 years ago
a1346054 cca4cdc4f1 improve test logic and be explicit about the test 3 years ago
Mark 2ff19084ca [install] Support for XDG Base Directory Specification (#1282)
Add --xdg option which makes the installer generate files under $XDG_CONFIG_HOME/fzf.
6 years ago
Junegunn Choi 3935aa84d8 Refactor shell extensions
- Use symlinks instead of generating the full content
- Update fish_user_paths and remove ~/.config/fish/functions/fzf.fish
- Create wrapper script for fzf when Ruby version and use it instead of
  exported function not to break fzf-tmux
9 years ago
Arseniy Seroka 0296fcb5cd bash -> env bash 10 years ago
Junegunn Choi 4c923a2d19 [uninstall] Remove both patterns of source command (#97)
- `[ -f ~/.fzf.${shell} ] && source ~/.fzf.${shell}"`
- `source ~/.fzf.${shell}"`
10 years ago
Miles Whittaker 990fa00660 Check before sourcing, no longer need to remove 10 years ago
Miles Whittaker ce53b9b2a5 Ignore user-defined grep aliases 10 years ago
Junegunn Choi 1b9dadb3d3 Avoid unnecessary confirmation 10 years ago
Junegunn Choi c3827dea10 Add linewise user confirmation 10 years ago
Junegunn Choi f37be006c3 Update uninstall script 10 years ago
Andreas Böttger 459c332351 Some improvements 10 years ago
Andreas Böttger 153a87d84a uninstall script 10 years ago