From 6c16828a9994a93ec7fd9c9cda0339fe4cbe818b Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 15 Sep 2020 19:21:33 -0400 Subject: [PATCH] Alias R when available --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 928d1fd..a156120 100644 --- a/zshrc +++ b/zshrc @@ -109,6 +109,10 @@ if command -v xdg-open &>/dev/null; then alias open=xdg-open fi +if R --version &>/dev/null; then + alias R='R --no-save --no-restore' +fi + unsetopt correct_all bindkey '^R' history-incremental-search-backward