|
|
|
@ -17,7 +17,7 @@ func getRcLines(path string) ([]string, error) {
|
|
|
|
|
func parseRcLines(lines []string) { |
|
|
|
|
for _, line := range lines { |
|
|
|
|
line = strings.TrimSpace(line) |
|
|
|
|
if len(line) == 0 { |
|
|
|
|
if len(line) == 0 || line[0] == '#' { |
|
|
|
|
continue |
|
|
|
|
} |
|
|
|
|
command, _ := ParseCommandLine(line) |
|
|
|
|