summaryrefslogtreecommitdiff
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* replace all -v checks with equivalents (trying to port to zsh 5.2)romkatv2019-04-302-3/+3
|
* protect set_default from user-defined optionsromkatv2019-04-221-0/+1
|
* Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidateMing Aldrich-Gan2019-04-051-0/+5
|
* Add VCS_LOADING_ICON to the icons mapSam Miller2019-04-021-0/+5
|
* check for joined segments when figuring out whether vcs is enabled; fixes #41romkatv2019-03-261-2/+4
|
* expand string parameters with (g::) where appropriateromkatv2019-03-181-0/+12
|
* fix POWERLEVEL9K_SHORTEN_DELIMITERromkatv2019-03-141-2/+0
|
* don't read configuration options until the first precmd; plus massive ↵romkatv2019-03-133-833/+565
| | | | refactoring and cleanup
* Merge pull request #1126 from Shini31/masterDominik Ritter2019-02-261-0/+55
|\ | | | | Use ip command for VPN segment - fix #1125
| * Strip all newlines from ifconfig outputDominik Ritter2019-02-221-1/+1
| |
| * Fix regexDominik Ritter2019-02-221-1/+1
| |
| * Interface States can be unsortedDominik Ritter2019-02-211-3/+7
| |
| * Avoid loopback interfaces and parse IPv4 on OSXDominik Ritter2019-02-061-1/+4
| |
| * Fix regular expression and testDominik Ritter2019-02-041-1/+1
| |
| * Merge remote-tracking branch 'ben/master' into HEADDominik Ritter2019-02-031-1/+3
| |\
| * | Parse IPs properlyDominik Ritter2019-02-031-0/+48
| | | | | | | | | | | | | | | | | | | | | This is done if we want to show a public IP, internal IP, or a VPN. In the VPN case, what we actually want is to display an indicator that a VPN is active, instead of the VPN IP itself. We parse the IP here anyway, because we want to save some specific code there.
* | | Hide errors from git ls-files🐈2019-02-061-2/+2
| |/ |/|
* | Merge pull request #981 from pgierz/os_release_fixDominik Ritter2019-01-241-1/+3
|\ \ | |/ |/| [Bugfix] Fix for #974
| * Avoid externals when parsing the os release on linuxDominik Ritter2019-01-241-1/+1
| |
| * Fix for #974Paul Gierz2018-09-071-1/+3
| |
* | Port #1071 to `master` (fatal errors emitted by untracked file check in vcs.zsh)Matthew Judy2018-11-181-27/+17
| |
* | Merge pull request #1065 from dritter/protect_localeDominik Ritter2018-11-171-0/+2
|\ \ | | | | | | Protect locale
| * | Protect users localeDominik Ritter2018-11-051-0/+2
| |/
* | Fix checking for untracked filesDominik Ritter2018-11-121-1/+15
| | | | | | | | | | Now the untracked files are always checked from the root folder of the repo.
* | Fix stashes displayDominik Ritter2018-11-121-22/+6
| | | | | | | | | | | | | | 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.
* | Fix error if user cds into a .git directoryDominik Ritter2018-11-121-4/+22
| | | | | | | | | | | | 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.
* | Avoid warning when inside of .git dirDominik Ritter2018-11-121-0/+2
| | | | | | | | | | We cannot detect untracked files when we are inside of a .git directory.
* | Count stashes via ZSHDominik Ritter2018-11-121-5/+3
| |
* | Avoid aliasesDominik Ritter2018-11-061-1/+1
| |
* | Get rid of externals when truncating branch nameDominik Ritter2018-11-061-3/+3
| |
* | When checking for untracked or modified files, take submodules into accountDominik Ritter2018-11-031-1/+1
| |
* | Speedup VCS segmentDominik Ritter2018-11-031-11/+5
| | | | | | | | | | | | | | 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.
* | Make use of git dir determined by VCS_INFO subsystemDominik Ritter2018-11-031-1/+1
| | | | | | | | instead of determine the git dir manually.
* | Get branch name from VCS_INFO subsystem when collecting remote branchDominik Ritter2018-11-031-2/+2
| |
* | Get branch name from VCS_INFO subsystem when collecting ahead/behind infoDominik Ritter2018-11-031-7/+5
| |
* | Get rid of wc dependency when showing ahead/behind infoDominik Ritter2018-11-031-2/+2
|/
* Change bright colors to old color codesDominik Ritter2018-08-171-12/+12
| | | | | Before this, there was no difference in that colors, as we always used the bright color codes.
* Merge remote-tracking branch 'eloo/master' into prepare_066Dominik Ritter2018-08-121-54/+54
|\
| * Add fallback icon for linux distrosJoseph Weigl2018-08-111-54/+54
| |
* | Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-081-322/+297
|\ \
| * | Write comparison with double quotesDominik Ritter2018-08-081-1/+1
| | |
| * | Pad colors with zeroesDominik Ritter2018-08-081-1/+2
| | |
| * | Always use color codes instead of named colorsDominik Ritter2018-08-081-34/+25
| | | | | | | | | | | | | | | | | | This Code was to check if the color is supported by the Terminal Emulator. This is not necessary, if we always use the numerical code. This makes the code much clearer.
| * | Fix bright colorsDominik Ritter2018-08-081-6/+0
| | | | | | | | | | | | | | | | | | Remove old code that set bright colors equal to normal colors. This code was ancient and led to bright colors being unusable. The code originates from 0e37d8ef865daddd6af02ba78b4a3bb86fd5917e.
| * | Make colors a global arrayDominik Ritter2018-08-071-265/+267
| | | | | | | | | | | | That way it must not be defined in every function call.
| * | Write comparisons with double equalsDominik Ritter2018-08-071-1/+1
| | |
| * | Fix bright colorsDominik Ritter2018-08-071-6/+2
| | | | | | | | | | | | | | | | | | Remove old code that set bright colors equal to normal colors. This code was ancient and led to bright colors being unusable. The code originates from 0e37d8ef865daddd6af02ba78b4a3bb86fd5917e.
| * | Make purpose clear of backgroundColor and foregroundColor functionsDominik Ritter2018-08-071-12/+4
| | | | | | | | | | | | | | | The functions just start the colors, they do not end them. It seems too much to have a function that terminates a color.
* | | Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-061-0/+2
|\| |
| * | Add missing colors to fix color comparisonDominik Ritter2018-07-241-0/+2
| |/ | | | | | | | | Added magenta and cyan that were only present with their alternative names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme