diff --git a/modules/home-manager/bash.nix b/modules/home-manager/bash.nix index 989237d..157c231 100644 --- a/modules/home-manager/bash.nix +++ b/modules/home-manager/bash.nix @@ -4,7 +4,9 @@ programs.bash = { enable = true; initExtra = '' - xset r rate 200 60 + [ "''${BASH_COMPLETION_VERSINFO-}" ] || unset -v BASH_COMPLETION_VERSINFO + + [ "$DISPLAY" ] && xset r rate 200 60 ##################### user specific aliases and functions ###################### if [ -d ~/.bashrc.d ]; then