Christian Höltje
7f6ac8dbac
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
7 years ago
Ben Hilburn
22a761208d
Merge pull request #900 from AlexaraWu/patch/pyenv
...
Fix `pyenv` segment
7 years ago
Alexara Wu
45fe401dc2
Improve conditions in `rbenv` & `pyenv`
7 years ago
Alexara Wu
9f09547ad1
Improve `rbenv` as well
7 years ago
Alexara Wu
25e2064f0e
Improve command check
7 years ago
Ben Hilburn
a7b3f310d3
Merge pull request #905 from robobenklein/robobenklein/defined-variable-performance-hotfix
...
[performance] Defined function 2-20 times speedup
7 years ago
Ben Hilburn
e1a420b5d2
Merge pull request #902 from dritter/fix_context_readme
...
Add new states to context segment in README
7 years ago
Ben Hilburn
e95be8f208
Update to `context` segment README
...
Just some minor spelling fixes.
7 years ago
Ben Hilburn
110a242ad4
Merge pull request #904 from dritter/fix_status
...
FIx status segment
7 years ago
Dominik Ritter
d502d05f08
Add tests for status segment
7 years ago
Ben Klein
45b0d68ec4
Replace `typeset` check with shellvar flag
...
More performance without changing functionality.
7 years ago
Dominik Ritter
8cd39beaad
FIx status segment
7 years ago
Dominik Ritter
d1fc86e598
Add new states to context segment in README
7 years ago
Ben Klein
002f7b81a1
Replace [[-v with `defined`
...
For zsh 5.1 compatibility.
7 years ago
Alexara Wu
fc39d9d6b8
Fix `pyenv` segment
7 years ago
Dominik Ritter
d031b3e035
Fix kubernetes segment
7 years ago
Ben Hilburn
579887d294
Merge branch 'master' into next
7 years ago
Ben Hilburn
51a8c283e6
Merge pull request #891 from krmcbride/patch-1
...
kubecontext: fix context, namespace comparison
7 years ago
Ben Hilburn
375d63f1d9
Merge pull request #888 from blackb1rd/Fix_os_detection_for_MSYS2
...
Fix os detection for MSYS
7 years ago
Ben Hilburn
da1e017f14
Merge pull request #886 from dritter/github_templates
...
Add GitHub templates
7 years ago
Ben Hilburn
626efb2928
Update PR Template
...
Adding more detail to the PR template first created by @dritter!
7 years ago
Ben Hilburn
fcc48e17ee
Updating the Issue Template
...
Building on the issue template from @dritter.
7 years ago
Kevin McBride
534ec66466
kubecontext: fix context, namespace comparison
7 years ago
blackb1rd
592e765a95
Fix os detection for MSYS2
7 years ago
Ben Hilburn
1db098bd9f
Updating CHANGELOG for v0.6.5
7 years ago
Dominik Ritter
c951a91579
Add link to troubleshooting guide in issue template
7 years ago
Dominik Ritter
cda6ee926c
Add github templates for issue reports and new pull requests
7 years ago
Ben Hilburn
348617040b
Merge pull request #859 from dritter/staging_065
...
Merging the staging branch for 0.6.5!
7 years ago
Dominik Ritter
bda3171237
Fix java_version segment
7 years ago
Dominik Ritter
8c0df73d81
Fix tests
7 years ago
Dominik Ritter
08a3801c81
Merge remote-tracking branch 'softmoth/clean-right-margin' into staging_065
7 years ago
Dominik Ritter
595bdb4fa3
Use cog glyph on all modes
7 years ago
Dominik Ritter
d09a46f9e0
Mute errors when asking for java version
7 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
Dominik Ritter
5eedb2586b
Merge remote-tracking branch 'Maxattax97/next' into staging_065
7 years ago
Dominik Ritter
40219759bb
Merge branch 'fix_rprompt_newline' into staging_065
7 years ago
Dominik Ritter
47e2aed4b2
Merge remote-tracking branch 'sambadevi/feature/etc-option-in-dir-segment' into staging_065
7 years ago
Dominik Ritter
db76380563
Merge remote-tracking branch 'sambadevi/feature/hide-battery-segment' into staging_065
7 years ago
Dominik Ritter
3456af3aac
Merge remote-tracking branch 'opes/chruby_options' into staging_065
7 years ago
Dominik Ritter
d3500625ca
Merge remote-tracking branch 'TheDan64/master' into staging_065
...
Conflicts were:
- test/segments/rust_version.spec and powerlevel9k.zsh-theme. #826
removes grep from parsing the rust version on next; #703 changes color
names.
7 years ago
Dominik Ritter
e763fa14b0
Merge remote-tracking branch 'chhschou/master' into staging_065
...
Conflicts were:
- powerlevel9k.zsh-theme and test/segments/rust_version.spec:
rust_version Segment changed (#641 ) on master and colors got
names (#703 ) on next.
7 years ago
Dominik Ritter
4c2f58bdbd
Merge remote-tracking branch 'VanRoy/master' into staging_065
...
Conflicts were:
- functions/icons.zsh: The Java Segment was added on master, but on next
were added various Segments with icons in the meantime.
- powerlevel9k.zsh-theme: Java Segment was added on master, Dropbox
Segment was added on next.
7 years ago
Dominik Ritter
154e923033
Merge remote-tracking branch 'floor114/next' into staging_065
7 years ago
Dominik Ritter
45ae153700
Merge remote-tracking branch 'guicassolato/fix-wrapper-slowness' into staging_065
...
Conflicts were:
- functions/vcs.zsh: Two commits avoided wrapper behaviour. #685
in grep, #797 in git.
7 years ago