Add news entry

This commit is contained in:
Gil Forsyth 2018-12-25 17:38:08 -05:00
parent 8a3c8a6832
commit 86b5c0fcc5

34
news/pf_strings.rst Normal file
View file

@ -0,0 +1,34 @@
**Added:**
* New xonsh syntax ``pf`` strings -- combining path strings with f-strings.
Usage:
.. code-block:: bash
gil@bad_cat ~ $ repos = 'github.com'
gil@bad_cat ~ $ pf"~/{repos}"
PosixPath('/home/gil/github.com')
gil@bad_cat ~ $ pf"{$HOME}"
PosixPath('/home/gil')
gil@bad_cat ~ $ pf"/home/${'US' + 'ER'}"
PosixPath('/home/gil')
**Changed:**
* <news item>
**Deprecated:**
* <news item>
**Removed:**
* <news item>
**Fixed:**
* <news item>
**Security:**
* <news item>