Overwrite PROMPT only if it's set to the built-in default
https://bugzilla.redhat.com/show_bug.cgi?id=2026749
This commit is contained in:
parent
210b8657cd
commit
2055169831
5
zsh.spec
5
zsh.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Powerful interactive shell
|
Summary: Powerful interactive shell
|
||||||
Name: zsh
|
Name: zsh
|
||||||
Version: 5.8
|
Version: 5.8
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://zsh.sourceforge.net/
|
URL: http://zsh.sourceforge.net/
|
||||||
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||||
@ -158,6 +158,9 @@ fi
|
|||||||
%doc Doc/*.html
|
%doc Doc/*.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 25 2021 Debarshi Ray <rishi@fedoraproject.org> - 5.8-7
|
||||||
|
- Overwrite PROMPT only if it's set to the built-in default (#2026749)
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-6
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#setenv() { export $1=$2 } # csh compatibility
|
#setenv() { export $1=$2 } # csh compatibility
|
||||||
|
|
||||||
# Set prompts
|
# Set prompts
|
||||||
PROMPT='[%n@%m]%~%# ' # default prompt
|
[[ "$PROMPT" = "%m%# " ]] && PROMPT='[%n@%m]%~%# ' # default prompt
|
||||||
#RPROMPT=' %~' # prompt for right side of screen
|
#RPROMPT=' %~' # prompt for right side of screen
|
||||||
|
|
||||||
# bindkey -v # vi key bindings
|
# bindkey -v # vi key bindings
|
||||||
|
Loading…
Reference in New Issue
Block a user