diff --git a/zshrc b/zshrc index 468c672..9551365 100644 --- a/zshrc +++ b/zshrc @@ -13,7 +13,7 @@ alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars # Copie en récursif et qui garde la date des fichiers copiés #alias cp='cp -Rp' -alias cp='cp -R' +alias cp='cp -R' # **cp** copy files and directories recursively # TEST # Copie distante, ajout de la récursivité tout le temps: alias scp='scp -r' @@ -43,7 +43,7 @@ if [ ${USER} != "root" ]; then alias si='sudo iptables -L -vn ' alias sp='sudo puppet agent -t ' alias sv='sudo vi ' - alias sz='sudo zsh ' + alias sz='sudo -i ' else alias si='iptables -L -vn ' alias sp='puppet agent -t ' @@ -677,6 +677,10 @@ key[PageDown]=${terminfo[knp]} [[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward [[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward +# ctrl+← and ctrl+→ issue +bindkey "^[[1;5C" vi-forward-word-end +bindkey "^[[1;5D" backward-word +