summaryrefslogtreecommitdiffstats
path: root/src/print.rs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-04-26 22:07:07 -0400
committerGitHub <noreply@github.com>2019-04-26 22:07:07 -0400
commit9a352c0acc8e387b27822177e826605a383070cd (patch)
tree84d1a5507627f42a29ca42d015ba33a73a5c1c35 /src/print.rs
parent85e4b11f0b440046e55012bf2b693a00e0862e85 (diff)
Add the Git branch segment (#32)
Added - Repository to Context for reuse in directory and git_branch - git_branch to prompt Changed - Made segments bold to match spaceship
Diffstat (limited to 'src/print.rs')
-rw-r--r--src/print.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.rs b/src/print.rs
index 836795d42..b175252eb 100644
--- a/src/print.rs
+++ b/src/print.rs
@@ -7,6 +7,7 @@ use crate::modules;
pub fn prompt(args: ArgMatches) {
let prompt_order = vec![
"directory",
+ "git_branch",
"nodejs",
"rust",
"python",