zsh/exa: Remove 23.05 guard

This commit is contained in:
Simon Bruder 2023-05-30 14:12:09 +02:00
parent 7441d4eb00
commit df01f1e00d
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -58,8 +58,7 @@ in
};
exa = {
enable = true;
} // lib.optionalAttrs (pkgs.lib.versionAtLeast (pkgs.lib.substring 0 5 pkgs.lib.version) "23.05") {
# FIXME: remove condition with 23.05
enableAliases = true;
git = true;
extraOptions = [
"--binary" # prefer MiB over MB etc.
@ -95,13 +94,7 @@ in
userctl = "systemctl --user";
vim = "nvim";
vimdiff = "nvim -d";
} // lib.optionalAttrs (pkgs.lib.versionOlder (pkgs.lib.substring 0 5 pkgs.lib.version) "23.05") {
# FIXME: remove with 23.05
exa = "exa --git --binary";
l = "exa -l";
la = "exa -la";
ll = "exa -l";
ls = "exa";
};
initExtra = lib.mkMerge [
(lib.mkBefore ''