1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 08:02:19 +00:00

Several changes

* Added ranger
* Update vim airline
* Added udiskie and
* Updated i3 status
* Updated zsh paths to load even when not in a login session
This commit is contained in:
J. Fernando Sánchez
2017-12-07 17:11:32 +01:00
parent 0cd98dd54b
commit 6f07d96ea0
18 changed files with 2783 additions and 62 deletions

View File

@@ -5,51 +5,6 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# Browser
#
if [[ "$OSTYPE" == darwin* ]]; then
export BROWSER='open'
fi
#
# Editors
#
export EDITOR='vi'
export VISUAL="myemacs -c"
export ALTERNATE_EDITOR=""
export PAGER='less'
#
# Language
#
if [[ -z "$LANG" ]]; then
export LANG='en_US.UTF-8'
fi
#
# Paths
#
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
# Set the the list of directories that cd searches.
# cdpath=(
# $cdpath
# )
# Set the list of directories that Zsh searches for programs.
path=(
/usr/local/{bin,sbin}
~/.bin
~/.local/{bin,sbin}
$path
)
#
# Less
#
@@ -99,14 +54,11 @@ kube(){
TMPPREFIX="${TMPDIR%/}/zsh"
if command -v foo >/dev/null 2>&1 ; then
if command -v pyenv >/dev/null 2>&1 ; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv virtualenvwrapper
fi
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin/
setopt interactivecomments

View File

@@ -1 +0,0 @@
.zprezto/runcoms/zshenv

51
zsh/.zshenv Normal file
View File

@@ -0,0 +1,51 @@
# `.zshenv' is sourced on all invocations of the shell, unless the -f option is set.
# It should contain commands to set the command search path, plus other important environment variables.
# `.zshenv' should not contain commands that produce output or assume the shell is attached to a tty.
#
# Browser
#
if [[ "$OSTYPE" == darwin* ]]; then
export BROWSER='open'
fi
#
# Editors
#
export EDITOR='vim'
export VISUAL="myemacs -c"
export ALTERNATE_EDITOR=""
export PAGER='less'
#
# Language
#
if [[ -z "$LANG" ]]; then
export LANG='en_US.UTF-8'
fi
#
# Paths
#
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
# Set the the list of directories that cd searches.
# cdpath=(
# $cdpath
# )
# Set the list of directories that Zsh searches for programs.
path=(
/usr/local/{bin,sbin}
~/.bin
~/.local/{bin,sbin}
$path
)
export PATH
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin/