miron - Overview
Pinned Loading
-
1
from IPython.terminal.prompts import Prompts, Token
2
class MyPrompt(Prompts):
3
def in_prompt_tokens(self, cli=None):
4
return [ ( Token.Prompt, "λ ",), ]
5
def out_prompt_tokens(self, cli=None):
-
1
# grepable with inline comments.2
# create alias: gh alias set cheat 'gist view 4997128'3
# gh cheat | grep cheat -C 3, shows 3 lines before and after,4
# Windows Powershell: gh cheat | Select-String cheat