bash: add bashrc, alias and envs (also add .bashrc for root user)

This commit is contained in:
inkch
2024-01-17 19:40:29 +09:00
parent 33c0936e53
commit 3e8e8c769e
5 changed files with 37 additions and 0 deletions

11
.chezmoitemplates/bashrc Normal file
View File

@ -0,0 +1,11 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Set enviroment variables here.
[[ -f ~/.config/bash/envs ]] && . ~/.config/bash/envs
# Source (read) `alias` file.
[[ -f ~/.config/bash/alias ]] && . ~/.config/bash/alias
# Customize prompt
PS1='[\u@\h \W]\$ '