generated from me/template-mit
Move clone and ls aliases to shared.
This commit is contained in:
14
rc_shared.sh
14
rc_shared.sh
@@ -23,6 +23,17 @@ export BOLD="`tput bold`"
|
|||||||
|
|
||||||
## Aliases ##
|
## Aliases ##
|
||||||
|
|
||||||
|
# Quickies
|
||||||
|
alias reload-bash="source ~/.bashrc"
|
||||||
|
alias bash-reload="reload-bash"
|
||||||
|
alias shell-reload="reload-bash"
|
||||||
|
alias reload-shell="reload-bash"
|
||||||
|
alias reload="reload-bash"
|
||||||
|
|
||||||
|
alias l='ls '
|
||||||
|
alias ll='ls -alh '
|
||||||
|
alias lh='ls -ash '
|
||||||
|
|
||||||
|
|
||||||
## Functions ##
|
## Functions ##
|
||||||
|
|
||||||
@@ -54,6 +65,9 @@ alias shared-reload="update-shared"
|
|||||||
|
|
||||||
function send-master { send_master.sh; }
|
function send-master { send_master.sh; }
|
||||||
function goodbye { update -y; bye; }
|
function goodbye { update -y; bye; }
|
||||||
|
function clone {
|
||||||
|
rsync -auPhz --delete --exclude '.gradle' --exclude 'app/build' $1 $2 $3 $4 $5
|
||||||
|
}
|
||||||
|
|
||||||
# Enhance Bin Scripts
|
# Enhance Bin Scripts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user