File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ local lunacolors = require ' lunacolors'
2
+
3
+ bait .catch (' hilbish.init' , function ()
4
+
5
+ if os.date ' %m' == ' 12' and hilbish .interactive and hilbish .opts .crimmas then
6
+ local crimmas = math.random (1 , 31 )
7
+ print (crimmas )
8
+ if crimmas >= 25 and crimmas <= 29 then
9
+ print (lunacolors .format ' 🎄 {green}Merry {red}Christmas{reset} from your {green}favourite{reset} shell {red}(right?){reset} 🌺' )
10
+ end
11
+ end
12
+ end )
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ The nice lil shell for {blue}Lua{reset} fanatics!
27
27
]] , hilbish .user ),
28
28
motd = true ,
29
29
fuzzy = false ,
30
- notifyJobFinish = true
30
+ notifyJobFinish = true ,
31
+ crimmas = true
31
32
}
32
33
33
34
for optsName , default in pairs (defaultOpts ) do
You can’t perform that action at this time.
0 commit comments