mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +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 ipy='ipython'
|
||||||
alias bpy='bpython'
|
alias bpy='bpython'
|
||||||
command -v ipython > /dev/null && alias py='ipython' || alias py='python'
|
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
|
if ! command -v "python$version" > /dev/null; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue