Hint about using a bash function.
This commit is contained in:
parent
63fe8deaa9
commit
b63a727517
|
@ -71,7 +71,13 @@
|
|||
<button class="btn" type="submit">{% trans 'Paste' %}</button>
|
||||
<input type="hidden" id="max_characters" value="{{ max_characters }}">
|
||||
</form>
|
||||
<div class="alert alert-info" role="alert">You can also use: <pre>curl {{ absolute_index_url }} -Fpython=@hello.py</pre></div>
|
||||
<div class="alert alert-info" role="alert">You can also use:
|
||||
<pre>curl {{ absolute_index_url }} -Fpython=@hello.py</pre>
|
||||
(attribute name is used for syntax highlighting, and shortcuts like "py" are allowed, see Language dropdown for language list.)
|
||||
<br /><br />
|
||||
You may even use a bash function:
|
||||
<pre>wyz() { curl {{ absolute_index_url }} -Fpython=@$1 }</pre>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block javascript %}
|
||||
{% if PASTE.show_char_left %}
|
||||
|
|
Loading…
Reference in New Issue