https://github.com/flydiverny/dotfiles
dotfiles!
https://github.com/flydiverny/dotfiles
dotfiles shell zsh
Last synced: about 2 months ago
JSON representation
dotfiles!
- Host: GitHub
- URL: https://github.com/flydiverny/dotfiles
- Owner: Flydiverny
- License: mit
- Created: 2018-06-10T15:14:13.000Z (about 8 years ago)
- Default Branch: fish
- Last Pushed: 2025-11-26T23:31:02.000Z (7 months ago)
- Last Synced: 2025-11-29T18:14:21.597Z (7 months ago)
- Topics: dotfiles, shell, zsh
- Language: Shell
- Homepage:
- Size: 62.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
Once upon a time it all started from my [caarlos0's dotfiles](https://github.com/caarlos0/dotfiles), and taken inspiration from many of his generations. First zsh, then fish, and now still fish.
---
This below is probably all wrong at this point but anyway
## Installation
### Dependencies
First, make sure you have all those things installed:
- `git`: to clone the repo
- `curl`: to download some stuff
- `tar`: to extract downloaded stuff
- `fish`: the shell
- `sudo`: some configs may need that
### Install
Then, run these steps:
```console
$ git clone https://github.com/caarlos0/dotfiles.fish.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./script/bootstrap.fish
```
> All changed files will be backed up with a `.backup` suffix.
#### Update
To update, you just need to `git pull` and run the bootstrap script again:
```console
$ cd ~/.dotfiles
$ git pull origin master
$ ./script/bootstrap.fish
```
## Revert
Reverting is not totally automated, but it pretty much consists in removing
the fish config and dotfiles folder, as well as moving back some config files.
```console
$ rm -rf ~/.dotfiles $__fish_config_dir
```
The bootstrap script would have created a bunch of symlinks that will now be broken.
You will have to investigate those manually.
In cases a file already existed, the boostrap script should have created a `.backup` file with the same name.
## Recommended Software
- [`bat`](https://github.com/sharkdp/bat) a cat(1) clone with wings;
- [`delta`](https://github.com/dandavison/delta) for better git diffs;
- [`fd`](https://github.com/sharkdp/fd) a simple, fast and user-friendly alternative to `find`;
- [`fzf`](https://github.com/junegunn/fzf) for a fuzzy-finder;
- [`gh`](https://github.com/cli/cli) for more GitHub integration with the terminal;
- [`grc`](https://github.com/garabik/grc) to colorize command's outputs;
- [`kubectx`](https://github.com/ahmetb/kubectx) for better Kubernetes context and namespace switch;
- [`starship.rs`](https://starship.rs) the shell we are using;
To install them all with `brew`:
```console
$ brew install fish git-delta fzf gh grc kubectx starship fd eza bat
```
On Ubuntu:
```console
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
sudo apt install fish grc fzf fd-find eza bat
# TODO: install delta, kubectx
```
## macOS defaults
You use it by running:
```console
~/.dotfiles/macos/set-defaults.sh
```
And logging out and in again or restart.