Last active
April 7, 2020 11:36
-
-
Save b10102016/fa4717f0b31a229c8b77d7b51ef258a5 to your computer and use it in GitHub Desktop.
my ubuntu .bashrc
This file contains 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
export PATH=$PATH:~/bin:~/platform-tools:~/android-ndk-r18b | |
alias adb='adb40 root; adb40 remount; adb40' | |
export PATH="$HOME/.local/bin:$PATH" | |
#export PROMPT_COMMAND="echo -ne '\e[1;96m$(date '+%Y-%m-%d %H:%M:%S')\e[0m '" | |
alias cthser='ssh 10.116.116.251' | |
export PS1="\[\e[1;38;5;81m\]\$(date '+%Y-%m-%d %H:%M:%S') ${debian_chroot:+($debian_chroot)}\[\033[01;38;5;30m\]\u\[\033[00m\]@\[\033[01;38;5;31m\]\W\[\033[00m\]\$ \[\e[38;5;189m\]" | |
case "$-" in | |
*i*) | |
bind '"\x1b\x5b\x41":history-search-backward' | |
bind '"\x1b\x5b\x42":history-search-forward' | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment