Add conditional mkdir to script; more README details

This commit is contained in:
mitchell 2019-08-15 02:20:46 -04:00
parent 874cf19e3e
commit 1a49c3f39d
2 changed files with 23 additions and 6 deletions

View File

@ -11,15 +11,30 @@ This repo contains my preferred configurations for:
Which also implies they are all dependencies to use the whole configuration.
Other dependencies:
Installation dependencies:
- git
- fish
- rsync (for sync script)
- 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. `cd` into this repo and run the `sync` script (requires fish).
1. If you haven't already either run `fish` or change your default shell by adding the result of
`which fish` to `/etc/shells` and running `chsh -s /path/to/fish yourusername` and restart the
terminal.
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 appending the result of
`which fish` to `/etc/shells` and running `chsh -s /path/to/fish yourusername`, then restarting
the terminal.
1. Once using fish run `fisher` to install all fish plugins.
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
sync Normal file → Executable file
View File

@ -2,6 +2,8 @@
echo 'Syncing configuration files to your home dir...'
if ! test -e ~/.config; mkdir ~/.config; end
rsync -aP ./.config/fish ~/.config/
rsync -aP ./.gitconfig ~/
rsync -aP ./.tmux* ~/