Configuration files now works.

This commit is contained in:
Stanislav Nikitin 2015-03-08 22:21:29 +05:00
parent 0a7df3a77b
commit 74fc927297
10 changed files with 34 additions and 24 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*kdev4
*kate-swp

10
zsh/01-config.zsh Normal file
View File

@ -0,0 +1,10 @@
# Configuration file loader.
if [ ! -d ${HOME}/.zsh-config.d/ ]; then
cp -R ${CONFIG_PATH}/zsh/defaults/ ${HOME}/.zsh-config.d
echo "Looks like it's a very first launch. So I've copied default config to '${HOME}/.zsh-config.d/'"
fi
for file in `ls ${HOME}/.zsh-config.d/ | sort`; do
source ${HOME}/.zsh-config.d/${file}
done

View File

@ -1,3 +1,6 @@
# Some great default aliases.
# Custom aliases should go to ${HOME}/.zsh-config.d/10-aliases.conf
# (or other file).
alias screen="TERM=xterm screen"
# Other

View File

@ -0,0 +1,7 @@
# Main configuration file. Controls over some vital things.
# The very important thing - debug.
# Should we enable debug output?
DEBUG=0
# Prompt configuration
PROMPT_THEME="pztrn"

View File

@ -0,0 +1,4 @@
# PyENV in use?
USE_PYENV=0
# Path to PyENV.
PYENV_PATH="/data/.pyenv"

View File

@ -0,0 +1,4 @@
# FBTerm - should we use it?
# nVidia users with proprietary drivers - sorry, you can't use it.
# Other OS users - sorry also.
USE_FBTERM=0

View File

@ -0,0 +1,2 @@
# Add here your own paths.
export PATH="$PATH"

View File

@ -0,0 +1 @@
EDITOR="nano"

View File

@ -1,5 +1,2 @@
# This is default PATHs.
export PATH="/usr/lib:/usr/lib/colorgcc/bin:/usr/sbin:/sbin:$PATH"
# Add here your own.
export PATH="$PATH:/usr/local/heroku/bin:/data/Programs/hyde:/home/pztrn/bin"
export PATH="/bin:/usr/lib:/usr/lib/colorgcc/bin:/usr/sbin:/sbin:$PATH"

20
zshrc
View File

@ -3,26 +3,6 @@
#. /etc/profile
#####################################################################
# CONFIGURATION
# -------------
# You should set these variables :)
#####################################################################
# The very important thing - debug.
# Should we enable debug output?
DEBUG=0
# Prompt configuration
PROMPT_THEME="pztrn"
# FBTerm - should we use it?
# nVidia users with proprietary drivers - sorry, you can't use it.
USE_FBTERM=0
# PyENV in use?
USE_PYENV=0
# Path to PyENV.
PYENV_PATH="/data/.pyenv"
#####################################################################
# INITIALIZATION
# --------------