Fix project strings
This commit is contained in:
parent
a86ee15cf3
commit
b307ed73c5
@ -101,7 +101,7 @@ func getParts(text string) []string {
|
||||
// Project.txt ^/home/user/projects/projecttxt @personal +projectxt contact:"Frank Workman" "Address 1":"1234 Work Place"
|
||||
func (project Project) String() string {
|
||||
text := fmt.Sprintf("%s ", project.Name)
|
||||
text += fmt.Sprintf("%s ", project.Directory)
|
||||
text += fmt.Sprintf("^%s ", project.Directory)
|
||||
if len(project.Contexts) > 0 {
|
||||
sort.Strings(project.Contexts)
|
||||
for _, context := range project.Contexts {
|
||||
|
Loading…
Reference in New Issue
Block a user