about summary refs log tree commit diff
path: root/Functions/Prompts/prompt_redhat_setup
blob: 87679789927193974287551800a4fbe5e5b30fb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Converted to zsh prompt theme by bash2zshprompt, written by <adam@spiers.net>
# Red Hat Default Prompt
# Styled like the default prompt in Red Hat 5.1
#
prompt_redhat_setup () {
  PS1="[%n@%m %1~]\\$ "
  PS2="> "

  precmd () { setopt promptsubst }
  preexec () { }
}

prompt_redhat_setup "$@"