1
0
Fork 0

Mettre à jour 'mybashrc'

This commit is contained in:
virtubox 2018-10-07 14:56:41 +00:00
parent 99fbc40c06
commit 2ce3136a58
1 changed files with 17 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# FUNCTIONS
transfer_vtbox_net() {
curl --progress-bar --upload-file $1 https://transfer.vtbox.net/$(basename $1) | tee /dev/null
curl --progress-bar --upload-file $1 https://transfer.vtbox.net/$(basename $1) && echo "" | tee /dev/null
}
compress_pigz() {
@ -68,6 +68,15 @@ MAINTENANCE_APT() {
}
EE_NGINX_COMPILE() {
if [ ! -d $HOME/.ee ]; then
mkdir $HOME/.ee
fi
wget -qO $HOME/.ee/nginx-build.sh https://raw.githubusercontent.com/VirtuBox/nginx-ee/master/nginx-build.sh
chmod +x $HOME/.ee/nginx-build.sh
$HOME/.ee/nginx-build.sh $@
}
alias transfer=transfer_vtbox_net
alias cheat='cht.sh'
@ -84,6 +93,13 @@ alias rsync_hard='rsync -rLptgoD --human-readable --progress'
alias ee-syslog='tail -n 250 /var/log/syslog | ccze -A'
alias nginx-ee=EE_NGINX_COMPILE
alias
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"