mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 10:26:18 +04:00
deploy: 37fcd160db
This commit is contained in:
parent
675ff52394
commit
81544a532f
@ -275,6 +275,9 @@ You can get <a href="https://www.microsoft.com/p/app-installer/9nblggh4nns1#acti
|
|||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="building-from-source"><a class="header" href="#building-from-source">Building from source</a></h2>
|
<h2 id="building-from-source"><a class="header" href="#building-from-source">Building from source</a></h2>
|
||||||
<p>Requirements:</p>
|
<p>Requirements:</p>
|
||||||
|
<p>Clone the Helix GitHub repository into a directory of your choice. The
|
||||||
|
examples in this documentation assume installation into either <code>~/src/</code> on
|
||||||
|
Linux and macOS, or <code>%userprofile%\src\</code> on Windows.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>The <a href="https://www.rust-lang.org/tools/install">Rust toolchain</a></li>
|
<li>The <a href="https://www.rust-lang.org/tools/install">Rust toolchain</a></li>
|
||||||
<li>The <a href="https://git-scm.com/">Git version control system</a></li>
|
<li>The <a href="https://git-scm.com/">Git version control system</a></li>
|
||||||
@ -305,10 +308,12 @@ the <code>runtime</code> directory within the user's helix config directory (mor
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
<h3 id="configuring-helixs-runtime-files"><a class="header" href="#configuring-helixs-runtime-files">Configuring Helix's runtime files</a></h3>
|
<h3 id="configuring-helixs-runtime-files"><a class="header" href="#configuring-helixs-runtime-files">Configuring Helix's runtime files</a></h3>
|
||||||
<h4 id="linux-and-macos"><a class="header" href="#linux-and-macos">Linux and macOS</a></h4>
|
<h4 id="linux-and-macos"><a class="header" href="#linux-and-macos">Linux and macOS</a></h4>
|
||||||
<p>Either set the <code>HELIX_RUNTIME</code> environment variable to point to the runtime files and add it to your <code>~/.bashrc</code> or equivalent:</p>
|
<p>The <strong>runtime</strong> directory is one below the Helix source, so either set a
|
||||||
<pre><code class="language-sh">HELIX_RUNTIME=/home/user-name/src/helix/runtime
|
<code>HELIX_RUNTIME</code> environment variable to point to that directory and add it to
|
||||||
|
your <code>~/.bashrc</code> or equivalent:</p>
|
||||||
|
<pre><code class="language-sh">HELIX_RUNTIME=~/src/helix/runtime
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>Or, create a symlink in <code>~/.config/helix</code> that links to the source code directory:</p>
|
<p>Or, create a symbolic link:</p>
|
||||||
<pre><code class="language-sh">ln -Ts $PWD/runtime ~/.config/helix/runtime
|
<pre><code class="language-sh">ln -Ts $PWD/runtime ~/.config/helix/runtime
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>If the above command fails to create a symbolic link because the file exists either move <code>~/.config/helix/runtime</code> to a new location or delete it, then run the symlink command above again. </p>
|
<p>If the above command fails to create a symbolic link because the file exists either move <code>~/.config/helix/runtime</code> to a new location or delete it, then run the symlink command above again. </p>
|
||||||
|
@ -284,6 +284,9 @@ You can get <a href="https://www.microsoft.com/p/app-installer/9nblggh4nns1#acti
|
|||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="building-from-source"><a class="header" href="#building-from-source">Building from source</a></h2>
|
<h2 id="building-from-source"><a class="header" href="#building-from-source">Building from source</a></h2>
|
||||||
<p>Requirements:</p>
|
<p>Requirements:</p>
|
||||||
|
<p>Clone the Helix GitHub repository into a directory of your choice. The
|
||||||
|
examples in this documentation assume installation into either <code>~/src/</code> on
|
||||||
|
Linux and macOS, or <code>%userprofile%\src\</code> on Windows.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>The <a href="https://www.rust-lang.org/tools/install">Rust toolchain</a></li>
|
<li>The <a href="https://www.rust-lang.org/tools/install">Rust toolchain</a></li>
|
||||||
<li>The <a href="https://git-scm.com/">Git version control system</a></li>
|
<li>The <a href="https://git-scm.com/">Git version control system</a></li>
|
||||||
@ -314,10 +317,12 @@ the <code>runtime</code> directory within the user's helix config directory (mor
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
<h3 id="configuring-helixs-runtime-files"><a class="header" href="#configuring-helixs-runtime-files">Configuring Helix's runtime files</a></h3>
|
<h3 id="configuring-helixs-runtime-files"><a class="header" href="#configuring-helixs-runtime-files">Configuring Helix's runtime files</a></h3>
|
||||||
<h4 id="linux-and-macos"><a class="header" href="#linux-and-macos">Linux and macOS</a></h4>
|
<h4 id="linux-and-macos"><a class="header" href="#linux-and-macos">Linux and macOS</a></h4>
|
||||||
<p>Either set the <code>HELIX_RUNTIME</code> environment variable to point to the runtime files and add it to your <code>~/.bashrc</code> or equivalent:</p>
|
<p>The <strong>runtime</strong> directory is one below the Helix source, so either set a
|
||||||
<pre><code class="language-sh">HELIX_RUNTIME=/home/user-name/src/helix/runtime
|
<code>HELIX_RUNTIME</code> environment variable to point to that directory and add it to
|
||||||
|
your <code>~/.bashrc</code> or equivalent:</p>
|
||||||
|
<pre><code class="language-sh">HELIX_RUNTIME=~/src/helix/runtime
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>Or, create a symlink in <code>~/.config/helix</code> that links to the source code directory:</p>
|
<p>Or, create a symbolic link:</p>
|
||||||
<pre><code class="language-sh">ln -Ts $PWD/runtime ~/.config/helix/runtime
|
<pre><code class="language-sh">ln -Ts $PWD/runtime ~/.config/helix/runtime
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>If the above command fails to create a symbolic link because the file exists either move <code>~/.config/helix/runtime</code> to a new location or delete it, then run the symlink command above again. </p>
|
<p>If the above command fails to create a symbolic link because the file exists either move <code>~/.config/helix/runtime</code> to a new location or delete it, then run the symlink command above again. </p>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user