my nixos flake :3 (git.koi.rip mirror) git.koi.rip/koi/flake
nixos catppuccin linux dotfiles neovim
0

Configure Feed

Select the types of activity you want to include in your feed.

zsh: print motd in non-login shells

june (Jun 16, 2026, 12:40 AM +0200) ce75faa0 9978253f

+10
+6
external/zsh/functions.zsh
··· 26 26 done 27 27 } 28 28 29 + function motd() { 30 + echo -ne '\e[2m' 31 + cat /etc/motd 32 + echo -ne '\e[0m' 33 + } 34 + 29 35 function cd() { 30 36 { z "$@" 2>/dev/null && eza --no-quotes --group-directories-first --icons=auto; } || { 31 37 echo "dir \e[91m$*\e[0m not found!! \e[91mSTUPID! BONK!\e[0m :3"
+4
home/modules/programs/zsh.nix
··· 70 70 source <(${pkgs.fzf}/bin/fzf --zsh) 71 71 source <(COMPLETE=zsh ${pkgs.jujutsu}/bin/jj) 72 72 73 + if [[ -f /etc/motd ]] && [[ ! -o login ]]; then 74 + motd || true 75 + fi 76 + 73 77 cuteff 74 78 ''; 75 79