-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't add options to "cwd" #510
Comments
Setting aside the issue that your configuration as shown is invalid JSON, the configuration options for individual segments belong outside of the {
"segments": [
"ssh",
"cwd",
"git",
"hg",
"jobs",
"root"
],
"cwd": {
"max_dir_size": 2
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I must be stupid or something but i can't get "max_dir_size" to work.
My code look like this:
{
"segments": [
"ssh",
"cwd" {
max_dir_size:2
}
"git",
"hg",
"jobs",
"root"
]
}
}
My error is:
[powerline-bash] Config file (/data/data/com.termux/files/home/.config/powerline-shell/config.json) could not be decoded! Error: Expecting ',' delimiter: line 4 column 11 (char 39)
The text was updated successfully, but these errors were encountered: