{"action":"closed","issue":{"url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1005","labels_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1005/labels{/name}","comments_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1005/comments","events_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1005/events","html_url":"https://github.com/sorin-ionescu/prezto/issues/1005","id":114157733,"number":1005,"title":"Custom prompt theme in Linux TTY","user":{"login":"computergeek125","id":2769995,"avatar_url":"https://avatars.githubusercontent.com/u/2769995?v=3","gravatar_id":"","url":"https://api.github.com/users/computergeek125","html_url":"https://github.com/computergeek125","followers_url":"https://api.github.com/users/computergeek125/followers","following_url":"https://api.github.com/users/computergeek125/following{/other_user}","gists_url":"https://api.github.com/users/computergeek125/gists{/gist_id}","starred_url":"https://api.github.com/users/computergeek125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computergeek125/subscriptions","organizations_url":"https://api.github.com/users/computergeek125/orgs","repos_url":"https://api.github.com/users/computergeek125/repos","events_url":"https://api.github.com/users/computergeek125/events{/privacy}","received_events_url":"https://api.github.com/users/computergeek125/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sorin-ionescu/prezto/labels/Discussion","name":"Discussion","color":"DC3345"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-29T22:06:48Z","updated_at":"2015-11-09T16:29:22Z","closed_at":"2015-11-09T16:29:22Z","body":"I noticed that in .zprezto/modules/prompt/init.zsh, the shell checks if it is in a dumb terminal and turns any custom prompt off.  I understand the logic in this for a serial terminal type scenario, but why also apply this to the Linux TTY?  I believe this is what is going on in #927 and #754\r\n\r\nBypassing this, I have had no issues running my custom prompt in the TTY.  Would it be possible to add additional options to choose whether to either enable the custom theme on the TTY, or select a second theme to use on the TTY?\r\n\r\nThis worked for me:\r\n\r\n.zpreztorc:\r\n\r\n    ...\r\n    # Set the prompt theme to load.\r\n    # Setting it to 'random' loads a random theme.\r\n    # Auto set to 'off' on dumb terminals.\r\n    zstyle ':prezto:module:prompt' theme 'powerlinerds'\r\n    zstyle ':prezto:module:prompt-linux' theme 'clint'\r\n    ...\r\n\r\nmodules/prompt/init.zsh:\r\n\r\n    # Load and execute the prompt theming system.\r\n    autoload -Uz promptinit && promptinit\r\n    \r\n    # Load the prompt theme.\r\n    zstyle -a ':prezto:module:prompt' theme 'prompt_argv'\r\n    zstyle -a ':prezto:module:prompt-linux' theme 'prompt_linux_argv'\r\n    \r\n    if [[ \"$TERM\" == (dumb|*bsd*) ]] || (( $#prompt_argv < 1 )); then\r\n      prompt 'off'\r\n    elif [[ \"$TERM\" == \"linux\" ]];then\r\n      prompt \"$prompt_linux_argv[@]\"\r\n    else\r\n      prompt \"$prompt_argv[@]\"\r\n    fi\r\n    unset prompt_argv\r\n    unset prompt_linux_argv\r\n\r\nTested on Ubuntu 14.04.3 LTS with ZSH 5.0.2 from apt-get."}}