diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-03-10 11:55:35 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-06-04 23:35:40 +0200 |
commit | 18a21d023d93b820ca1e1a876af26e7fd85fc35e (patch) | |
tree | 7aa3cead06b34c603a7fee7e5438a1aafbdf5ab9 /net:sweethome/host:prunelle | |
parent | 595765301aae9c7dafa01aa3d89b654968cb2380 (diff) |
[Prunelle] Specific config for Darwin-OS
Diffstat (limited to 'net:sweethome/host:prunelle')
-rw-r--r-- | net:sweethome/host:prunelle/Environment.zsh | 18 | ||||
-rw-r--r-- | net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh (renamed from net:sweethome/host:prunelle/Aliases.zsh) | 10 | ||||
-rw-r--r-- | net:sweethome/host:prunelle/sys:Darwin/Environment.zsh | 25 |
3 files changed, 28 insertions, 25 deletions
diff --git a/net:sweethome/host:prunelle/Environment.zsh b/net:sweethome/host:prunelle/Environment.zsh index 248b742..e96318b 100644 --- a/net:sweethome/host:prunelle/Environment.zsh +++ b/net:sweethome/host:prunelle/Environment.zsh @@ -8,24 +8,6 @@ ## these files with or without this notice. ## -if ( [ "`uname -s`" = "Darwin" ] ) -then - export DISPLAY=:0 - - ## Fink / DarwinPorts - - MANPATH=/usr/share/man - INFOPATH=/usr/share/info - - for i in usr/X11R6 dp sw ; do - export PATH=$PATH:/$i/bin:/$i/sbin - export MANPATH=$MANPATH:/$i/share/man - export INFOPATH=$INFOPATH:/$i/share/info - done - - typeset -gU PATH MANPATH INFOPATH -fi - PS1_USER="1" if [ "$OSTYPE" = "linux-gnu" ] then diff --git a/net:sweethome/host:prunelle/Aliases.zsh b/net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh index 7c2a390..cc1173a 100644 --- a/net:sweethome/host:prunelle/Aliases.zsh +++ b/net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh @@ -7,10 +7,6 @@ ## You are encouraged to use, modify, and redistribute ## these files with or without this notice. ## - -if [ "$OSTYPE" == "Darwin" ] -then - a port='sudo port' - a ls='ls -FG' - a aless='open -a /Applications/DarwinPorts/AquaLess.app' -fi +a port='sudo port' +a ls='ls -FG' +a aless='open -a /Applications/DarwinPorts/AquaLess.app' diff --git a/net:sweethome/host:prunelle/sys:Darwin/Environment.zsh b/net:sweethome/host:prunelle/sys:Darwin/Environment.zsh new file mode 100644 index 0000000..dd8d36a --- /dev/null +++ b/net:sweethome/host:prunelle/sys:Darwin/Environment.zsh @@ -0,0 +1,25 @@ +#!/bin/zsh +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel <hugues@hiegel.fr> +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## + +export DISPLAY=:0 + +## Fink / DarwinPorts + +MANPATH=/usr/share/man +INFOPATH=/usr/share/info + +for i in usr/X11R6 dp sw ; do + export PATH=$PATH:/$i/bin:/$i/sbin + export MANPATH=$MANPATH:/$i/share/man + export INFOPATH=$INFOPATH:/$i/share/info +done + +typeset -gU PATH MANPATH INFOPATH |