Some maintenance work around bashrc files

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-09-03 14:32:15 +00:00
parent e34c3dd5ed
commit 094b8a0009
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
10 changed files with 44 additions and 35 deletions

View file

@ -1,13 +1,16 @@
# General
alias clear="printf '\033c'" # faster than ncurses clear by a lot
alias c='clear'
alias bashrc="vim ~/.bashrc && source ~/.bashrc"
alias bashrc="nano ~/.bashrc && source ~/.bashrc"
# LS
alias ls='ls --color=auto -FAh'
alias ll='ls -l'
alias la='ls'
alias l.='ls | egrep "^\."'
alias l=ls
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
# GREP
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'