adding some tweaks to use blesh
This commit is contained in:
parent
b7820724ee
commit
fe55bb5af3
|
@ -357,7 +357,7 @@ colors:
|
|||
# - (Linux/BSD) user login shell
|
||||
# - (Windows) powershell
|
||||
shell:
|
||||
program: fish
|
||||
program: bash
|
||||
# args:
|
||||
# - --login
|
||||
|
||||
|
|
|
@ -125,5 +125,6 @@ with lib;
|
|||
nix-index
|
||||
sqlite
|
||||
fennel
|
||||
blesh
|
||||
];
|
||||
}
|
||||
|
|
|
@ -32,6 +32,11 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
else
|
||||
if [ $(pgrep -c emacs) -gt 0 ]; then
|
||||
alacritty -e emacs --daemon
|
||||
exec emacsclient -c &
|
||||
else
|
||||
exec emacsclient -c &
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
btop
|
||||
htop
|
||||
unzip
|
||||
#blesh
|
||||
blesh
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
|
|
@ -449,9 +449,16 @@
|
|||
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)
|
||||
source $(blesh-share)/ble.sh
|
||||
ble-face auto_complete="fg=238"
|
||||
# eval "$(starship init bash)"
|
||||
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||
export LESS_TERMCAP_md=$'\e[1;32m'
|
||||
export LESS_TERMCAP_me=$'\e[0m'
|
||||
export LESS_TERMCAP_se=$'\e[0m'
|
||||
export LESS_TERMCAP_so=$'\e[01;33m'
|
||||
export LESS_TERMCAP_ue=$'\e[0m'
|
||||
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue