Skip to content

Commit

Permalink
fish: add colon for fish manpath
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Sep 2, 2019
1 parent 316181c commit 3634880
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
Expand Up @@ -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 ->
Expand Down

0 comments on commit 3634880

Please sign in to comment.