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
Ben Hilburn
571a859413
Merge pull request #912 from brandon14/laravel_pormpt_fix
...
[Bugfix] Fix error in laravel_version when artisan is not present
6 years ago
Brandon Clothier
9739c68894
Missed a parenthesis here.
6 years ago
Ben Hilburn
e70ce43809
Merge pull request #915 from onaforeignshore/fix_truncate_to_unique
...
[Bugfix] Fix for "truncate_to_unique" strategy
6 years ago
Christo Kotze
dd25b5db12
truncate_to_unique - simplified the code
6 years ago
Brandon Clothier
ef1f29a5cb
Drop grep usage in favor of zsh regex test
6 years ago
Christo Kotze
38c8519f10
Changed getUniqueHomeFolder to use $HOME
...
It is a Posix specification that $HOME be set, so we can use that.
See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
6 years ago
Ben Hilburn
afcb1b7f84
Merge pull request #916 from AlexaraWu/patch/pyenv
...
Additional fix to `pyenv` segment
6 years ago
Alexara Wu
cff11d2e82
Fix `pyenv` segment
6 years ago
Christo Kotze
29c85be8d9
Fix for "truncate_to_unique" strategy
6 years ago
Ben Hilburn
22a761208d
Merge pull request #900 from AlexaraWu/patch/pyenv
...
Fix `pyenv` segment
6 years ago
Brandon Clothier
48b264f564
Fix error in laravel_version when artisan is not present
6 years ago
Alexara Wu
45fe401dc2
Improve conditions in `rbenv` & `pyenv`
6 years ago
Alexara Wu
9f09547ad1
Improve `rbenv` as well
6 years ago
Alexara Wu
25e2064f0e
Improve command check
6 years ago
Ben Hilburn
a7b3f310d3
Merge pull request #905 from robobenklein/robobenklein/defined-variable-performance-hotfix
...
[performance] Defined function 2-20 times speedup
6 years ago
Ben Hilburn
e1a420b5d2
Merge pull request #902 from dritter/fix_context_readme
...
Add new states to context segment in README
6 years ago
Ben Hilburn
e95be8f208
Update to `context` segment README
...
Just some minor spelling fixes.
6 years ago
Ben Hilburn
110a242ad4
Merge pull request #904 from dritter/fix_status
...
FIx status segment
6 years ago
Dominik Ritter
d502d05f08
Add tests for status segment
6 years ago
Ben Klein
45b0d68ec4
Replace `typeset` check with shellvar flag
...
More performance without changing functionality.
6 years ago
Dominik Ritter
8cd39beaad
FIx status segment
6 years ago
Dominik Ritter
d1fc86e598
Add new states to context segment in README
6 years ago
Ben Klein
002f7b81a1
Replace [[-v with `defined`
...
For zsh 5.1 compatibility.
6 years ago
Alexara Wu
fc39d9d6b8
Fix `pyenv` segment
6 years ago
Dominik Ritter
d031b3e035
Fix kubernetes segment
6 years ago
Ben Hilburn
579887d294
Merge branch 'master' into next
6 years ago
Ben Hilburn
51a8c283e6
Merge pull request #891 from krmcbride/patch-1
...
kubecontext: fix context, namespace comparison
6 years ago
Ben Hilburn
375d63f1d9
Merge pull request #888 from blackb1rd/Fix_os_detection_for_MSYS2
...
Fix os detection for MSYS
6 years ago
Ben Hilburn
da1e017f14
Merge pull request #886 from dritter/github_templates
...
Add GitHub templates
6 years ago
Ben Hilburn
626efb2928
Update PR Template
...
Adding more detail to the PR template first created by @dritter!
6 years ago
Ben Hilburn
fcc48e17ee
Updating the Issue Template
...
Building on the issue template from @dritter.
6 years ago
Kevin McBride
534ec66466
kubecontext: fix context, namespace comparison
6 years ago
blackb1rd
592e765a95
Fix os detection for MSYS2
6 years ago
Ben Hilburn
1db098bd9f
Updating CHANGELOG for v0.6.5
6 years ago
Dominik Ritter
c951a91579
Add link to troubleshooting guide in issue template
6 years ago
Dominik Ritter
cda6ee926c
Add github templates for issue reports and new pull requests
6 years ago
Ben Hilburn
348617040b
Merge pull request #859 from dritter/staging_065
...
Merging the staging branch for 0.6.5!
6 years ago
Dominik Ritter
bda3171237
Fix java_version segment
6 years ago
Dominik Ritter
8c0df73d81
Fix tests
6 years ago
Dominik Ritter
08a3801c81
Merge remote-tracking branch 'softmoth/clean-right-margin' into staging_065
6 years ago
Dominik Ritter
595bdb4fa3
Use cog glyph on all modes
6 years ago
Dominik Ritter
d09a46f9e0
Mute errors when asking for java version
6 years ago
Tim Smith
3989834bfe
Hide one-space indent at right margin
...
ZSH displays the right prompt indented one space from the right
margin. This can be tweaked with ZLE_RPROMPT_INDENT=0, but that
makes display problems very likely and I don't recommend it. But
all is not lost.
The %E prompt format does continue the current background color
through that last indent space. So it can *look* like our prompt
goes right up to the margin, if:
1) We remove the trailing space from the last segment, and
2) We add %E before clearing the background color
7 years ago
Dominik Ritter
b7681a00ca
Fix variable in README
...
- Fix the variable name for the VCS shorten strategy.
- Add a heading for VCS truncation.
7 years ago
Dominik Ritter
51b53cd4b5
Fix `rbenv` segment after merge
7 years ago
Dominik Ritter
dc21b97335
Fix travis build
7 years ago
Dominik Ritter
0257159e1e
Add tests for laravel version segment to travis
7 years ago
Dominik Ritter
a2d8cccd09
Add a Laravel version segment
7 years ago
Dominik Ritter
d9d9fb9b6b
Merge remote-tracking branch 'ytang/fix-icons-cut-off' into staging_065
...
Conflicts were:
- test/segments/command_execution_time.spec and
test/segments/go_version.spec: All conflicts come from renaming color
names on next (#703 ) and adding a whitespace to the Visual Identifier
(#854 ) on master.
7 years ago