Mercurial > hg > zsh-env
view zshrc-linux-gnu @ 30:c58e6033e2cb
get rid of the hostx alias, all machines should have the proper bind-tools installed
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 12 Sep 2012 03:46:14 +0200 |
parents | 2cd74a85976a |
children | fa52868da3d4 |
line wrap: on
line source
# # zshrc-linux-gnu: zsh env for various linux distributions # # custom environment variables export LESS="-X" PROMPT="%m%# " if [[ "$TERM" =~ screen ]]; then PROMPT="(s)%m%# " fi # try to guess the distribution and include a special script for that local linux_distro="unknown" if [ -d /usr/portage ]; then linux_distro="gentoo" fi # now source the distro zshrc file if it exists local distro_zshrc=$HOME/.zsh-env/zshrc-${linux_distro} if [ -r "${distro_zshrc}" ]; then . ${distro_zshrc} fi