Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: R. Boujbel <[email protected]>
  • Loading branch information
kit-ty-kate and rjbou authored Nov 15, 2024
1 parent 0a57d38 commit c962f33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/opamStd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1162,11 +1162,11 @@ module OpamSys = struct
match shell with
| SH_fish ->
Some (List.fold_left Filename.concat (home ".config") ["fish"; "config.fish"])
| SH_zsh -> (
| SH_zsh ->
let zsh_home f =
try Filename.concat (Unix.getenv "ZDOTDIR") f
try Filename.concat (Env.get "ZDOTDIR") f
with Not_found -> home f in
Some (zsh_home ".zshrc"))
Some (zsh_home ".zshrc")
| SH_bash ->
let shell =
(try
Expand Down

0 comments on commit c962f33

Please sign in to comment.