X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.profile;h=d9f65dbc748c1c5db3d70ece70031e5e300f5404;hb=bfcf7092226ad1d083e0126a63a8269d60dbc8f3;hp=711b8d235126dfd0dbd8bca616404b21cadf5b6e;hpb=b6806f08ea520931307aabd1d9e5c0ad5370057c;p=dotfiles.git diff --git a/.profile b/.profile index 711b8d2..d9f65db 100644 --- a/.profile +++ b/.profile @@ -69,6 +69,10 @@ export ORGANIZATION # NNTPSERVER # Interactive only commands if [ -t 0 ] ; then + #if test -f .hushlogin && ! cmp -s .motd /etc/motd; then + # tee $HOME/.motd < /etc/motd + #fi + if [ -z "$TERM" ]; then eval `tset -Q -s -m 'network:?xterm'` fi @@ -172,7 +176,7 @@ if [ -t 0 ] ; then if test -n "$BASH_VERSION"; then . "$HOME/.bashrc" else - OPS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` > " + PS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` > " fi ### biff controls new mail notification @@ -199,9 +203,13 @@ if [ -t 0 ] ; then unset name email - #if test -f .hushlogin && ! cmp -s .motd /etc/motd; then - # tee $HOME/.motd < /etc/motd + #if which pyenv >/dev/null 2>&1; then + # PYENV_ROOT="$HOME/.pyenv" + # export PYENV_ROOT + # PATH="$PYENV_ROOT/bin:$PATH" + # eval "`pyenv init --path`" #fi + fi # No need to set DISPLAY - ssh sets DISPLAY and calls xauth