Add new stuff
This commit is contained in:
parent
a817abe0f7
commit
506b8adb74
1 changed files with 9 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue