aboutsummaryrefslogtreecommitdiff
path: root/bash/util.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-09 08:24:32 -0300
committerEuAndreh <eu@euandre.org>2021-01-09 08:24:32 -0300
commita3d315dede236a4fb2891913b115c838c1e3b786 (patch)
tree4cb7da5a843e358657857f28a53bc3a4cfd541ac /bash/util.sh
parentenv.sh: Add firefox as $BROWSER (diff)
downloaddotfiles-a3d315dede236a4fb2891913b115c838c1e3b786.tar.gz
dotfiles-a3d315dede236a4fb2891913b115c838c1e3b786.tar.xz
util.sh: Add vi command to history
Diffstat (limited to 'bash/util.sh')
-rw-r--r--bash/util.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/util.sh b/bash/util.sh
index 569462f8..c040e863 100644
--- a/bash/util.sh
+++ b/bash/util.sh
@@ -45,6 +45,7 @@ gen-password() {
ji() {
f="$(fzf)"
if [ -n "$f" ]; then
+ history -s vi "$f"
vi "$f"
fi
}