diff --git a/tasks/user_cfg/files/dotfiles/gitconfig b/tasks/user_cfg/files/dotfiles/gitconfig index 5bf507e3ed5756214d6f80c6f5ddfbc5236423c4..77b753dbc8c553a58fc60db18bc232c46eea9f12 100644 --- a/tasks/user_cfg/files/dotfiles/gitconfig +++ b/tasks/user_cfg/files/dotfiles/gitconfig @@ -38,6 +38,9 @@ [checkout] defaultRemote=origin +[url "ssh://git@git.afpy.org/"] + pushInsteadOf = https://git.afpy.org/ + [url "ssh://git@github.com/"] pushInsteadOf = https://github.com/ diff --git a/tasks/user_cfg/files/dotfiles/zshrc b/tasks/user_cfg/files/dotfiles/zshrc index 9236488409024ab73c10735ae635858cad5403d6..3b71aaf77191583ae92fca905bc4c38fa4c64754 100644 --- a/tasks/user_cfg/files/dotfiles/zshrc +++ b/tasks/user_cfg/files/dotfiles/zshrc @@ -39,7 +39,6 @@ alias gps='for proj in $(find ~/git -mindepth 1 -maxdepth 1 -type d -printf "%p\ alias gpu='for proj in $(find ~/git -mindepth 1 -maxdepth 1 -type d -printf "%p\n");do git -C ${proj} fetch --prune --quiet || echo "ERROR fetching git repo: ${proj#${HOME}/git/}";done' alias p1='ping -c 1 ' alias sudo='sudo ' -alias ttoday='cat ~/.timed|grep "$(date +%d) Oct 2021" | timed parse' alias vact='source ~/.venvs/$(pwd | cut -d"/" -f5)/bin/activate' alias vc10='~/pylocal/bin/python3.10 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' alias vc='python3 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' @@ -48,7 +47,7 @@ alias vdestroy='VENV_PATH="${HOME}/.venvs/$(pwd | cut -d"/" -f5)/" && echo ${VEN # Timed alias tart='timed start _job_;vi ~/.timed +' alias tsto='timed stop;ttod' -alias ttod='cat ~/.timed | grep "$(date +%d) Jan 2022" | timed parse' +alias ttod='cat ~/.timed | grep "$(date +%d) Dec 2022" | timed parse' # ######################### # @@ -193,7 +192,7 @@ unsetopt hup # ########################################### # setopt EXTENDED_HISTORY -export HISTTIMEFORMAT="[%F %T] " +#export HISTTIMEFORMAT="[%F %T] " # Nombre d'entrées dans l'historique export HISTORY=50000