Ajout des points d'entrée
La validation intiale n'incluait pas les points d'entrée et la base de complétion.
This commit is contained in:
parent
dbb3445f0b
commit
138084da02
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,3 @@
|
||||||
|
if which zlogout_host > /dev/null; then zlogout_host; fi
|
||||||
|
if which zlogout_user > /dev/null; then zlogout_user; fi
|
||||||
|
clear
|
|
@ -0,0 +1,52 @@
|
||||||
|
#
|
||||||
|
# Bruno Bonfils, <asyd@asyd.net>
|
||||||
|
# Written since summer 2001
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ "x$SSH_CLIENT" = "x" ]; then
|
||||||
|
USE_XTABS=True
|
||||||
|
fi
|
||||||
|
|
||||||
|
# My functions (don't forget to modify fpath before call compinit !!)
|
||||||
|
fpath=("$ZDOTDIR"/functions $fpath)
|
||||||
|
|
||||||
|
# Local file
|
||||||
|
[ -f $ZDOTDIR/rc.local ] && source "$ZDOTDIR/rc.local"
|
||||||
|
|
||||||
|
if [[ -r $HOME/.zen ]] ; then
|
||||||
|
fpath=($fpath $HOME/.zen/zsh/scripts $HOME/.zen/zsh/zle)
|
||||||
|
autoload -U zen
|
||||||
|
[ -d ~/.zen/bin ] && export PATH=$PATH:~/.zen/bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
# in order to have many completion function run comptinstall !
|
||||||
|
autoload -U zutil
|
||||||
|
autoload -U compinit
|
||||||
|
autoload -U complist
|
||||||
|
|
||||||
|
# Activation
|
||||||
|
compinit
|
||||||
|
|
||||||
|
local os host
|
||||||
|
|
||||||
|
# Set default umask to 077, can be override by host specific resource file
|
||||||
|
umask 077
|
||||||
|
|
||||||
|
# per host resource file
|
||||||
|
host=${$(hostname)//.*/}
|
||||||
|
if [ -f "$ZDOTDIR/rc.host/${host}.zsh" ] ; then
|
||||||
|
source "$ZDOTDIR/rc.host/${host}.zsh"
|
||||||
|
else
|
||||||
|
source "$ZDOTDIR/rc.host/default.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# per OS resource file
|
||||||
|
os=$(uname)
|
||||||
|
[ -f "$ZDOTDIR/rc.os/${os}.zsh" ] && source "$ZDOTDIR/rc.os/${os}.zsh"
|
||||||
|
[ -f $ZDOTDIR/rc.user/$USER.zsh ] && source "$ZDOTDIR/rc.user/$USER.zsh"
|
||||||
|
# Global resource files
|
||||||
|
for file in "$ZDOTDIR/rc/"*.rc; do
|
||||||
|
source $file
|
||||||
|
done
|
||||||
|
|
||||||
|
true
|
Loading…
Reference in New Issue