my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unnecessary argument

+2 -2
+2 -2
bin/prompt.go
··· 11 11 12 12 // getRepoRoot returns the full path to the root 13 13 // of the closest git dir 14 - func getRepoRoot(pwd string) string { 14 + func getRepoRoot() string { 15 15 var rootPath string 16 16 17 17 path, err := exec.Command("git", "rev-parse", "--show-toplevel").Output() ··· 41 41 emoji := resolveEmoji(host) 42 42 fmt.Printf("%s %s ", now, emoji) 43 43 44 - gitRoot := getRepoRoot(cwd) 44 + gitRoot := getRepoRoot() 45 45 46 46 var prefix string 47 47 if gitRoot == home {