From 58c4b78732ea13aad5f1da843e11a533feca3ba2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 20 Sep 2023 07:11:39 -0300 Subject: etc/sh/rc: Add rr() function --- etc/sh/rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/sh/rc b/etc/sh/rc index d5a9bc7..df07f8e 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -391,6 +391,13 @@ r() { . ~/.profile } +rr() { + r + if [ -e .envrc ]; then + direnv allow + fi +} + _edit_without_executing() { F="$(mkstemp)" printf '%s\n' "$READLINE_LINE" > "$F" -- cgit v1.2.3