uniformizing shell config

This commit is contained in:
Loic Nageleisen 2012-08-10 14:15:13 +02:00
parent 65be65d4d6
commit a0f8f48016
6 changed files with 81 additions and 58 deletions

View file

@ -1,4 +1,14 @@
# zprofile, called for login shells
# dotfiles locations
DOTFILES_HOME_DIR="$(cd -P "$(dirname "$(readlink ~/.zprofile)")" && pwd)"
DOTFILES_ROOT_DIR="$( dirname "$DOTFILES_HOME_DIR" )"
DOTFILES_ZSH_DIR="$DOTFILES_ROOT_DIR/zsh"
emulate sh
. ~/.profile
source ~/.profile
emulate zsh
# zshrc will be called automatically for interactive shells
# vim: ft=zsh

4
zsh/rc
View file

@ -1,5 +1,6 @@
# Set up the prompt
# zshrc, called for interactive shells
# Set up the prompt
# Set terminal title
set_term_title() {
@ -139,3 +140,4 @@ chpwd() {
set_term_title
}
# vim: ft=zsh