deprecated pp, ppp now uses bpython with python3 as fallback
This commit is contained in:
parent
aef87b74b1
commit
38b24661d6
1 changed files with 11 additions and 2 deletions
|
@ -6,8 +6,6 @@ alias ll="l --almost-all"
|
|||
alias grep="grep --text --color=auto"
|
||||
alias pull_website="wget --no-parent --recursive --page-requisites --convert-links --html-extension --no-clobber"
|
||||
alias ..="cd .."
|
||||
alias pp=python2
|
||||
alias ppp=python3
|
||||
alias htop="htop --delay=3"
|
||||
alias O=xdg-open
|
||||
alias gits="git status"
|
||||
|
@ -24,6 +22,17 @@ alias units="units -v"
|
|||
alias usystemctl="systemctl --user"
|
||||
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
|
||||
|
||||
ppp () {
|
||||
which bpython > /dev/null
|
||||
if [ $? == 0 ]; then
|
||||
bpython "$@"
|
||||
else
|
||||
python3 "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
alias pp=ppp
|
||||
|
||||
# apparently this is the only way of setting GNU Screen to UTF-8
|
||||
alias screen="screen -U"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue