From eacdae5f30687016e65db1d99313ecbc9747e054 Mon Sep 17 00:00:00 2001 From: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:00:51 -0700 Subject: [PATCH] Update pico and nano aliases Removed aliases for pico and nano since 'edit' is not a valid command. Also, updated spico and snano aliases to run sudo pico and sudo nano respectively. --- .bashrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 3225e61..7393093 100644 --- a/.bashrc +++ b/.bashrc @@ -64,10 +64,8 @@ if [[ $iatest -gt 0 ]]; then bind "set show-all-if-ambiguous On"; fi # Set the default editor export EDITOR=nvim export VISUAL=nvim -alias pico='edit' -alias spico='sedit' -alias nano='edit' -alias snano='sedit' +alias spico='sudo pico' +alias snano='sudo nano' alias vim='nvim' # To have colors for ls and all grep commands such as grep, egrep and zgrep