aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/prompt_adam3_setup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make adam3 more backwards compatibleHEADmasterDennis Eriksen2024-06-071-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 setoptDennis Eriksen2024-02-281-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 licenseDennis Eriksen2023-12-121-1/+1
| | | | | `prompt_adam3_setup` specified another license than what `LICENSE` did. Also renamed `LICENCE` to `LICENSE`
* move venv after working dir and before gitDennis Eriksen2023-10-221-5/+6
| | | | placing venv-info makes more sense with git-info
* fix bug where dir was shown wronglyDennis Eriksen2023-10-221-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 virtualenvDennis Eriksen2023-10-221-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 rootDennis Eriksen2023-01-111-2/+2
|
* Making prompt more customizable.Dennis Eriksen2023-01-111-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 Eriksen2023-01-061-2/+2
|
* made it possible to specify both fore- and background color, AND boldness. ↵Dennis Eriksen2023-01-041-35/+63
| | | | Also, added SHLVL when it gets higher than 10
* Added new way to calculate the value of the hostnameDennis Eriksen2023-01-021-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 Eriksen2023-01-021-29/+40
| | | | slip into double-line-mode when the prompt exceeds 50% of the terminal
* rewriting prompt. wipDennis Eriksen2023-01-011-53/+105
| | | | Planning for better readability, better trunking of directories, and zero external dependencies.
* check if variable is set in a proper wayDennis Eriksen2022-11-231-1/+1
|
* We need to initialize colors before we can use $reset_colorDennis Eriksen2022-11-231-1/+2
|
* add support for virtualenvDennis Eriksen2017-12-291-0/+1
|
* bugfixDennis Eriksen2017-06-061-1/+1
|
* bugfixDennis Eriksen2017-06-061-1/+2
| | | | you can't initiate an array with "local" in front
* bugfixesDennis Eriksen2017-06-061-3/+3
|
* adding status-codeDennis Eriksen2017-05-231-0/+3
|
* just reworking the codeDennis Eriksen2017-05-231-29/+25
|
* just added the possibility of using $ as promptcharDennis Eriksen2016-12-261-0/+2
|
* removed one too manyDennis Eriksen2016-06-081-1/+1
|
* moving the space againDennis Eriksen2016-06-081-6/+6
|
* attempting to clean up the git-bitDennis Eriksen2016-06-071-9/+12
|
* lets add some VCS infoDennis Eriksen2016-05-201-7/+13
|
* just adding more commentsDennis Eriksen2016-05-201-0/+3
|
* just adding a commentDennis Eriksen2016-05-201-4/+5
|
* make promptchar bold red if rootDennis Eriksen2015-06-291-2/+7
|
* adding some commentsDennis Eriksen2015-06-291-5/+10
|
* adding multicolouring based on hostnameDennis Eriksen2015-06-291-18/+35
|
* renaming to adam3, and adding a lincenceDennis Eriksen2015-06-291-0/+54