Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 27678f17 authored by freezed's avatar freezed :mountain:
Browse files

:zap: Update git & zsh tooling

parent a9ec2fa3
No related branches found
No related tags found
No related merge requests found
......@@ -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/
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment