more cats!
This commit is contained in:
parent
c013267546
commit
7688f7e215
4 changed files with 98 additions and 10 deletions
|
|
@ -1,6 +1,5 @@
|
|||
if $XONSH_INTERACTIVE:
|
||||
from datetime import datetime
|
||||
import os
|
||||
t0 = datetime.now()
|
||||
## ENV ##
|
||||
$XONSH_COLOR_STYLE = 'native'
|
||||
|
|
@ -45,11 +44,11 @@ aliases["ls"] = "exa"
|
|||
aliases["ll"] = "exa -lah"
|
||||
aliases["grep"] = "rg"
|
||||
aliases["theo"] = "python ~/.config/xonsh/theo.py"
|
||||
aliases["kittycatsay"] = "python ~/.config/xonsh/kittycatsay.py"
|
||||
|
||||
if $XONSH_INTERACTIVE:
|
||||
hour = t0.hour
|
||||
$COWCOL = os.get_terminal_size()[0] - 6
|
||||
theo | cowsay -W $COWCOL -f ~/.config/xonsh/kiddycad.cow
|
||||
theo | kittycatsay
|
||||
"""
|
||||
if 5 <= hour < 10:
|
||||
theo | cowsay -d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue