Created
October 21, 2019 11:23
-
-
Save leveled/6b92c4fd984644282a5535e2d1ce38ff to your computer and use it in GitHub Desktop.
Replace contents of curl in-line using sed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s 'https://raw.githubusercontent.com/prompt-toolkit/ptpython/master/examples/ptpython_config/config.py' 2>&1 | sed --expression='s/repl.vi_mode = False/repl.vi_mode = True/g' | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment