Commit 7d5c29ab authored by Ivan Tyagov's avatar Ivan Tyagov

Show host/dir in prompt & xterm title

Credit goes to Debian's bashrc
parent 0b4bfc81
...@@ -10,6 +10,17 @@ export MAKEFLAGS=-j`nproc` ...@@ -10,6 +10,17 @@ export MAKEFLAGS=-j`nproc`
export BUNDLE_JOBS=`nproc` export BUNDLE_JOBS=`nproc`
export NPY_NUM_BUILD_JOBS=`nproc` export NPY_NUM_BUILD_JOBS=`nproc`
# show host/dir in prompt & xterm title
PS1='\u@\h:\w\$ '
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# PATH for my commands # PATH for my commands
export PATH=$HOME/kirr-handy/bin:$PATH export PATH=$HOME/kirr-handy/bin:$PATH
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment