2023-07-01 12:12:43 +02:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
# Configure BASH exports
|
2023-07-01 12:37:34 +02:00
|
|
|
programs.powerline-go.enable = true;
|
2023-07-01 12:12:43 +02:00
|
|
|
programs = {
|
|
|
|
bash = {
|
2023-07-01 12:39:48 +02:00
|
|
|
enable = true;
|
2023-07-01 12:12:43 +02:00
|
|
|
enableCompletion = true;
|
|
|
|
shellAliases = {
|
|
|
|
d = "docker";
|
|
|
|
dc = "docker-compose";
|
|
|
|
de = "docker exec -it";
|
|
|
|
ddate = "date +%Y.%m.%d";
|
|
|
|
dday = "date +%A";
|
|
|
|
cp = "rsync -avr";
|
|
|
|
g = "git";
|
|
|
|
ga = "git add -A";
|
|
|
|
gb = "git branch";
|
|
|
|
gc = "git commit";
|
|
|
|
gca = "git commit -a";
|
|
|
|
gco = "git checkout";
|
|
|
|
gd = "git diff";
|
|
|
|
gp = "git pull --prune";
|
|
|
|
gpu = "git push origin HEAD";
|
|
|
|
gs = "git status -sb";
|
|
|
|
hs = "home-manager switch";
|
|
|
|
ll = "ls -lah";
|
|
|
|
rm = "rm -i";
|
|
|
|
tdate = "date +%Y.%m.%d..%H.%M";
|
|
|
|
ttime = "date +%H.%M";
|
|
|
|
nr = "nixos-rebuild";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|