Skip to content

Commit

Permalink
Update pico and nano aliases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LoopTJ authored Sep 19, 2024
1 parent db983d3 commit eacdae5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eacdae5

Please sign in to comment.