mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 05:04:34 +00:00
Fix python aliases
This commit is contained in:
parent
54cf0d7f36
commit
6f613a1ea5
|
@ -83,7 +83,7 @@ alias zbi='z -b -I' # pick parent directory to cd into with fzf
|
|||
alias ipy='ipython'
|
||||
alias bpy='bpython'
|
||||
command -v ipython > /dev/null && alias py='ipython' || alias py='python'
|
||||
for version in "2 3 3.6 3.7 3.8 3.9 3.10"; do # Make aliases for py3.6,py3.7,...
|
||||
for version in 2 3 3.6 3.7 3.8 3.9 3.10; do # Make aliases for py3.6,py3.7,...
|
||||
if ! command -v "python$version" > /dev/null; then
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue