anchor.diff:  # Show git info in bash prompt and display a colorful hostname if using ssh.
   programs.bash.promptInit = ''
   export GIT_PS1_SHOWDIRTYSTATE=1
  +#echo '1' 2>&1
   source ${pkgs.gitAndTools.gitFull}/share/git/contrib/completion/git-prompt.sh
  +#echo '2' 2>&1
   __prompt_color="1;32m"
   # Alternate color for hostname if the generated color clashes with prompt color
   __alternate_color="1;33m"
  
positive.code: 
  #FIXME: is there a match?!
    fileSystems = if vbox1 == config.networking.hostName then {
      "/vmsh" = {
        fsType = "vboxsf";
        device = "vmsharedfolder";
        options = [ "rw" ];
  
negative.code: fi
  fi
  __red="1;31m"
  #echo '3' 2>&1
  PS1='\n$(ret=$?; test $ret -ne 0 && printf "\[\e[$__red\]$ret\[\e[0m\] ")\[\e[$__prompt_color\]\u@\[\e[$__hostnamecolor\]\h \[\e[$__prompt_color\]\w$(__git_ps1 " [git:%s]")\[\e[0m\]\n$ '
  #echo '4' 2>&1 #FIXME: that grep error is beyond this, lookslike
  '';
  
  #TODO: add alias in .bashrc ? ls -rlact  for showing the right date/timestamp in /nix/store/
  
  programs.bash.enableCompletion = true;
  
  