making blesh only work on smarter terminals and not in emacs
This commit is contained in:
parent
c39264760e
commit
46dcc769b3
|
@ -72,8 +72,12 @@
|
|||
enable = true;
|
||||
bashrcExtra = ''
|
||||
# export ENV_EFI_CODE_SECURE=/run/libvirt/nix-ovmf/OVMF_CODE.fd ENV_EFI_VARS_SECURE=/run/libvirt/nix-ovmf/OVMF_VARS.fd
|
||||
source $(blesh-share)/ble.sh
|
||||
ble-face auto_complete="fg=238"
|
||||
|
||||
if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then
|
||||
source $(blesh-share)
|
||||
ble-face auto_complete="fg=238"
|
||||
fi
|
||||
|
||||
# eval "$(starship init bash)"
|
||||
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||
export LESS_TERMCAP_md=$'\e[1;32m'
|
||||
|
|
Loading…
Reference in a new issue