Skip to content

axelf4/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

dotfiles

Installation

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

Bash startup files

The table below shows what files Bash executes on startup.

Bash startup files
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.