Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make adam3 more backwards compatibleHEADmaster | Dennis Eriksen | 2024-06-07 | 1 | -8/+9 |
| | | | | | | | | Older versions of zsh (<5.0.6) don't like the ternary %() inside a start-color (%F{}), but will allept it the other way around. Also, zsh <5.1 don't like setting arrays on the same line as local/typeset | ||||
* | use emulate zsh with -L and -R instead of setopt | Dennis Eriksen | 2024-02-28 | 1 | -2/+4 |
| | | | | | | emulate -L zsh sets local_options, local_patterns, and local_traps. With -R all options get reset, which is nice inside a function that runs as much as precmd | ||||
* | Fix errors in license | Dennis Eriksen | 2023-12-12 | 1 | -1/+1 |
| | | | | | `prompt_adam3_setup` specified another license than what `LICENSE` did. Also renamed `LICENCE` to `LICENSE` | ||||
* | move venv after working dir and before git | Dennis Eriksen | 2023-10-22 | 1 | -5/+6 |
| | | | | placing venv-info makes more sense with git-info | ||||
* | fix bug where dir was shown wrongly | Dennis Eriksen | 2023-10-22 | 1 | -1/+1 |
| | | | | | | | in some edgecases working dir was shown weirdly. if working dir is less than five elements, just print all of it. restricting it to four elements has no effect, since when it reaches five elements it will be truncated. | ||||
* | Fix showing virtualenv | Dennis Eriksen | 2023-10-22 | 1 | -11/+22 |
| | | | | | | | The time was misplaced when showing virtualenv on smaller screens. Should be fixed now. Also added a variable to change the color of the virtualenv | ||||
* | show user@host when root | Dennis Eriksen | 2023-01-11 | 1 | -2/+2 |
| | |||||
* | Making prompt more customizable. | Dennis Eriksen | 2023-01-11 | 1 | -12/+45 |
| | | | | | | Adding globals for more stuff, so everything can be customized. Also, no longer show user@host if on localhost. Only show if using ssh. | ||||
* | Apparently %* does not zero-pad the hours. I want zero-padding. | Dennis Eriksen | 2023-01-06 | 1 | -2/+2 |
| | |||||
* | made it possible to specify both fore- and background color, AND boldness. ↵ | Dennis Eriksen | 2023-01-04 | 1 | -35/+63 |
| | | | | Also, added SHLVL when it gets higher than 10 | ||||
* | Added new way to calculate the value of the hostname | Dennis Eriksen | 2023-01-02 | 1 | -60/+41 |
| | | | | Added a simpler and more elegant way to find a numeric value of the hostname. Also, moved a few things around. | ||||
* | change the way we assemble the prompt. Now we cas measure the length and ↵ | Dennis Eriksen | 2023-01-02 | 1 | -29/+40 |
| | | | | slip into double-line-mode when the prompt exceeds 50% of the terminal | ||||
* | rewriting prompt. wip | Dennis Eriksen | 2023-01-01 | 1 | -53/+105 |
| | | | | Planning for better readability, better trunking of directories, and zero external dependencies. | ||||
* | check if variable is set in a proper way | Dennis Eriksen | 2022-11-23 | 1 | -1/+1 |
| | |||||
* | We need to initialize colors before we can use $reset_color | Dennis Eriksen | 2022-11-23 | 1 | -1/+2 |
| | |||||
* | add support for virtualenv | Dennis Eriksen | 2017-12-29 | 1 | -0/+1 |
| | |||||
* | bugfix | Dennis Eriksen | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | bugfix | Dennis Eriksen | 2017-06-06 | 1 | -1/+2 |
| | | | | you can't initiate an array with "local" in front | ||||
* | bugfixes | Dennis Eriksen | 2017-06-06 | 1 | -3/+3 |
| | |||||
* | adding status-code | Dennis Eriksen | 2017-05-23 | 1 | -0/+3 |
| | |||||
* | just reworking the code | Dennis Eriksen | 2017-05-23 | 1 | -29/+25 |
| | |||||
* | just added the possibility of using $ as promptchar | Dennis Eriksen | 2016-12-26 | 1 | -0/+2 |
| | |||||
* | removed one too many | Dennis Eriksen | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | moving the space again | Dennis Eriksen | 2016-06-08 | 1 | -6/+6 |
| | |||||
* | attempting to clean up the git-bit | Dennis Eriksen | 2016-06-07 | 1 | -9/+12 |
| | |||||
* | lets add some VCS info | Dennis Eriksen | 2016-05-20 | 1 | -7/+13 |
| | |||||
* | just adding more comments | Dennis Eriksen | 2016-05-20 | 1 | -0/+3 |
| | |||||
* | just adding a comment | Dennis Eriksen | 2016-05-20 | 1 | -4/+5 |
| | |||||
* | make promptchar bold red if root | Dennis Eriksen | 2015-06-29 | 1 | -2/+7 |
| | |||||
* | adding some comments | Dennis Eriksen | 2015-06-29 | 1 | -5/+10 |
| | |||||
* | adding multicolouring based on hostname | Dennis Eriksen | 2015-06-29 | 1 | -18/+35 |
| | |||||
* | renaming to adam3, and adding a lincence | Dennis Eriksen | 2015-06-29 | 1 | -0/+54 |