Fixed syntax highlighting [ci skip]
This commit is contained in:
@@ -205,9 +205,9 @@ After you have changed these settings, remember to run `source ~/.bashrc` or `so
|
|||||||
|
|
||||||
To set up the design directories and symlinks, go to a project's directory and run:
|
To set up the design directories and symlinks, go to a project's directory and run:
|
||||||
|
|
||||||
{% highlight bash %}
|
```bash
|
||||||
design init
|
design init
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
If your root directory is `~/Dropbox/Design`, directories will be created at
|
If your root directory is `~/Dropbox/Design`, directories will be created at
|
||||||
`~/Dropbox/Design/projects/my_project/Backgrounds`, `~/Dropbox/Design/projects/my_project/Icons`, etc.
|
`~/Dropbox/Design/projects/my_project/Backgrounds`, `~/Dropbox/Design/projects/my_project/Icons`, etc.
|
||||||
@@ -223,22 +223,22 @@ It also adds this directory to `.git/info/exclude` so that git ignores it.
|
|||||||
If you use the git repository index,
|
If you use the git repository index,
|
||||||
you can run the following batch command to set up these directories for all of your git repos at once:
|
you can run the following batch command to set up these directories for all of your git repos at once:
|
||||||
|
|
||||||
{% highlight bash %}
|
```bash
|
||||||
git_index --batch-cmd design init
|
git_index --batch-cmd design init
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
|
|
||||||
If you want to remove any empty design directories, run:
|
If you want to remove any empty design directories, run:
|
||||||
|
|
||||||
{% highlight bash %}
|
```bash
|
||||||
design trim
|
design trim
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
And if you want to remove all of a project's design directories, even if they contain files:
|
And if you want to remove all of a project's design directories, even if they contain files:
|
||||||
|
|
||||||
{% highlight bash %}
|
```bash
|
||||||
design rm
|
design rm
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
|
|
||||||
### 3) Link existing design directories into your projects
|
### 3) Link existing design directories into your projects
|
||||||
@@ -248,9 +248,9 @@ to be synchronized across all of your other development machines.
|
|||||||
|
|
||||||
Just run the following command on your other machines after following steps 1 and 2:
|
Just run the following command on your other machines after following steps 1 and 2:
|
||||||
|
|
||||||
{% highlight bash %}
|
```bash
|
||||||
design link
|
design link
|
||||||
{% endhighlight %}
|
```
|
||||||
|
|
||||||
This uses your git index (from SCM Breeze) to figure out where to create the symlinks.
|
This uses your git index (from SCM Breeze) to figure out where to create the symlinks.
|
||||||
If you don't use the git index, the same outcome could be achieved by running 'design init'
|
If you don't use the git index, the same outcome could be achieved by running 'design init'
|
||||||
|
|||||||
Reference in New Issue
Block a user