Skip to content

Commit

Permalink
Merge pull request #3886 from rjbou/man-fish
Browse files Browse the repository at this point in the history
fish: add colon for fish manpath
AltGr authored Jun 27, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents f8880db + 5d2b82c commit feee707
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/client/opamConfigCommand.ml
Original file line number Diff line number Diff line change
@@ -166,7 +166,12 @@ let print_sexp_env env =

let rec print_fish_env env =
let set_arr_cmd k v =
let v = OpamStd.String.split v ':' in
let v =
OpamStd.String.split v ':'
|> function
| x::v' -> (":"^x)::v'
| v -> v
in
OpamConsole.msg "set -gx %s %s;\n" k
(OpamStd.List.concat_map " "
(fun v ->

0 comments on commit feee707

Please sign in to comment.