config

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2013 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFile = "$HOME/.go_prompt"

Variables

This section is empty.

Functions

func WriteDefaultConfig

func WriteDefaultConfig() error

Types

type Config

type Config struct {
	Symbols  map[string]string                 `json:symbols`
	Theme    map[string]int                    `json:theme`
	Settings map[string]map[string]interface{} `json:settings`
	Maxdepth int                               `json:maxdepth`
	Segments []string                          `json:segments`
}

func LoadConfig

func LoadConfig() Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL