Compare commits

...

5 commits

Author SHA1 Message Date
ec537dca23 fish: shorter fortunes, pls 2024-05-23 14:06:50 -05:00
b3b67082ce fish: deliver a fortune with the tree 2024-05-23 14:00:54 -05:00
351fac1c4d fish: grow a tree on start 2024-05-23 13:47:41 -05:00
57daef65ff cli: add cbonsai 2024-05-23 10:23:12 -05:00
9750b183fb update flake 2024-05-23 09:49:03 -05:00
3 changed files with 21 additions and 15 deletions

View file

@ -9,11 +9,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1714536206, "lastModified": 1716458171,
"narHash": "sha256-pnE2Px1VlcnWDc92TUmaILRgrWBbetKhpnMu5DfntbM=", "narHash": "sha256-kmqu2JEg/TiDRqPdOmdjOr5XTZ4jSIpKMYSiBycgVpM=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "7772d48f5a728af51cd8ac85be5b124e2da0feac", "rev": "6f385fa1886cb00dba5c22b15464f9b6b935b0d8",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -40,11 +40,11 @@
}, },
"hardware": { "hardware": {
"locked": { "locked": {
"lastModified": 1714465198, "lastModified": 1716173274,
"narHash": "sha256-ySkEJvS0gPz2UhXm0H3P181T8fUxvDVcoUyGn0Kc5AI=", "narHash": "sha256-FC21Bn4m6ctajMjiUof30awPBH/7WjD0M5yqrWepZbY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "68d680c1b7c0e67a9b2144d6776583ee83664ef4", "rev": "d9e0b26202fd500cf3e79f73653cce7f7d541191",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,11 +60,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1714515075, "lastModified": 1716457508,
"narHash": "sha256-azMK7aWH0eUc3IqU4Fg5rwZdB9WZBvimOGG3piqvtsY=", "narHash": "sha256-ZxzffLuWRyuMrkVVq7wastNUqeO0HJL9xqfY1QsYaqo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6d3b6dc9222c12b951169becdf4b0592ee9576ef", "rev": "850cb322046ef1a268449cf1ceda5fd24d930b05",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -75,11 +75,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1714253743, "lastModified": 1716330097,
"narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -91,11 +91,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1714409183, "lastModified": 1716361217,
"narHash": "sha256-Wacm/DrzLD7mjFGnSxxyGkJgg2unU/dNdNgdngBH+RU=", "narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "576ecd43d3b864966b4423a853412d6177775e8b", "rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -14,8 +14,10 @@
apg # Automatic password generator apg # Automatic password generator
babelfish # Lets fish speak bash babelfish # Lets fish speak bash
btop # Prettier top btop # Prettier top
cbonsai # Happy little trees
dig # DNS lookup dig # DNS lookup
dos2unix # Convert DOS line endings to UNIX dos2unix # Convert DOS line endings to UNIX
fortune # Fortune cookies
gh # Github CLI gh # Github CLI
httpie # Better curl httpie # Better curl
jq # JSON pretty printer and manipulator jq # JSON pretty printer and manipulator

View file

@ -132,6 +132,10 @@
# load cht.sh completions # load cht.sh completions
'' ''
complete -c cht -xa '(curl -s cheat.sh/:list)' complete -c cht -xa '(curl -s cheat.sh/:list)'
'' +
# print a happy tree
''
cbonsai -p -m "$(fortune -s -n 300)"
''; '';
}; };
} }