From 6babbf3083f535ff454a9cb7caf7b3bbc894a190 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 15 May 2022 18:23:34 -0300 Subject: etc/bash/rc: Indent v() function body, remove commented code --- etc/bash/rc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'etc/bash') diff --git a/etc/bash/rc b/etc/bash/rc index 0dbca5a..7f1d75d 100644 --- a/etc/bash/rc +++ b/etc/bash/rc @@ -190,13 +190,12 @@ v() { $XDG_CONFIG_HOME/guix/channels.scm EOF )" - f="$(echo "$V_FILES" | fzf --select-1 --exit-0 --query "$1")" - if [ -n "$f" ]; then - history -s v "$@" - history -s vi "$f" - sh -c "vi $f" - # vi "$HOME/${f#'~/'}" - fi + f="$(echo "$V_FILES" | fzf --select-1 --exit-0 --query "$1")" + if [ -n "$f" ]; then + history -s v "$@" + history -s vi "$f" + sh -c "vi $f" + fi } cn() { -- cgit v1.2.3