Squashed 'zsh/' content from commit ef6699d
git-subtree-dir: zsh git-subtree-split: ef6699deb181ae08ffa7d16879771f2fb13bc690
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.*_config*
|
||||
!.*_config*.example
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "antigen"]
|
||||
path = antigen
|
||||
url = https://github.com/zsh-users/antigen.git
|
||||
1
.powerline_config_arch.example
Normal file
1
.powerline_config_arch.example
Normal file
@@ -0,0 +1 @@
|
||||
source /usr/lib/python3.5/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||
1
.powerline_config_debian.example
Normal file
1
.powerline_config_debian.example
Normal file
@@ -0,0 +1 @@
|
||||
source /usr/local/lib/python2.7/dist-packages/powerline/bindings/zsh/powerline.zsh
|
||||
1
.user_config.example
Normal file
1
.user_config.example
Normal file
@@ -0,0 +1 @@
|
||||
DEFAULT_USER=fabian
|
||||
16
.virtual_env_config.zsh.arch.example
Normal file
16
.virtual_env_config.zsh.arch.example
Normal file
@@ -0,0 +1,16 @@
|
||||
export WORKON_HOME=~/python-envs
|
||||
mkdir -p $WORKON_HOME
|
||||
|
||||
function workon() {
|
||||
if ! { [ "$TERM" = "screen" ] && [ -n "$TMUX" ]; } then
|
||||
if ! { [ -z "$1" ] } then
|
||||
tmux setenv VIRTUAL_ENV "$1"
|
||||
fi
|
||||
source /usr/bin/virtualenvwrapper.sh
|
||||
workon "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -n "$VIRTUAL_ENV" ]; then
|
||||
workon $VIRTUAL_ENV
|
||||
fi
|
||||
17
.virtual_env_config.zsh.debian.example
Normal file
17
.virtual_env_config.zsh.debian.example
Normal file
@@ -0,0 +1,17 @@
|
||||
export WORKON_HOME=~/python-envs
|
||||
mkdir -p $WORKON_HOME
|
||||
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
|
||||
|
||||
function workon() {
|
||||
if ! { [ "$TERM" = "screen" ] && [ -n "$TMUX" ]; } then
|
||||
if ! { [ -z "$1" ] } then
|
||||
tmux setenv VIRTUAL_ENV "$1"
|
||||
fi
|
||||
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
|
||||
workon "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -n "$VIRTUAL_ENV" ]; then
|
||||
workon $VIRTUAL_ENV
|
||||
fi
|
||||
41
.zshrc
Normal file
41
.zshrc
Normal file
@@ -0,0 +1,41 @@
|
||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
||||
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
||||
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
||||
# Load Antigen
|
||||
source ~/.zsh/antigen/antigen.zsh
|
||||
|
||||
# Clear screen by ctrl+q
|
||||
bindkey '^q' clear-screen
|
||||
|
||||
# Load various lib files
|
||||
antigen use oh-my-zsh
|
||||
|
||||
#
|
||||
# Antigen Theme
|
||||
#
|
||||
|
||||
antigen theme agnoster
|
||||
|
||||
#
|
||||
# Antigen Bundles
|
||||
#
|
||||
|
||||
antigen bundle git
|
||||
antigen bundle heroku
|
||||
antigen bundle command-not-found
|
||||
antigen bundle go
|
||||
|
||||
# antigen bundle tmuxinator
|
||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||
|
||||
# For SSH, starting ssh-agent is annoying
|
||||
antigen bundle ssh-agent
|
||||
|
||||
# Python Plugins
|
||||
antigen bundle pip
|
||||
antigen bundle python
|
||||
antigen bundle virtualenv
|
||||
|
||||
antigen apply
|
||||
export EDITOR='vim'
|
||||
1
antigen
Submodule
1
antigen
Submodule
Submodule antigen added at 1359b99666
Reference in New Issue
Block a user