From 18a21d023d93b820ca1e1a876af26e7fd85fc35e Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 10 Mar 2009 11:55:35 +0100 Subject: [Prunelle] Specific config for Darwin-OS --- net:sweethome/host:prunelle/Aliases.zsh | 16 -------------- net:sweethome/host:prunelle/Environment.zsh | 18 ---------------- net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh | 12 +++++++++++ .../host:prunelle/sys:Darwin/Environment.zsh | 25 ++++++++++++++++++++++ 4 files changed, 37 insertions(+), 34 deletions(-) delete mode 100644 net:sweethome/host:prunelle/Aliases.zsh create mode 100644 net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh create mode 100644 net:sweethome/host:prunelle/sys:Darwin/Environment.zsh diff --git a/net:sweethome/host:prunelle/Aliases.zsh b/net:sweethome/host:prunelle/Aliases.zsh deleted file mode 100644 index 7c2a390..0000000 --- a/net:sweethome/host:prunelle/Aliases.zsh +++ /dev/null @@ -1,16 +0,0 @@ -## -## Part of configuration files for Zsh 4 -## by Hugues Hiegel -## -## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS -## -## 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 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/sys:Darwin/Aliases.zsh b/net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh new file mode 100644 index 0000000..cc1173a --- /dev/null +++ b/net:sweethome/host:prunelle/sys:Darwin/Aliases.zsh @@ -0,0 +1,12 @@ +## +## Part of configuration files for Zsh 4 +## by Hugues Hiegel +## +## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS +## +## You are encouraged to use, modify, and redistribute +## these files with or without this notice. +## +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 +## +## 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 -- cgit v1.2.3