SHA256
1
0
forked from pool/zsh

Accepting request 74829 from home:computersalat:branches:shells

enable build for CentOS, fix deps for fdupes

OBS-URL: https://build.opensuse.org/request/show/74829
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=73
This commit is contained in:
Ismail Dönmez
2011-06-29 14:02:48 +00:00
committed by Git OBS Bridge
parent 7a2ae808b5
commit ed0914b163
10 changed files with 512 additions and 21 deletions

26
zshrc.rhs Normal file
View File

@@ -0,0 +1,26 @@
#
# /etc/zshrc is sourced in interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
## shell functions
#setenv() { export $1=$2 } # csh compatibility
# Set prompts
PROMPT='[%n@%m]%~%# ' # default prompt
#RPROMPT=' %~' # prompt for right side of screen
# bindkey -v # vi key bindings
# bindkey -e # emacs key bindings
bindkey ' ' magic-space # also do history expansion on space
# from bashrc
if [ "x$SHLVL" != "x1" ]; then # We're not a login shell
for i in /etc/profile.d/*.sh; do
if [ -r "$i" ]; then
. $i
fi
done
unset i
fi