check already loaded variables, remove costly docker check in alias

This commit is contained in:
Tykayn 2024-02-14 17:04:44 +01:00 committed by tykayn
parent 67d5953c38
commit 4189bbaf8b
5 changed files with 128 additions and 110 deletions

View file

@ -75,12 +75,6 @@ plugins=(git cp colored-man-pages colorize command-not-found composer symfony2 p
source $ZSH/oh-my-zsh.sh
# User configuration
if [ -f ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh ]; then
. ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
else
echo "/!\\ bashrc: fichier de variables workflow_nextcloud non trouvé:"
echo "~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh"
fi
# export MANPATH="/usr/local/man:$MANPATH"
@ -106,9 +100,4 @@ if [[ -n $SSH_CONNECTION ]]; then
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
if [ "$debug" = true ]; then
echo "chargement des aliases ~/.bash_aliases"
fi
source ~/.bash_aliases