()
| 157 | } |
| 158 | |
| 159 | func exportLfPath() { |
| 160 | lfPath, err := os.Executable() |
| 161 | if err != nil { |
| 162 | log.Printf("getting path to lf binary: %s", err) |
| 163 | lfPath = "lf" |
| 164 | } |
| 165 | os.Setenv("lf", quoteString(lfPath)) |
| 166 | } |
| 167 | |
| 168 | func exportOpts() { |
| 169 | for key, value := range getOptsMap() { |