(scripts) fixed minor annoynances

This commit is contained in:
scbj
2025-11-20 08:58:31 +01:00
parent 7947da9955
commit 75400b59d7
2 changed files with 23 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
[[ "$-" != "*i*" ]] || return
function __search-history {
current_line="${READLINE_LINE}"
command=($(fc -lnr 1 | fzf --scheme=history --tmux --expect=tab,right -q "${current_line}"))