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

https://github.com/dmkishi/dotfiles


https://github.com/dmkishi/dotfiles

dotfiles tmux vim zsh

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

Kishi's Dotfiles
================================================================================
Config files for Zsh, tmux, Vim, etc.

Bash support has been discontinued after macOS switched its default shell to Zsh. On Unix-like devices, install Zsh and make it the default shell.

Install
--------------------------------------------------------------------------------
```sh
cd ~ # Or wherever
git clone https://github.com/dmkishi/dotfiles.git
./dotfiles/install.sh
```

Technical Notes
--------------------------------------------------------------------------------
### Startup Files and Loading Order[^1]
Only `.zshenv` and `.zshrc` are used. See respective files for notes and descriptions.

| | Interactive Login | Interactive non-login | Script |
|------------------|:------------------:|:----------------------:|:-------:|
| `/etc/zshenv` | A | A | A |
| `~/.zshenv` | B | B | B |
| `/etc/zprofile` | C | | |
| `~/.zprofile` | D | | |
| `/etc/zshrc` | E | C | |
| `~/.zshrc` | F | D | |
| `/etc/zlogin` | G | | |
| `~/.zlogin` | H | | |
| `~/.zlogout` | I | | |
| `/etc/zlogout` | J | | |

[^1]:

### Enabling Italics in Vim and tmux
-
-

Unfortunately, this is a compound effort involving multiple configuration files:

- Terminfo: Italics are enabled by updating the terminfo database, which allows terminal emulators to recognize escape codes for italics. Terminfo files must be created for tmux, tmux w/ 256 color support, and xterm with 256 color support, which must be compiled with the `tic` command. The compiled files are written to `~/.terminfo`.
- `.tmux.conf`: Direct tmux to use the new Terminfo.
- `.vimrc`: Italicize comments.