Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarisia/dotfiles
Linux, devcontainer & macOS configurations
https://github.com/sarisia/dotfiles
Last synced: 20 days ago
JSON representation
Linux, devcontainer & macOS configurations
- Host: GitHub
- URL: https://github.com/sarisia/dotfiles
- Owner: sarisia
- Created: 2020-05-06T14:36:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-04T09:07:22.000Z (4 months ago)
- Last Synced: 2024-10-04T18:41:26.289Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sarisia/dotfiles
- Easy setup with `curl -L boot.sarisia.cc | bash` (this redirects to `curlboot.sh`)
- zsh and bash support (works out of the box with macOS)
- Codespaces support (See [Structure](#structure))# Install
```
$ curl -L boot.sarisia.cc | bash
```# Structure
## Initialize flow
### zsh (default shell for macOS / popular Codespaces images)
1. `.zprofile`
2. `.profile` (from `.zprofile`)
3. `.zshrc` (from `.zprofile`)### bash (most Linux distributions)
1. `.bash_profile`
2. `.profile` (from `.bash_profile`)
3. `.bashrc` (from `.bash_profile`)## Files
- `.profile`: configurations not depends on shell (PATH, EDITOR, ...)
- `.zprofile`, `.bash_profile`: simple script for loading `.profile` and `.zshrc`
or `.bashrc` depends on shell (in order to avoid shells' configuration files loading
order problem. see [bash manual](https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html))
- `.bashrc`, `.zshrc`: shell-related configurations (alias, ...)# Refs
- [Difference between Login Shell and Non-Login Shell? - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/38175/difference-between-login-shell-and-non-login-shell)