stashing
This commit is contained in:
parent
0fd2177bd0
commit
b39414b1e7
3 changed files with 19 additions and 21 deletions
|
@ -18,19 +18,19 @@ in
|
|||
environment.pathsToLink = ["/share/zsh"];
|
||||
|
||||
home-manager.users.${user} = {
|
||||
xdg.configFile."zsh-abbreviations" = {
|
||||
target = "zsh/abbreviations";
|
||||
text = let
|
||||
abbrevs = {
|
||||
ls = "eza -al";
|
||||
};
|
||||
in ''
|
||||
${concatStrings (mapAttrsToList
|
||||
(k: v: "abbr ${k}=${escapeNixString v}")
|
||||
abbrevs
|
||||
)}
|
||||
'';
|
||||
};
|
||||
# xdg.configFile."zsh-abbreviations" = {
|
||||
# target = "zsh/abbreviations";
|
||||
# text = let
|
||||
# abbrevs = {
|
||||
# ls = "eza -al";
|
||||
# };
|
||||
# in ''
|
||||
# ${concatStrings (mapAttrsToList
|
||||
# (k: v: "abbr ${k}=${escapeNixString v}")
|
||||
# abbrevs
|
||||
# )}
|
||||
# '';
|
||||
# };
|
||||
|
||||
programs = {
|
||||
starship.enableZshIntegration = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue