Commit Graph

273 Commits (master)

Author SHA1 Message Date
Junegunn Choi 02203c7739 Add command-line flags to install script
Close #392

  usage: ./install [OPTIONS]

      --help               Show this message
      --bin                Download fzf binary only
      --all                Download fzf binary and update configuration files
                           to enable key bindings and fuzzy completion
      --[no-]key-bindings  Enable/disable key bindings (CTRL-T, CTRL-R, ALT-C)
      --[no-]completion    Enable/disable fuzzy completion (bash & zsh)
      --[no-]update-rc     Whether or not to update shell configuration files
9 years ago
Junegunn Choi b3010a4624 0.10.8 9 years ago
Junegunn Choi 1da065e50e 0.10.7 9 years ago
Austin Ziegler ea271cd4e2 Remove dependency on zsh/pcre module
Fixes #363.
9 years ago
Junegunn Choi 98d2bfa0db [install] Terminate install script when failed to update shell config
Close #354
9 years ago
Junegunn Choi d980e00961 Revert "Revert "0.10.6""
This reverts commit 987799f8fb.
9 years ago
Junegunn Choi 987799f8fb Revert "0.10.6"
This reverts commit d2f3604c1d.
9 years ago
Junegunn Choi d2f3604c1d 0.10.6 9 years ago
Junegunn Choi de829c0938 0.10.5 9 years ago
Junegunn Choi 9a2d9ad947 0.10.4 9 years ago
Junegunn Choi 1de4cc3ba8 [install] Fall back statically-linked binary on 64-bit linux
Close #322
9 years ago
Junegunn Choi 1c31e07d34 [install] Improve error message 9 years ago
Junegunn Choi 8156e9894e 0.10.3 9 years ago
Junegunn Choi cacc212f12 [install] Prerelease of 0.10.3 9 years ago
Junegunn Choi a7b75c99a5 [install] Stop installer when failed to download the binary
Close #312
9 years ago
Junegunn Choi bae10a6582 [install] Add an extra new line character
so that it doesn't corrupt file that doesn't end with a new line
character. Close #311.
9 years ago
Junegunn Choi c4cf90a3d2 0.10.2 9 years ago
Junegunn Choi 7833fa7396 [install] Always download binary when --pre is set 9 years ago
Junegunn Choi 9278f3acd2 [install] Add --pre option for downloading prerelease binary 9 years ago
Junegunn Choi 909ea1a698 0.10.1 9 years ago
Junegunn Choi 7814371a9a Revert "0.10.1"
This reverts commit 6166e2dd80.
9 years ago
Junegunn Choi 6166e2dd80 0.10.1 9 years ago
Junegunn Choi a336494f5d 0.10.0 9 years ago
Junegunn Choi 52771a6226 0.9.13 9 years ago
Junegunn Choi 34946b72a5 0.9.12 9 years ago
Junegunn Choi 3b91467941 Suppress error message when loading completion.{zsh,bash}
Temporary workaround for https://github.com/Homebrew/homebrew/issues/39669
9 years ago
Junegunn Choi 2b8e445321 Fuzzy completion for zsh (#227) 9 years ago
Junegunn Choi a4cf5510e3 0.9.11 9 years ago
Junegunn Choi 1169cc8653 0.9.10 9 years ago
Junegunn Choi 2db2feea37 `install --bin` just for downloading the binary 9 years ago
Junegunn Choi d08542ce5d Prepare for 0.9.9 release 9 years ago
Junegunn Choi 5c25984ea0 Fix Unicode case handling (#186) 9 years ago
Justin M. Keyes d4daece76b install: wait for LF in non-interactive shell
"read -n 1 ..." ignores all but the first character of a line-delimited
stream (e.g. "yes n | ./install").
9 years ago
Junegunn Choi 50292adacb Implement --toggle-sort option (#173) 9 years ago
Junegunn Choi 2a167aa030 Implement --expect option to support simple key bindings (#163) 9 years ago
Junegunn Choi fdaa4e9b18 Append (not prepend) bin directory to PATH
Prepending can be problematic when the user install fzf using Homebrew,
execute the install script, and later upgrade fzf with Homebrew, and do
not rerun the install script. In that case, even though the homebrew
package is upgraded, the older version will still be used.
9 years ago
Junegunn Choi 91876e98cd Avoid duplicate paths in MANPATH 9 years ago
Junegunn Choi eb8fef0031 Add man path only when the directory exists
$fzf_base/man may not exist when installed with Homebrew.
9 years ago
Junegunn Choi 87447ddd6d Add man page (#157) 9 years ago
Junegunn Choi 6130026786 Bump up the version - 0.9.5 9 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
Junegunn Choi dd6138a655 Fix #142, #144 - Improve CTRL-R for zsh 9 years ago
Junegunn Choi 68c5bea3f8 Fix install script for platforms w/o matching Go binary (#141) 9 years ago
Junegunn Choi c1aa5c5f33 Add --tac option and reverse display order of --no-sort
DISCLAIMER: This is a backward incompatible change
9 years ago
Junegunn Choi 4a1752d3fc 0.9.3 9 years ago
Junegunn Choi ff09c275d4 Fix bash script when fzf_base contains spaces 9 years ago
Daniel Hahler 53d5d9d162 Improve `find` command for cd widgets: exclude proc/dev etc
When using the widget in "/", it would descend into 'dev/'.
Using '*' for the starting path would do so also with the new '-fstype'
excludes.

`cut -b3-` and `sed 1d` have been added to massage the different format
of the list.

This also uses `-L` with all calls to find, especially for the file
finders.

Ref: https://github.com/junegunn/fzf/pull/122
9 years ago
Junegunn Choi 9cb0cdb4ac 0.9.2 9 years ago
Junegunn Choi a3101120fd Update install script 9 years ago
Junegunn Choi 30f9651f99 0.9.1 9 years ago
Junegunn Choi 62acb9adc4 Fix error with empty list and release 0.9.1-dev 9 years ago
Junegunn Choi a3068a33d5 Update install/build script from Homebrew 9 years ago
Junegunn Choi b8c4b35415 `make archive` for homebrew release 9 years ago
Junegunn Choi 5c491d573a Fix fzf.{bash,zsh} when Go version is not supported 9 years ago
Junegunn Choi 23f27f3ce5 Improve install script 10 years ago
Junegunn Choi b277f5ae6f Fix i386 build 10 years ago
Junegunn Choi 3e6c950e12 Build i386 binary as well 10 years ago
Junegunn Choi 82156d34cc Update Makefile and install script
fzf may not run correctly on some OS even when the binary the platform
is successfully downloaded. The install script is updated to check if
the system has no problem running the executable and fall back to Ruby
version when necessary.
10 years ago
Junegunn Choi ea25e9674f Refactor install script 10 years ago
Junegunn Choi 8e5ecf6b38 Update Makefile and installer to use version number 10 years ago
Junegunn Choi 53bce0581e Update fish function 10 years ago
Junegunn Choi f9f9b671c5 Ask if fzf executable already exists 10 years ago
Junegunn Choi 0a6cb62169 Fall back to Ruby version when download failed 10 years ago
Junegunn Choi 9930a1d4d9 Update install script to download tarball 10 years ago
Junegunn Choi f3177305d5 Rewrite fzf in Go 10 years ago
brettanomyces ee433ef6e9 reverse history for fish shell 10 years ago
Arseniy Seroka 0296fcb5cd bash -> env bash 10 years ago
Junegunn Choi 4ee85f11e8 [install] Join line numbers when multiple matches found 10 years ago
Miles Whittaker 990fa00660 Check before sourcing, no longer need to remove 10 years ago
Miles Whittaker 77592825f0 Sometimes users prefer . instead of source
So only check for file name
10 years ago
Miles Whittaker ce53b9b2a5 Ignore user-defined grep aliases 10 years ago
Junegunn Choi 80efafcceb Fix ALT-C keybinding to include symlinked directories
Related #95.
10 years ago
Junegunn Choi d5e7303a25 Change --nth option for CTRL-R key binding (#90)
Remove `1` from --nth option. With the change you can no more use `$`
anchor to match the tail of a command index. But it makes search
around 15% faster.

    jg@jg:~> time cat history | fzf +s -n..,1,2.. -f fzf > /dev/nul
    real    0m2.929s
    user    0m2.766s
    sys     0m0.154s

    jg@jg:~> time cat history | fzf +s -n2..,.. -f fzf > /dev/null
    real    0m2.535s
    user    0m2.422s
    sys     0m0.112s
10 years ago
Junegunn Choi a54784cd53 Display 'gem install curses' when curses cannot be loaded 10 years ago
Sencer Selcuk 7261d3afcd allow installation with sudo privileges 10 years ago
Junegunn Choi daf08f801f [fish] Fix fish key binding issues (#60)
Although a major overhaul is ongoing (#67), it is not yet finished and
cannot be considered stable enough for the next release. This commit
fixes a few apparent issues with small change to the current
implementation.

- Fixed error when $TMPDIR is not defined
- Better escaping of file/directory names
- Splitted functions to workaround fish bug
10 years ago
Patrick Donelan 30cdc06bcd Add vi-command keymap mappings
fzf does not currently define vi-command mode mappings. This is particularly annoying for <C-r>, which opens bash's old-fashioned recursive history search.

This patch adds vi-command mode mappings that simply drop back into vi-insert mode ("i") and then trigger the primary mapping.
10 years ago
Sencer Selcuk 3827a1b09e Use `command find` rather than plain `find`
Aliases are expanded in shell scripts, and one may have an alias
for the `find` command that conflicts with fzf. So make sure fzf
is using real find command rather than the alias.
10 years ago
Junegunn Choi f8e357fa19 Extend --nth option to take ranges
As discussed in #55
10 years ago
Junegunn Choi ed13fc8618 Fix fzf-history-widget (#48) 10 years ago
Chad Skeeters edf27f47f2 removed tailing substitution causing all trailing space to be removed when extendedglob is set 10 years ago
Tom Cammann 1e02471940 Update install
Update sed regex to strip "*" from history lines when using tmux and fc
e.g. "637* ls -a"
10 years ago
Junegunn Choi 6a1b916598 OK 10 years ago
Junegunn Choi f37be006c3 Update uninstall script 10 years ago
Junegunn Choi f250fc8f86 Fix #41: [CTRL-T] long file paths causing wrapping artifacts 10 years ago
Junegunn Choi 6eea9603c2 Fix bug in install script 10 years ago
Junegunn Choi b3efccca81 [fish] Remove temporary file after use 10 years ago
Junegunn Choi 7d15071c63 Fish shell support - installer / key bindings (#33) 10 years ago
Junegunn Choi 89eb1575e7 Simpler check for curses 10 years ago
Junegunn Choi 608ec2b806 set -o nonomatch for zsh (#34)
Avoid error message in an empty directory
10 years ago
Junegunn Choi e5ae4f0ef6 Do not load interactive parts when not required (#34) 10 years ago
Junegunn Choi 67ba87d390 Avoid CTRL-T error when default shell != zsh (#34) 10 years ago
Junegunn Choi 77d45cb173 Avoid starting interactive bash (#34) 10 years ago
Junegunn Choi 546a315884 Fix #34: tmux integration on Linux 10 years ago
Junegunn Choi af616457e3 Use -p option of split-window instead of manual calculation 10 years ago
Junegunn Choi 48f9ee6763 Update install script 10 years ago
Junegunn Choi cf8dbf8047 Allow setting tmux split height in % 10 years ago
Junegunn Choi ae86cdf09a Make CTRL-T use tmux split when possible 10 years ago
Junegunn Choi 2c8a256b13 Update README and install
- Unset multi-select option with +m
10 years ago
Junegunn Choi f4c5aa03d7 Update README and install script
- Added examples: fbr and fco
- Always use local variables
10 years ago
Junegunn Choi 2296013174 Add ALT-C keybinding for bash 10 years ago
Junegunn Choi 8a3e8c2d81 Install curses gem in user's home directory 10 years ago
Junegunn Choi b22fd6de6d Fix #22. Keybindings for vi-mode bash. 10 years ago
Christian Wellenbrock f5d53b94fe Use `fc` instead of `history` to avoid omz alias 10 years ago
Junegunn Choi 00c8a68430 Unalias history on zsh (related #19) 10 years ago
Christian Wellenbrock 2c0dc2f3b1 Feed all zsh history into fzf (not only most recent) 10 years ago
Junegunn Choi 4396ab7548 Do not set key bindings in non-interactive shell 10 years ago
Junegunn Choi 2b8c2b9f2a CTRL-R for bash: Unset $HISTTIMEFORMAT 10 years ago
Junegunn Choi 426284c87e Change CTRL-T binding to include directories 10 years ago
Junegunn Choi 1155da7e1c Install curses 1.0.0 10 years ago
Junegunn Choi c3676bf986 Make install script prefer system ruby 10 years ago
Junegunn Choi 13cb198b5c Update README 10 years ago
Junegunn Choi d7f50b1e41 Fix typo in install script 11 years ago
Junegunn Choi bff7e9edf5 Should not `--disable-gems` when curses gem is used (#14) 11 years ago
Junegunn Choi 3b668ed448 Install curses gem when not found (#14) 11 years ago
Junegunn Choi 7ee6fd1f6d Make install script to add key bindings as well 11 years ago
Junegunn Choi b2bb22d883 A minor update to install script 11 years ago
Junegunn Choi 344b57fe33 grep -F 11 years ago
Junegunn Choi 18a2fbf54a Fix install script (use export-able function instead of alias) 11 years ago
Junegunn Choi 64541cb5f8 Fix install script (source ~/.xxxrc has no effect) 11 years ago
Junegunn Choi 179b00ed6c Reload .bashrc/.zshrc after installation 11 years ago
Junegunn Choi fa5617e076 Implement bash auto-completion with fzf 11 years ago
Junegunn Choi 03b204ec40 Initial commit 11 years ago