aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-18 22:41:19 -0300
committerEuAndreh <eu@euandre.org>2021-01-18 22:41:19 -0300
commit80f038bb786437369ae7d8034a0d20416a968654 (patch)
tree6945531afef8d1c5fc7aee4ae90f42f7cd365065
parentRemove FIXME markers (diff)
downloaddotfiles-80f038bb786437369ae7d8034a0d20416a968654.tar.gz
dotfiles-80f038bb786437369ae7d8034a0d20416a968654.tar.xz
bash/fzf.sh: Match history with command being run
-rw-r--r--bash/fzf.sh2
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