mirror of
https://github.com/mylinuxforwork/dotfiles.git
synced 2026-09-11 11:47:42 +02:00
1
Customize the .bashrc
Stephan Raabe edited this page 2024-07-22 10:03:25 +02:00
The ML4W Dotfiles are shipped with a .bashrc file. If you want to add your configuration e.g., your personal aliases please create the file .bashrc_custom in your HOME directory.
My .bashrc_custom has the following content:
# -----------------------------------------------------
# Custom Aliases
# -----------------------------------------------------
# DEVELOPMENT
alias dotsync="~/dotfiles-versions/dotfiles/.install/dev/sync.sh dotfiles"
The shipped .bashrc file will source your .bashrc_custom if exists:
# -----------------------------------------------------
# LOAD CUSTOM .bashrc_custom
# -----------------------------------------------------
if [ -f ~/.bashrc_custom ] ;then
source ~/.bashrc_custom
fi