From 3778dc20fee871488418a4aed3d5541892cf0310 Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Thu, 16 Oct 2025 17:54:20 +0000 Subject: [PATCH] fzf --- arch-user/bin/bemenu/pinentry.sh | 2 ++ arch-user/config/bash/bashrc | 4 ++++ arch-user/install.sh | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch-user/bin/bemenu/pinentry.sh b/arch-user/bin/bemenu/pinentry.sh index 6b8a9ee..fae15af 100755 --- a/arch-user/bin/bemenu/pinentry.sh +++ b/arch-user/bin/bemenu/pinentry.sh @@ -1,4 +1,6 @@ #!/bin/bash -efu +# based on https://github.com/legionus/pinentry-bash/blob/master/pinentry-bash + ### This file is covered by the GNU General Public License, ### which should be included with libshell as the file LICENSE. ### All copyright information are listed in the COPYING. diff --git a/arch-user/config/bash/bashrc b/arch-user/config/bash/bashrc index 76154cf..846d949 100644 --- a/arch-user/config/bash/bashrc +++ b/arch-user/config/bash/bashrc @@ -2,6 +2,8 @@ [[ $- != *i* ]] && return +shopt -s autocd + stty intr ^K alias ssh='wssh' @@ -13,6 +15,8 @@ alias node='NODE_NO_READLINE=1 rlwrap node' export EDITOR=vim +eval "$(fzf --bash)" + PS0+='\e]133;C\e\\' command_done() { printf '\e]133;D\e\\' diff --git a/arch-user/install.sh b/arch-user/install.sh index 983905b..bf77f38 100755 --- a/arch-user/install.sh +++ b/arch-user/install.sh @@ -48,7 +48,7 @@ mkdir -p "${USER_DIRS[@]}" ########## scripts ############# cp -rf bin/* ~/.local/bin -LN_EXCLUDE_DIRS=(i3blocks bemenu sway) +LN_EXCLUDE_DIRS=(i3blocks bemenu sway fzf) ln_exclude_dirs_cmp=" ${LN_EXCLUDE_DIRS[*]} " for sdir in bin/*; do