Last active
December 24, 2020 20:37
-
-
Save tombulled/eb992eb8e326d10193db6a96c1e8f7ea to your computer and use it in GitHub Desktop.
Fish alias for python3 with colour support from rich
This file contains hidden or 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
alias py='python3 -i -c "import sys, rich, rich.pretty, rich.traceback; rich.pretty.install(); rich.traceback.install(); rich.print(\'[b]Python[/b]\', f\'{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}\')"' && funcsave py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment