pyenv + build id's

This commit is contained in:
Daylin Morgan 2023-08-25 09:20:52 -05:00
parent b12056f579
commit 6de05ec05d
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 4 additions and 1 deletions

View file

@ -42,3 +42,6 @@ alias dots-add='chezmoi re-add --interactive'
alias viv-remote='python3 <(curl -fsSL viv.dayl.in/viv.py)'
alias viv-dev='python3 <(curl -fsSL https://raw.githubusercontent.com/daylinmorgan/viv/dev/src/viv/viv.py)'
# increment a build number and maintain Lexicographic order
alias lexid-inc="python -c \"import sys;build=(sys.argv[1] if len(sys.argv) ==2 else sys.exit('please provide number as input'));print((next if build[1] == (next:= str(int(build) + 1))[0] else f'{int(next[0])*11}{next[1:]}'))\""

View file

@ -19,7 +19,7 @@ path=(
$HOME/{,.local/}{,s}bin(N)
$HOME/.extra/bin(N)
$HOME/{.go,.cargo,.pixi}/bin(N)
$HOME/{.go,.cargo,.pyenv}/bin(N)
/opt/local/{,s}bin(N)
/usr/{,local/}{,s}bin(N)