]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile: Move motd closer to the beginning
[dotfiles.git] / .profile
index 711b8d235126dfd0dbd8bca616404b21cadf5b6e..d9f65dbc748c1c5db3d70ece70031e5e300f5404 100644 (file)
--- 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