Created
October 30, 2020 20:43
-
-
Save obar1/6661d9db901c191ff6de0eb552a4673d to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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