Commit Graph

2104 Commits (194db2e429fa44e78eb770c150c56135d3f33e13)
 

Author SHA1 Message Date
Dominik Ritter e47b0daaf7
Merge pull request #1036 from dritter/fix_truncate_package_name
Make truncate with package name work without setting shorten length
6 years ago
Evan Schiewe faa4cb23af
Uniformly apply inline code formatting
All POWERLEVEL variables and directory paths should be formatted with backticks for inline code.  If not marked as code, the ~ home directory can unintentionally apply strikethrough.
6 years ago
Dominik Ritter 4ebb9f92a1 Ensure that LC_CTYPE IS NOT overwritten by P9K 6 years ago
Ben Hilburn c7d8ef07b7
Merge pull request #1061 from dritter/speedup_vcs4_master
Backport of vcs-speedup #4 into master.
6 years ago
Dominik Ritter 6cfe8f8d96 Add test for detecting untracked files from sibling folder 6 years ago
Dominik Ritter fd660f4b92 Fix checking for untracked files
Now the untracked files are always checked from
the root folder of the repo.
6 years ago
Dominik Ritter a6e60def4b Fix stashes display
Changing directories while checking for untracked files broke
the display of git stashes. The hook was not called any more.
This is why we disabled checking for untracked files within a
.git folder.
6 years ago
Dominik Ritter 645b974677 Fix error if user cds into a .git directory
In this case is was previously not possible to get the untracked
status. Now we temporarily change the directory to the repo root
folder and then get the list of untracked files.
6 years ago
Dominik Ritter a90258a9ee Avoid warning when inside of .git dir
We cannot detect untracked files when we are inside of
a .git directory.
6 years ago
Dominik Ritter 3256258ebf Count stashes via ZSH 6 years ago
Ben Hilburn 78df520772
Merge pull request #1055 from dritter/speedup_vcs_master2
Backporting VCS speedups to master
6 years ago
Dominik Ritter 2038e2650c Avoid aliases 6 years ago
Dominik Ritter 48f0cc11ef Get rid of externals when truncating branch name 6 years ago
Ben Hilburn 23f0a1ddcc
Merge pull request #1048 from dritter/speedup_vcs_master
Speedup vcs master
6 years ago
Dominik Ritter 3d960a5169 Protect users locale 6 years ago
Dominik Ritter 9d84e6fb6a Add tests for complex git submodule scenarios 6 years ago
Dominik Ritter c3f9d04354 When checking for untracked or modified files, take submodules into account 6 years ago
Dominik Ritter 44b4b66925 Speedup VCS segment
Now the untracked files are detected via `git ls-files`, which is
much faster than `git status`. Additionally, we flipped the default
for checking submodules. They are now NOT checked by default, as most
users probably do not use git submodules.
6 years ago
Dominik Ritter d07507c1eb Make use of git dir determined by VCS_INFO subsystem
instead of determine the git dir manually.
6 years ago
Dominik Ritter 9a67ca5bc3 Get branch name from VCS_INFO subsystem when collecting remote branch 6 years ago
Dominik Ritter fea5f616d1 Get branch name from VCS_INFO subsystem when collecting ahead/behind info 6 years ago
Dominik Ritter cd0ad84b01 Get rid of wc dependency when showing ahead/behind info 6 years ago
Dominik Ritter 993de7aef9 Fix vpn_ip segment 6 years ago
Dominik Ritter dc731f10e6 Make truncate with package name work without setting shorten length 6 years ago
Dominik Ritter ad14807cef
Merge pull request #1020 from dritter/fix_context_spec
Fix context spec
6 years ago
Dominik Ritter d831f12126 Do not throw away users configuration 6 years ago
Dominik Ritter d1cd83bf0b Fix tests
It seems like Travis changed their infrastructure. We
need to unset SSH_TTY and SSH_CLIENT to get the tests
working again.
6 years ago
Yang Tang 5737ca6e81 Remove extra %f in unit tests 6 years ago
Yang Tang a98fa7ff54
Merge branch 'master' into fix-rprompt-icons-cut-off 6 years ago
Ben Hilburn b16c0d51d6
Merge pull request #990 from sblondon/sblondon-fogottenbacktick
[Docs] Add forgotten backtick
6 years ago
sblondon 544a383dad
Add forgotten backtick
`truncate_to_first_and_last` is not properly displayed because the ending backtick is not there.
6 years ago
Paul Gierz 735994f82e Fix for #974 6 years ago
Ben Hilburn 358c105de7 Oops, this change should have been in last commit. 6 years ago
Ben Hilburn 572b7a1299 Removing `rbenv` from default LPROMPT list. 6 years ago
Ben Hilburn 54d4aee6f4 Updating CHANGELOG for v0.6.6 6 years ago
Ben Hilburn 96f3c1da10
Merge pull request #959 from dritter/fix_color_values
[Discussion] Change bright colors to old version
6 years ago
Dominik Ritter 94897a40f0 Fix tests 6 years ago
Dominik Ritter d326ba6b1b Merge remote-tracking branch 'ben/master' into fix_color_values 6 years ago
Ben Hilburn e207dec8de
Merge pull request #944 from dritter/prepare_066
Preparing for v0.6.6 release!
6 years ago
Yang Tang 24bbbfc9bd Update unit tests for fixing RPROMPT icons cut off 6 years ago
Yang Tang 877ef61773 Fix icons cut off in RPROMPT segments 6 years ago
Dominik Ritter df0c2198a0 Fix tests 6 years ago
Dominik Ritter 8e966e3636 Change bright colors to old color codes
Before this, there was no difference in that colors, as we always used
the bright color codes.
6 years ago
Dominik Ritter 69c69b9cd9 Merge remote-tracking branch 'nnja/patch-1' into prepare_066 6 years ago
Nina Zakharenko cd723e7792
Fix broken link in README referencing date and time configuration
Fix broken link referencing zsh date and time configuration in prompt expansion. 

The current broken link points to `http://zsh.sourceforge.net/Doc/Release Prompt-Expansion.html`, while the correct link is http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Date-and-time
6 years ago
Dominik Ritter 6e78f7e793 Merge remote-tracking branch 'eloo/master' into prepare_066 6 years ago
Joseph Weigl 34bf8edc89
Add fallback icon for linux distros 6 years ago
Dominik Ritter 2700cb46f5 Merge remote-tracking branch 'docwhat/pr/sudo-check' into prepare_066 6 years ago
Christian Höltje 3fb0383956 Use SUDO_COMMAND to check for sudo
`sudo -n true` only checks that we _could_ use `sudo`, not if we are in
a sudo session.

closes #852
6 years ago
Dominik Ritter 7a1319c2d9 Add tests for color comparisons with none colors 6 years ago