diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-18 22:41:19 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-18 22:41:19 -0300 |
| commit | 80f038bb786437369ae7d8034a0d20416a968654 (patch) | |
| tree | 6945531afef8d1c5fc7aee4ae90f42f7cd365065 /bash | |
| parent | Remove FIXME markers (diff) | |
| download | dotfiles-80f038bb786437369ae7d8034a0d20416a968654.tar.gz dotfiles-80f038bb786437369ae7d8034a0d20416a968654.tar.xz | |
bash/fzf.sh: Match history with command being run
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/fzf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/fzf.sh b/bash/fzf.sh index 7c593a24..c5a3c9f0 100644 --- a/bash/fzf.sh +++ b/bash/fzf.sh @@ -59,7 +59,7 @@ v() { f="$(echo "$V_FILES" | awk /./ | fzf-tmux --select-1 --exit-0 --query "$1")" if [ -n "$f" ]; then history -s v "$@" - history -s vi "$f" + history -s vi "~/$f" echo "$f" vi "$HOME/$f" fi |
