fix py aliases
This commit is contained in:
parent
2692667af0
commit
f700182fd9
@ -46,7 +46,8 @@ alias whois-ripe="whois -h whois.ripe.net"
|
||||
if [ -x "$(command -v nvim)" ]; then alias vim="nvim"; fi
|
||||
if [ -x "$(command -v neomutt)" ]; then alias mutt="neomutt"; fi
|
||||
|
||||
# Python aliases
|
||||
# If python exists, configure an alias for python3 if needed
|
||||
if [ -x "$(command -v python)" ]; then
|
||||
# If `python --version` starts with `Python 3`
|
||||
if [[ $(python --version) == Python\ 3* ]]; then
|
||||
# If we don't have python3 in our path
|
||||
@ -55,6 +56,7 @@ if [[ $(python --version) == Python\ 3* ]]; then
|
||||
alias python3=python
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Kill via pgrep
|
||||
nkill() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user