1. Tobias Langhoff
  2. dotfiles

Source

dotfiles / .bashrc

Diff from to

File .bashrc

     alias vball='vb c107 c203 c205 c207 c210 tvV driftV vbp'
 elif [[ $(domainname) == "ping" ]]; then
     PS1='${debian_chroot:+($debian_chroot)}'$LIGHT_CYAN'\u@\h\[\033[00m\]:\[\033[0;34m\]\w\[\033[00m\] \$ '
-elif [[ $(domainname) == "uio" ]]; then
+elif [[ $(domainname) == "uio" || $HOSTNAME == $kontormaskin ]]; then
     PS1='${debian_chroot:+($debian_chroot)}'$LIGHT_GRAY'\u@\h\[\033[00m\]:\[\033[0;34m\]\w\[\033[00m\] \$ '
-    export PATH=$PATH':~/bin/wine-1.1.39:/usr/bin/:/sbin/:/local/sbin:/local/bin:/usr/sbin:/store/sbin/:bin'
+    export PATH='~/bin/wine-1.1.39:/sbin/:/local/sbin:/usr/bin/:/local/bin:/usr/sbin:/store/sbin/:bin:'$PATH
     alias ldap='ldapsearch -x -H "ldap://ldap.uio.no/" -b "cn=targets,cn=mail,dc=uio,dc=no" mail=mailadr'
     alias irssi='/usr/bin/irssi'
     export CVS_RSH=ssh