Commit Graph

26 Commits

Author SHA1 Message Date
Matt Hamilton
d13614e3bb [prompt] change unset variable test
The old test, [[ ${var} ]] tests for unset AND zero-length strings.

Checking for zero length strings probably isn't that important. It is
enough to ensure that the variable is set.

Closes #18
2016-01-08 09:16:22 -05:00
Matt Hamilton
9f838982fb [prompt] syntax refactor 2016-01-07 08:10:29 -05:00
caedus75
b46edd43a8 [prompt] add setup function to themes
proper setup and preview of themes with 'prompt' function

closes #12, closes #15
2016-01-07 08:07:11 -05:00
Matt Hamilton
5f68411637 [prompt] gitster: use short_pwd 2016-01-06 09:41:40 -05:00
Matt Hamilton
be23020b2e [prompt] eriner: use short_pwd 2016-01-05 04:15:21 -05:00
Matt Hamilton
69b194302c [prompt] add short_pwd func 2016-01-05 04:15:13 -05:00
caedus75
f2806b45bf fix prompt substitutions/expansions
The 'prompt' function disables any option set with 'setopt'.
To make options persistent we need to use the 'prompt_opts' array
instead

Closes #8
2015-12-30 04:42:31 -05:00
Matt Hamilton
b7977d28f2 add powerline symbols note 2015-12-29 11:19:36 -05:00
Matt Hamilton
1ee4d85547 fix gitster prompt 2015-12-27 21:13:08 -05:00
Matt Hamilton
598326aa9f fix minimal prompt 2015-12-27 21:11:58 -05:00
Matt Hamilton
5572a2330d update steef again 2015-12-22 10:52:15 -05:00
Matt Hamilton
6fa8dcb95d update steeef prompt 2015-12-22 09:47:19 -05:00
Matt Hamilton
fb549f108a use autoload -Uz, not -U 2015-12-21 20:16:43 -05:00
Matt Hamilton
3fce9ee626 move themes to wiki, add links 2015-12-18 12:04:35 -05:00
Matt Hamilton
02ec35a8d4 add gitster theme 2015-12-18 11:02:56 -05:00
Matt Hamilton
5cf08f503f add minimal prompt 2015-12-18 10:51:58 -05:00
Matt Hamilton
a08039ca4a add locale safety and user check 2015-12-18 10:11:49 -05:00
Matt Hamilton
818beef89d add liquidprompt 2015-12-18 03:56:51 -05:00
Matt Hamilton
c58e75ca82 add pure prompt 2015-12-18 03:49:51 -05:00
Matt Hamilton
18e2d7cf1a reword prompt documentation 2015-12-16 17:37:59 -05:00
Matt Hamilton
6655251240 fix symlink, not sure how they broke 2015-12-15 22:19:11 -05:00
Matt Hamilton
66941895f6 update function names in eriner prompt 2015-12-15 21:51:28 -05:00
Matt Hamilton
25cec0876a update eriner prompt 2015-12-15 19:21:06 -05:00
Matt Hamilton
0783d12ca3 add steef prompt 2015-12-15 14:05:59 -05:00
Matt Hamilton
27fa153b83 add prompt documentation 2015-12-15 03:04:25 -05:00
Matt Hamilton
3a62391e0e initial commit 2015-12-15 00:12:17 -05:00