forked from misc/zsh-config
Configuration files now works.
This commit is contained in:
parent
0a7df3a77b
commit
74fc927297
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*kdev4
|
||||||
|
*kate-swp
|
10
zsh/01-config.zsh
Normal file
10
zsh/01-config.zsh
Normal 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
|
@ -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"
|
alias screen="TERM=xterm screen"
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
|
7
zsh/defaults/01-main.conf
Normal file
7
zsh/defaults/01-main.conf
Normal 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"
|
4
zsh/defaults/50-pyenv.conf
Normal file
4
zsh/defaults/50-pyenv.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# PyENV in use?
|
||||||
|
USE_PYENV=0
|
||||||
|
# Path to PyENV.
|
||||||
|
PYENV_PATH="/data/.pyenv"
|
4
zsh/defaults/90-fbterm.conf
Normal file
4
zsh/defaults/90-fbterm.conf
Normal 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
|
2
zsh/defaults/exports/01-path.conf
Normal file
2
zsh/defaults/exports/01-path.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Add here your own paths.
|
||||||
|
export PATH="$PATH"
|
1
zsh/defaults/exports/05-editor.conf
Normal file
1
zsh/defaults/exports/05-editor.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
EDITOR="nano"
|
@ -1,5 +1,2 @@
|
|||||||
# This is default PATHs.
|
# This is default PATHs.
|
||||||
export PATH="/usr/lib:/usr/lib/colorgcc/bin:/usr/sbin:/sbin:$PATH"
|
export PATH="/bin:/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"
|
|
20
zshrc
20
zshrc
@ -3,26 +3,6 @@
|
|||||||
|
|
||||||
#. /etc/profile
|
#. /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
|
# INITIALIZATION
|
||||||
# --------------
|
# --------------
|
||||||
|
Loading…
Reference in New Issue
Block a user