Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benc-uk/dotfiles
My personal dotfiles
https://github.com/benc-uk/dotfiles
dotfiles linux
Last synced: about 1 month ago
JSON representation
My personal dotfiles
- Host: GitHub
- URL: https://github.com/benc-uk/dotfiles
- Owner: benc-uk
- Created: 2020-05-10T13:03:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T10:05:58.000Z (about 1 month ago)
- Last Synced: 2024-11-01T11:18:00.707Z (about 1 month ago)
- Topics: dotfiles, linux
- Language: Shell
- Homepage:
- Size: 24 MB
- Stars: 7
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- jimsghstars - benc-uk/dotfiles - My personal dotfiles (Shell)
README
# Dotfiles
These are my personal Linux dotfiles, I use Zsh + [Oh My Zsh](https://ohmyz.sh/) and the [Powerlevel10k](https://github.com/romkatv/powerlevel10k) theme.
These can be used on any "fresh" Linux system, or with Devcontainers / CodespacesThis shell configuration is unlikely to be to everyone's tastes 😁
![image](https://user-images.githubusercontent.com/14982936/81501314-a9084b00-92cf-11ea-8ee0-40dfa48de888.png)
![image](https://user-images.githubusercontent.com/14982936/81501320-ae659580-92cf-11ea-8236-caa4fcc10b8d.png)
## File Index
Main scripts
- `install.sh` – Main install script
The following files are aliased from ~/dotfiles into your $HOME directory when install.sh is run:
- `bin/` – My personal bash scripts, helpers and other things. Quite a lot of junk TBH
- `.bashrc` – Bash setup/startup script
- `.gitconfig` – My personal git config
- `.p10k.zsh` – Customized Powerlevel10k prompt settings
- `.profile` – Untouched but synced just in case
- `.zshrc` – Zsh setup/startup script, enables Oh My Zsh and Powerlevel10kThese files remain in ~/dotfiles but are referenced from from the rc start up scripts
- `common.sh` – Called from both .bashrc and .zshrc as it contains commands common to both
- `aliases.sh` – All aliases go here (used with Bash and Zsh)
- `banner.sh` – Logon banner message (used with Bash and Zsh)
- `bashprompt.sh` – Bash prompt, like a poor mans p10k for Bash, disable with BASIC_PROMPT=1
- `env.sh` – Environmental vars and PATH settings, symlinked to `~/.bashenv` & `~/.zshenv`Helpers
- `lib/backup.sh` – Git add, commit and push to GitHub
- `lib/install-zsh.sh` – Installs Zsh, and changes shell, tries to use sudo
- `lib/update.sh` – Pulls version from GitHub and overwrites local changes## Usage
Clone into `~/dotfiles`
```bash
cd ~
git clone https://github.com/benc-uk/dotfiles.git
```Install zsh if it's not already installed
```bash
cd ~
./dotfiles/lib/install-zsh.sh
```Run install to set up the dotfiles symlinks etc
```bash
cd ~
./dotfiles/install.sh
```Place any secrets, and local overrides into `~/.local.rc` **DO NOT add this file to the dotfiles repo**