aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/bash/rc13
1 files changed, 6 insertions, 7 deletions
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() {