PS1
Custom Path
1
2
3
4
| # echo $PS1
# \h:\W \u\$
export PS1='$(whoami)@$(hostname):$(pwd)'
|
Current Folder Path
1
| export PS1='${PWD##*/}: '
|
Recommend Settings
1
2
3
| export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\W\[\033[m\]\$ "
|