os-config: remove setfont from zsh

This commit is contained in:
Mateusz Słodkowicz 2024-04-06 18:50:52 +02:00
parent b014b62c60
commit 353bc71e19
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 0 additions and 6 deletions

View File

@ -11,12 +11,6 @@ in
enable = true; enable = true;
enableGlobalCompInit=false; enableGlobalCompInit=false;
interactiveShellInit = '' interactiveShellInit = ''
${ lib.optionalString (config.console.font != null)
''if [[ $(${pkgs.coreutils}/bin/echo $TTY | ${pkgs.gnugrep}/bin/grep "/dev/tty") ]] && [[ "$TERM" == "linux" ]]; then
setfont ${config.console.font}
fi''
}
if [[ ''${__MATERUS_HM_ZSH:-0} == 0 ]]; then if [[ ''${__MATERUS_HM_ZSH:-0} == 0 ]]; then
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
fi fi