Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nagromc/dotfiles-dotbot

New dotfiles repo: https://github.com/nagromc/dotfiles
https://github.com/nagromc/dotfiles-dotbot

dotfiles

Last synced: about 2 months ago
JSON representation

New dotfiles repo: https://github.com/nagromc/dotfiles

Awesome Lists containing this project

README

        

`~morgan`
=========

Yeah, yet another dotfiles repo. But this is mine. And I ❤ it.

Relies on the great [`dotbot`](https://github.com/anishathalye/dotbot) dotfiles installer.

Dependencies
------------

My dotfiles uses the following awesomeness:

- [`dotbot`](https://github.com/anishathalye/dotbot)
- [`fish`](http://fishshell.com/), and these great utilities:
- [`autojump`](https://github.com/wting/autojump)
- [`fzf`](https://github.com/junegunn/fzf)
- [`thefuck`](https://github.com/nvbn/thefuck)
- [Vim](http://www.vim.org/), and these shiny plugins:
- [Auto Pairs](https://github.com/jiangmiao/auto-pairs)
- [`commentary.vim`](https://github.com/tpope/vim-commentary)
- [`ctrlp.vim`](https://github.com/ctrlpvim/ctrlp.vim)
- [NERD Commenter](https://github.com/scrooloose/nerdtree)
- [NERD Tree](https://github.com/scrooloose/nerdtree)
- [`pathogen.vim`](https://github.com/tpope/vim-pathogen)
- [`promptline.vim`](https://github.com/edkolev/promptline.vim)
- [`sensible.vim`](https://github.com/tpope/vim-sensible)
- [`surround.vim`](https://github.com/tpope/vim-surround)
- [Tagbar](https://github.com/majutsushi/tagbar)
- [`tmuxline.vim`](https://github.com/edkolev/tmuxline.vim)
- [`vim-airline`](https://github.com/bling/vim-airline)
- [`vim-gitgutter`](https://github.com/airblade/vim-gitgutter)
- [`vim-joy`](https://github.com/rking/vim-joy)
- [`tmux`](https://tmux.github.io/), and this brilliant plugin:
- [`tmux-resurrect`](https://github.com/tmux-plugins/tmux-resurrect)
- [OpenSSH](http://www.openssh.com/)
- [Git](http://git-scm.com/), and these impressive softs:
- [`git-flow` (AVH Edition)](https://github.com/petervanderdoes/gitflow-avh)
- [Tig](http://jonas.nitro.dk/tig/)
- [Atom](https://atom.io/), and these [magnificent packages](https://raw.githubusercontent.com/nagromc/dotfiles/master/atom/package-list)
- [`npm`](https://www.npmjs.com/), and these amazing packages:
- [`apm`](https://github.com/atom/apm)
- [Bower](http://bower.io/)
- [`mintty`](http://mintty.github.io/)
- [Powerline](https://github.com/powerline/powerline) [fonts](https://github.com/powerline/fonts)
- [Solarized](http://ethanschoonover.com/solarized) color scheme
- [Monokai](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/) color scheme

You will need a terminal emulator that supports 256 colors such as [`gnome-terminal`](http://directory.fsf.org/wiki/Gnome-terminal), [`mintty`](http://mintty.github.io/), [`PuTTY`](http://www.putty.org/), …

Installation
------------

### POSIX systems

1. Install the [required softwares](#dependencies) that will not be installed by `dotbot`:

```shell
$ curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
$ sudo apt update && sudo apt install aspell-en aspell-fr atom autojump curl dstat dtrx exiftool fish git-flow glances gnupg2 highlight httpie hunspell-fr i3 iftop keepassxc jq ldnsutils libxml2-utils locate moreutils mtr ncdu net-tools nodejs npm numlockx parcimonie pcscd pcsc-tools progress python-dev python-pip python3-dev python3-pip rxvt-unicode-256color ruby scdaemon shellcheck silversearcher-ag tig tmux tree vim wamerican wfrench whois
$ npm install -g npm && npm install -g dirty-git bower grunt grunt-cli gulp-cli tldr yarn yo
$ git clone https://github.com/junegunn/fzf.git ~/dev/fzf && cd ~/dev/fzf && git colt && ~/dev/fzf/install
$ pip3 install glances ipdb pre-commit pre-commit-hooks thefuck && pip3 install --upgrade pip enum34
$ apm install --packages-file ~/.dotfiles/atom/package-list
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 && curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
$ rvm install 2.1.5 && gem install overcommit
```

2. Change the default shell:

- In a UNIX environment:

```shell
$ chsh -s /usr/bin/fish
```

- In Cygwin:

```shell
$ echo "db_shell: /bin/fish" >> /etc/nsswitch.conf
```

3. Then, run the `dotbot`'s installer:

```shell
$ ./install
```

4. Welcome to your new, pretty, smooth, fast, powerful, awesome terminal.

### Windows

Please note only a part of the dotfiles is used on Windows.

Execute the `install.bat` script either by double-clicking on it, or running:

```batchfile
install.bat
```

Execute the `install-admin.bat` script as an administator:

```batchfile
install-admin.bat
```

### Optional installations

#### Rust toolchain

```shell
$ mkdir -p ~/.local/
$ wget -O /tmp/rust-installation https://static.rust-lang.org/dist/rust-x.x.x-arch.tar.gz
$ cd /tmp/
$ tar xzf rust-installation
$ cd rust-installation
$ ./install.sh --prefix=~/.local/ --libdir=~/.local/lib/ --mandir=~/.local/share/man/
```

Rust is now ready.

Local configuration
-------------------

If you don't want to share private data, or if you have a specific environment you don't want to commit for every machine, you might want to add or override configuration with local dotfiles.

Those files can be added to extend the dotfiles:

| File… | …will extend |
| --------------------------- | ---------------------------- |
| `~/.vimrc_local` | `~/.vimrc` |
| `~/.ssh/config_local` | `~/.ssh/config` |
| `~/.gitconfig_local` | `~/.gitconfig` |
| `~/.config/fish/extra.fish` | `~/.config/fish/config.fish` |
| `~/.tmux_local.conf` | `~/.tmux.conf` |