zsh/exa: Remove 23.05 guard
This commit is contained in:
parent
7441d4eb00
commit
df01f1e00d
|
@ -58,8 +58,7 @@ in
|
||||||
};
|
};
|
||||||
exa = {
|
exa = {
|
||||||
enable = true;
|
enable = true;
|
||||||
} // lib.optionalAttrs (pkgs.lib.versionAtLeast (pkgs.lib.substring 0 5 pkgs.lib.version) "23.05") {
|
enableAliases = true;
|
||||||
# FIXME: remove condition with 23.05
|
|
||||||
git = true;
|
git = true;
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--binary" # prefer MiB over MB etc.
|
"--binary" # prefer MiB over MB etc.
|
||||||
|
@ -95,13 +94,7 @@ in
|
||||||
userctl = "systemctl --user";
|
userctl = "systemctl --user";
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
vimdiff = "nvim -d";
|
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";
|
l = "exa -l";
|
||||||
la = "exa -la";
|
|
||||||
ll = "exa -l";
|
|
||||||
ls = "exa";
|
|
||||||
};
|
};
|
||||||
initExtra = lib.mkMerge [
|
initExtra = lib.mkMerge [
|
||||||
(lib.mkBefore ''
|
(lib.mkBefore ''
|
||||||
|
|
Loading…
Reference in a new issue