mirror of https://github.com/mitchell/dotfiles.git
Add conditional mkdir to script; more README details
This commit is contained in:
parent
874cf19e3e
commit
1a49c3f39d
27
README.md
27
README.md
|
@ -11,15 +11,30 @@ This repo contains my preferred configurations for:
|
||||||
|
|
||||||
Which also implies they are all dependencies to use the whole configuration.
|
Which also implies they are all dependencies to use the whole configuration.
|
||||||
|
|
||||||
Other dependencies:
|
Installation dependencies:
|
||||||
|
- git
|
||||||
|
- fish
|
||||||
- rsync (for sync script)
|
- rsync (for sync script)
|
||||||
- curl (for fisher pkg manager)
|
- curl (for fisher pkg manager)
|
||||||
|
|
||||||
To use all of the configurations:
|
To install all of the configurations:
|
||||||
1. Clone this repo with the `--recurse-submodules` flag.
|
1. Clone this repo with the `--recurse-submodules` flag.
|
||||||
1. `cd` into this repo and run the `sync` script (requires fish).
|
1. `cd` into your clone and run the `sync` script (requires fish be installed).
|
||||||
1. If you haven't already either run `fish` or change your default shell by adding the result of
|
1. If you haven't already either run `fish` or change your default shell by appending the result of
|
||||||
`which fish` to `/etc/shells` and running `chsh -s /path/to/fish yourusername` and restart the
|
`which fish` to `/etc/shells` and running `chsh -s /path/to/fish yourusername`, then restarting
|
||||||
terminal.
|
the terminal.
|
||||||
1. Once using fish run `fisher` to install all fish plugins.
|
1. Once using fish run `fisher` to install all fish plugins.
|
||||||
1. Enjoy!
|
1. Enjoy!
|
||||||
|
|
||||||
|
Dependencies for fish aliases:
|
||||||
|
- fzf (used in `v`)
|
||||||
|
- ag (used in `vs`)
|
||||||
|
|
||||||
|
Dependencies for prompt info (only needed in relevant projects):
|
||||||
|
- golang
|
||||||
|
- docker
|
||||||
|
- node
|
||||||
|
- typescript
|
||||||
|
- elixir
|
||||||
|
- dart
|
||||||
|
- flutter
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
echo 'Syncing configuration files to your home dir...'
|
echo 'Syncing configuration files to your home dir...'
|
||||||
|
|
||||||
|
if ! test -e ~/.config; mkdir ~/.config; end
|
||||||
|
|
||||||
rsync -aP ./.config/fish ~/.config/
|
rsync -aP ./.config/fish ~/.config/
|
||||||
rsync -aP ./.gitconfig ~/
|
rsync -aP ./.gitconfig ~/
|
||||||
rsync -aP ./.tmux* ~/
|
rsync -aP ./.tmux* ~/
|
||||||
|
|
Loading…
Reference in New Issue