Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/CCheminaud/dotfiles

⚙️ All my dotfiles.
https://github.com/CCheminaud/dotfiles

config dotfiles fish git nushell shell starship topgrade vim yadm

Last synced: 2 months ago
JSON representation

⚙️ All my dotfiles.

Awesome Lists containing this project

README

        

# dotfiles

These are all my dotfiles that I use everyday. Feel free to take what you want, but at your own risk.

It mainly target macOS system.

## Highlights

- Shell configuration for [Nushell](https://www.nushell.sh/), [Fish](https://fishshell.com/) and Zsh
- Fast and colored prompt with [Starship](https://starship.rs/)
- [Git](https://git-scm.com/) configuration, aliases...
- Vim ready for use (using [AstroNvim](https://docs.astronvim.com))
- Keeping the system up to date with [Topgrade](https://github.com/topgrade-rs/topgrade)
- Some system command alternatives ([bottom](https://github.com/ClementTsang/bottom), [eza](https://github.com/eza-community/eza))
- Everything is managed by [yadm](https://yadm.io/)

## Getting started

Clone this repository using `yadm`.

```shell
yadm clone https://github.com/CCheminaud/dotfiles.git
yadm status
```

The `clone` command will attempt to check out all files that exist in the repository.
If a file already exists locally and has content that differs from the one in the repository,
the local file will be left unmodified and you’ll have to review and resolve the differences.

### Fish

Install the required packages with Homebrew.

```shell
brew install fish fisher
```

Then start a new session with Fish and proceed with plugin installation.\
If needed, a private configuration file can be created too.

```shell
fisher update
touch ~/.config/fish/config.private.fish
```

### AstroNvim

Backup the current configuration and internal folders.

```shell
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak
```

Then, clone the repository and launch `nvim`.

```shell
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
nvim
```