Last active
January 18, 2023 04:27
-
-
Save limejuny/fd1735b1219bd830a579a75c7db682d3 to your computer and use it in GitHub Desktop.
PS1 저장
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
# default | |
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " | |
# git, newline | |
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[01;36m\]\$(__git_ps1)\[\033[0m\]\n\$ " | |
# [HOSTNAME::USER:PWD HIST_COUNT] | |
export PS1="\[\e[33;1m\][\[\e[32;1m\]$HOSTNAME::\[\e[36;1m\]$LOGNAME:\[\e[31;1m\]$PWD \!\[\e[33;1m\]]\[\e[0m\] " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment