git clone --bare https://github.com/axelf4/dotfiles.git ~/.dotfiles
alias cfg='git --git-dir="$HOME"/.dotfiles --work-tree="$HOME"'
cfg checkout
cfg config --local status.showUntrackedFiles no
Install straight.el
git clone https://github.com/radian-software/straight.el.git ~/.config/emacs/straight/repos/straight.el
The table below shows what files Bash executes on startup.
Interactive | Non-interactive | |
---|---|---|
Login | /etc/profile and then first readable of~/.bash_profile , ~/.bash_login , ~/.profile |
|
Non-login | /etc/bash.bashrc and ~/.bashrc |
$BASH_ENV |
To have login shells too read the shell configuration file
(e.g. because tmux always starts login shells),
create a .bash_profile
with
[[ -e ~/.profile ]] && . ~/.profile
[[ -e ~/.bashrc ]] && . ~/.bashrc
Note however that it is then necessary to test if interactive (with $-
)
before trying to change terminal settings.