Skip to content

Instantly share code, notes, and snippets.

@obar1
Created October 30, 2020 20:43
Show Gist options
  • Save obar1/6661d9db901c191ff6de0eb552a4673d to your computer and use it in GitHub Desktop.
Save obar1/6661d9db901c191ff6de0eb552a4673d to your computer and use it in GitHub Desktop.
.bashrc
# teminal set
export TERM=xterm-color
#rsync
function rsync_c107qzb_() {
rsync -avzhe 'ssh -p 22' --delete $1 [email protected]:~/tmp/mc262644/$1
}
function rsync_dss_logan_() {
rsync -avzhe 'ssh -p 22' --delete $1 [email protected]:~/tmp/mc262644/$1
}
# shorten
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment