Add new stuff

This commit is contained in:
ViktorBarzin 2018-01-18 12:00:02 +00:00
parent a817abe0f7
commit 506b8adb74

View file

@ -3,7 +3,6 @@ alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias py='python3.6'
alias bye='systemctl suspend'
alias whatisopen='sudo netstat -pnlt'
alias calc='gcalccmd'
alias pmr='python manage.py runserver'
@ -38,6 +37,15 @@ function download_github_folder() {
svn checkout $(echo $1 | sed "s/\/tree\/[a-zA-Z]\+/\/trunk/")
}
function bye() {
if ps -p $(pidof rsync) > /dev/null
then
echo 'Rsync is running, not going to sleep.'
else
echo 'systemctl supend'
fi
}
alias sizeof="du -sh $1"
alias mkdir="mkdir -pv"