- add a space character in some abbreviation expansions
so it's better readable.
- added insert-unicode-char
+ - drop the check for
+ /usr/share/zsh/$ZSH_VERSION/functions/Prompts/promptinit and
+ /usr/share/zsh/$ZSH_VERSION/functions/Zle/url-quote-magic
+ because the check does not work for example with the zsh-beta
+ package. If you notice problems with the current code please
+ let me know.
* /etc/skel/.zshrc:
- added function ytdl (download video from youtube)
- work around non utf8 capable software in utf environment
autoload history-search-end
# we don't want to quote/espace URLs on our own...
- # avoid 'url-quote-magic: function definition file not found' on some older boxes
- if [ -f "/usr/share/zsh/$ZSH_VERSION/functions/Zle/url-quote-magic" ] && \
- autoload -U url-quote-magic && zle -N self-insert url-quote-magic ; then
+ if autoload -U url-quote-magic ; then
zle -N self-insert url-quote-magic
else
print 'Notice: no url-quote-magic available :('
# }}}
# {{{ set prompt
- if [ -f "/usr/share/zsh/$ZSH_VERSION/functions/Prompts/promptinit" ] && autoload promptinit && promptinit 2>/dev/null ; then
+ if autoload promptinit && promptinit 2>/dev/null ; then
promptinit # people should be able to use their favourite prompt
else
print 'Notice: no promptinit available :('