This commit is contained in:
Patrick Alvin Alcala 2025-11-10 14:56:02 +08:00
parent 81cf8e713a
commit 7475319b80
7 changed files with 373 additions and 19 deletions

28
.bashrc
View file

@ -1,9 +1,9 @@
# _ _
# | |__ __ _ ___| |__ _ __ ___
# _ _
# | |__ __ _ ___| |__ _ __ ___
# | '_ \ / _` / __| '_ \| '__/ __|
# _| |_) | (_| \__ \ | | | | | (__
# _| |_) | (_| \__ \ | | | | | (__
# (_)_.__/ \__,_|___/_| |_|_| \___|
#
#
# -----------------------------------------------------
# ML4W bashrc loader
# -----------------------------------------------------
@ -11,9 +11,9 @@
# DON'T CHANGE THIS FILE
# You can define your custom configuration by adding
# files in ~/.config/bashrc
# files in ~/.config/bashrc
# or by creating a folder ~/.config/bashrc/custom
# with copies of files from ~/.config/bashrc
# with copies of files from ~/.config/bashrc
# You can also create a .bashrc_custom file in your home directory
# -----------------------------------------------------
@ -21,22 +21,22 @@
# Load modular configarion
# -----------------------------------------------------
for f in ~/.config/bashrc/*; do
if [ ! -d $f ] ;then
c=`echo $f | sed -e "s=.config/bashrc=.config/bashrc/custom="`
[[ -f $c ]] && source $c || source $f
fi
for f in ~/.config/bashrc/*; do
if [ ! -d $f ]; then
c=$(echo $f | sed -e "s=.config/bashrc=.config/bashrc/custom=")
[[ -f $c ]] && source $c || source $f
fi
done
# -----------------------------------------------------
# Load single customization file (if exists)
# -----------------------------------------------------
if [ -f ~/.bashrc_custom ] ;then
source ~/.bashrc_custom
if [ -f ~/.bashrc_custom ]; then
source ~/.bashrc_custom
fi
. "/home/patrick/.deno/env"
source /home/patrick/.local/share/bash-completion/completions/deno.bash
alias xi="sudo xbps-install -S"
alias ls="lsd -l"