exit bashrc if not running interactively
enables sftp sessions
This commit is contained in:
parent
88ca767048
commit
ad6034ebad
@ -14,6 +14,9 @@
|
|||||||
#
|
#
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
export PS1="\[\e[31m\]tf-docker\[\e[m\] \[\e[33m\]\w\[\e[m\] > "
|
export PS1="\[\e[31m\]tf-docker\[\e[m\] \[\e[33m\]\w\[\e[m\] > "
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user