mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix(fish): source opam env option
This commit is contained in:
parent
858c41e989
commit
d7d55059ce
3 changed files with 13 additions and 6 deletions
|
|
@ -47,12 +47,16 @@
|
|||
"/nix/var/nix/profiles/default/bin"
|
||||
];
|
||||
|
||||
interactiveShellInit = readConfigs [
|
||||
"interactiveShellInit"
|
||||
"bind"
|
||||
"colorscheme"
|
||||
"locale"
|
||||
];
|
||||
interactiveShellInit =
|
||||
readConfigs [
|
||||
"interactiveShellInit"
|
||||
"bind"
|
||||
"colorscheme"
|
||||
"locale"
|
||||
]
|
||||
+ lib.strings.optionalString config.fish.opamInit ''
|
||||
source ${config.home.homeDirectory}/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
'';
|
||||
|
||||
functions =
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue