summaryrefslogtreecommitdiff
path: root/net:coframi-velizy.com
diff options
context:
space:
mode:
Diffstat (limited to 'net:coframi-velizy.com')
-rw-r--r--net:coframi-velizy.com/Environment.zsh16
-rw-r--r--net:coframi-velizy.com/Hashes.zsh11
2 files changed, 20 insertions, 7 deletions
diff --git a/net:coframi-velizy.com/Environment.zsh b/net:coframi-velizy.com/Environment.zsh
index 9569dee..27997ce 100644
--- a/net:coframi-velizy.com/Environment.zsh
+++ b/net:coframi-velizy.com/Environment.zsh
@@ -9,12 +9,24 @@
## these files with or without this notice.
##
+## Mettez le nom de votre station de travail habituelle ici ##
+if { ! -e ~/.workstation ]
+then
+ echo >&2 "Quelle est votre station de travail attitrée ? (`hostname -s`) " && read $workstation
+ echo ${workstation:-$(hostname -s)} > ~/.workstation
+fi
+WORKSTATION=$(cat ~/.workstation)
+
+export LC_ALL=fr_FR
+[ "$TERM" = "rxvt-unicode" ] && export TERM=rxvt
+
#export PATH=${PATH:+$PATH:}~/souche_linux_pl/tools/bin:/usr/local/urd2/bin:/usr/local/urd2/openrg2_6/mips-linux-uclibc/bin/
#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}~/souche_linux_pl/tools/lib
#export MANPATH=${MANPATH:+$MANPATH:}/usr/local/urd2/man:~/souche_linux_pl/tools/man:~/souche_linux_pl/tools/share/man
-#PATH=$PATH:/opt/openrg/mips-linux-uclibc/bin
-#typeset -gU PATH MANPATH
+PATH=$PATH:/opt/edtm/bin
+PATH=$PATH:/opt/openrg/mips-linux-uclibc/bin
+typeset -gU PATH MANPATH
#__PREFIX=/filer1/dev_users/hiegel/souche_linux_pl/tools/
diff --git a/net:coframi-velizy.com/Hashes.zsh b/net:coframi-velizy.com/Hashes.zsh
index c869707..ef2666f 100644
--- a/net:coframi-velizy.com/Hashes.zsh
+++ b/net:coframi-velizy.com/Hashes.zsh
@@ -1,5 +1,6 @@
-
-hash -d dev=/developpement/nes/sagem-box/hhiegel
-hash -d public=/public/nes
-hash -d tftp=~public/pc-test/tftp/
-
+hash -d dev=/developpement/$WORKSTATION/sagem-box/$(whoami)
+hash -d public=/public/$WORKSTATION
+hash -d Public=/public/$(hostname -s)
+hash -d archives=/projets/sagem-box/archives
+hash -d doc=/projets/sagem-box/doc
+hash -d tftp=/public/$WORKSTATION/tftp