An open API service indexing awesome lists of open source software.

https://github.com/axelf4/dotfiles

💠 Kinda cozy setup
https://github.com/axelf4/dotfiles

bash dotfiles emacs tmux vim

Last synced: 10 months ago
JSON representation

💠 Kinda cozy setup

Awesome Lists containing this project

README

          


logo

# dotfiles

## Installation

```sh
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]

```sh
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
```bash
[[ -e ~/.profile ]] && . ~/.profile
[[ -e ~/.bashrc ]] && . ~/.bashrc
```
Note however that it is then necessary to test if interactive (with `$-`)
before trying to change terminal settings.

[straight.el]: https://github.com/raxod502/straight.el