add editor env

This commit is contained in:
Ivan Dimitrov 2024-04-17 13:06:01 +03:00
parent 480704802e
commit ad92b00538

View File

@ -3,7 +3,18 @@
nushell = {
enable = true;
environmentVariables = {
config = ''{
show_banner: false,
completions: {
quick: true
partial: true
algorithm: "fuzzy"
}
}
'';
PASSWORD_STORE_DIR = "([$env.HOME, '.password-store'] | str join '/')";
PATH = "($env.PATH | split row (char esep) | append ([$env.HOME, '.local', 'bin'] | str join '/'))";
EDITOR = "nvim";
};
shellAliases = {
gcal = ''
@ -21,19 +32,6 @@
sway
}
'';
extraConfig = ''
$env.config = {
show_banner: false,
completions: {
quick: true
partial: true
algorithm: "fuzzy"
}
}
$env.PATH = ($env.PATH | split row (char esep) |
append ([$env.HOME, '.local', 'bin'] | str join '/')
)
'';
};
starship = {
enable = true;