mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-14 16:52:29 +00:00
f0202964ec
* Compton improvements * Add a wide screen layout * Set termite as the default terminal * Update spacemacs * Add script to copy bibtex entries from zotero
53 lines
976 B
Bash
53 lines
976 B
Bash
# `.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'
|
|
export TERMCMD='i3-sensible-terminal'
|
|
|
|
#
|
|
# 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/
|