zsh-users
 help / color / mirror / code / Atom feed
* Do NOT show time in prompt
@ 2017-03-13 10:36 ` Alexander Skwar
  2017-03-13 10:44   ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Skwar @ 2017-03-13 10:36 UTC (permalink / raw)
  To: zsh-users

Hello

Somehow, I managed to setup my system so, that the current time is
always shown in the prompt on the right hand side of the current
line. How can I get rid of that?

I do not have a RPROMPT set and my PROMPT is just:

(%B%m <%1/>%b) %? %B%#%b

My full "set" is this:

'!'=0
'#'=0
'$'=22386
'*'=(  )
-=569XZilms
0=-zsh
'?'=0
@=(  )
ARGC=0
CDPATH=''
COLUMNS=211
CPUTYPE=x86_64
EDITOR=vim
EGID=1001
EUID=1001
FIGNORE=''
FPATH=/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle
GID=1001
HISTCHARS='!^#'
HISTCMD=20
HISTFILE=/home/ask/.history
HISTIGNORE='&:ls:ll:la:dir:vdir:[bf]g:exit'
HISTSIZE=10000
HOME=/home/ask
HOST=ewunix-desk01-dev
IFS='
'
KEYBOARD_HACK=''
KEYTIMEOUT=40
LANG=de_CH.UTF-8
LC_ADDRESS=de_CH.UTF-8
LC_IDENTIFICATION=de_CH.UTF-8
LC_MEASUREMENT=de_CH.UTF-8
LC_MONETARY=de_CH.UTF-8
LC_NAME=de_CH.UTF-8
LC_NUMERIC=de_CH.UTF-8
LC_PAPER=de_CH.UTF-8
LC_TELEPHONE=de_CH.UTF-8
LC_TIME=en_US
LESSCLOSE='/usr/bin/lesspipe %s %s'
LESSOPEN='| /usr/bin/lesspipe %s'
LINENO=6
LINES=63
LISTMAX=100
LOGCHECK=60
LOGNAME=ask
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
MACHTYPE=x86_64
MAIL=/var/mail/ask
MAILCHECK=60
MAILPATH=''
MANPATH=''
MODULE_PATH=/usr/lib/x86_64-linux-gnu/zsh/5.1.1
NULLCMD=cat
OLDPWD=/home/ask
OPTARG=''
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PPID=22385
PROMPT='(%B%m <%1/>%b) %? %B%#%b '
PROMPT2='%_> '
PROMPT3='?# '
PROMPT4='+%N:%i> '
PS1='(%B%m <%1/>%b) %? %B%#%b '
PS2='%_> '
PS3='?# '
PS4='+%N:%i> '
PSVAR=''
PWD=/home/ask
RANDOM=1368
READNULLCMD=/usr/bin/pager
RPS1='[%D{%H:%M}]'
SAVEHIST=10000
SECONDS=104
SHELL=/bin/zsh
SHLVL=1
SPROMPT='zsh: correct '\''%R'\'' to '\''%r'\'' [nyae]? '
SSH_AUTH_SOCK=/tmp/ssh-gI4pUpnQY2/agent.22385
SSH_CLIENT='192.168.252.71 38302 22'
SSH_CONNECTION='192.168.252.71 38302 192.168.252.88 22'
SSH_TTY=/dev/pts/0
TERM=xterm-256color
TIMEFMT='%J  %U user %S system %P cpu %*E total'
TMPPREFIX=/tmp/zsh
TRY_BLOCK_ERROR=-1
TRY_BLOCK_INTERRUPT=-1
TTY=/dev/pts/0
TTYIDLE=1
UID=1001
USER=ask
USERNAME=ask
VENDOR=ubuntu
VISUAL=vim
WATCH=''
WATCHFMT='%n has %a %l from %m.'
WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
XDG_RUNTIME_DIR=/run/user/1001
XDG_SESSION_ID=485
ZSH_EVAL_CONTEXT=toplevel
ZSH_NAME=zsh
ZSH_PATCHLEVEL=Debian
ZSH_SUBSHELL=0
ZSH_VERSION=5.1.1
_=set
_cmd_variant=( ls gnu )
_comp_assocs=( '' )
_comp_dumpfile=/home/ask/.zcompdump
_comp_options
_comp_setup
_compautos
_comps
_lastcomp
_patcomps
_postpatcomps
_services
aliases
argv=(  )
builtins
cdpath=(  )
commands
comppostfuncs=(  )
compprefuncs=(  )
debian_missing_features=(  )
dirstack
dis_aliases
dis_builtins
dis_functions
dis_galiases
dis_patchars
dis_reswords
dis_saliases
fignore=(  )
fpath=( /usr/local/share/zsh/site-functions
/usr/share/zsh/vendor-functions /usr/share/zsh/vendor-completions
/usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd
/usr/share/zsh/functions/Completion
/usr/share/zsh/functions/Completion/AIX
/usr/share/zsh/functions/Completion/BSD
/usr/share/zsh/functions/Completion/Base
/usr/share/zsh/functions/Completion/Cygwin
/usr/share/zsh/functions/Completion/Darwin
/usr/share/zsh/functions/Completion/Debian
/usr/share/zsh/functions/Completion/Linux
/usr/share/zsh/functions/Completion/Mandriva
/usr/share/zsh/functions/Completion/Redhat
/usr/share/zsh/functions/Completion/Solaris
/usr/share/zsh/functions/Completion/Unix
/usr/share/zsh/functions/Completion/X
/usr/share/zsh/functions/Completion/Zsh
/usr/share/zsh/functions/Completion/openSUSE
/usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/MIME
/usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser
/usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP
/usr/share/zsh/functions/VCS_Info
/usr/share/zsh/functions/VCS_Info/Backends
/usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle )
funcfiletrace
funcsourcetrace
funcstack
functions
functrace
galiases
histchars='!^#'
history
historywords
jobdirs
jobstates
jobtexts
key=( BackSpace  Delete ' [3~' Down  OB End  OF Home  OH Insert ' [2~'
Left  OD PageDown ' [6~' PageUp ' [5~' Right  OC Up  OA )
keymaps
mailpath=(  )
manpath=(  )
module_path=( /usr/lib/x86_64-linux-gnu/zsh/5.1.1 )
modules
nameddirs
options
parameters
patchars
path=( /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin
/usr/games /usr/local/games )
pipestatus=( 0 )
prompt='(%B%m <%1/>%b) %? %B%#%b '
psvar=(  )
reswords
saliases
signals=( EXIT HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2
PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ
VTALRM PROF WINCH POLL PWR SYS ZERR DEBUG )
status=0
termcap
terminfo
userdirs
watch=(  )
widgets
zle_bracketed_paste=( '' '' )
zsh_eval_context=( toplevel )
zsh_scheduled_events



-- 

Alexander
-- 
=>        Google+ => http://plus.skwar.me         <==
=> Chat (Jabber/Google Talk) => a.skwar@gmail.com <==


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Do NOT show time in prompt
  2017-03-13 10:36 ` Do NOT show time in prompt Alexander Skwar
@ 2017-03-13 10:44   ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2017-03-13 10:44 UTC (permalink / raw)
  To: zsh-users

On Mon, 13 Mar 2017 11:36:40 +0100
Alexander Skwar <alexanders.mailinglists+nospam@gmail.com> wrote:
> Somehow, I managed to setup my system so, that the current time is
> always shown in the prompt on the right hand side of the current
> line. How can I get rid of that?
> 
> I do not have a RPROMPT set and my PROMPT is just:
> 
> (%B%m <%1/>%b) %? %B%#%b

Looks like you've fallen foul of the fact that RPROMPT and RPS1 have the
same effect, so you need to make sure you don't set (or unset) RPS1,
too.

pws


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-13 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170313104027epcas2p3b532b1d3c388ed57d94fb8a9b0520699@epcas2p3.samsung.com>
2017-03-13 10:36 ` Do NOT show time in prompt Alexander Skwar
2017-03-13 10:44   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).