updating and adding blesh

This commit is contained in:
Chris Cochrun 2022-08-09 05:33:19 -05:00
parent b85757c316
commit 51a99a82d9
6 changed files with 133 additions and 62 deletions

View file

@ -409,7 +409,36 @@
recursive = true;
};
programs.starship.enable = true;
home.shellAliases = {
ls = "exa -l";
la = "exa -la";
mpf = "mpv --profile=fast";
mps = "mpv --profile=slow";
ec = "emacsclient -t";
ecc = "emacsclient -c";
mkdir = "mkdir -pv";
nupd = "update-nix";
nupg = "upgrade-nix";
suspend = "systemctl suspend";
sysuse = "systemctl --user";
myip = "curl icanhazip.com";
ytd = "yt-dlp -o ~/Videos/%(title)s.%(ext)s";
};
programs.starship = {
enable = true;
enableBashIntegration = true;
};
programs.bash = {
enable = true;
bashrcExtra = ''
source $(blesh-share)
ble-face auto_complete="fg=238"
eval "$(starship init bash)"
'';
};
programs.zsh = {
enable = true;
enableAutosuggestions = true;