Change env vars and create a seperate file for individual paths

This commit is contained in:
David Holland 2020-01-24 02:12:53 +01:00
parent 407856007e
commit 5aec023cd6
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
2 changed files with 22 additions and 29 deletions

50
.zshenv
View file

@ -1,11 +1,19 @@
typeset -U PATH path MANPATH LD_LIBRARY_PATH typeset -TUx PATH path
typeset -TUx MANPATH manpath
typeset -TUx LD_LIBRARY_PATH ld_library_path
MANPATH="/usr/local/man:$MANPATH" path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE")
export MANPATH
if [[ -a $HOME/.zshpath ]]; then
source $HOME/.zshpath
fi
manpath=("/usr/local/man" "$manpath")
ld_library_path=("$LD_LIBRARY_PATH")
# You may need to manually set your language environment # You may need to manually set your language environment
LANG=en_US.UTF-8 export LANG='en_US.UTF-8'
export LANG
# Preferred editor for local and remote sessions # Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then # if [[ -n $SSH_CONNECTION ]]; then
@ -14,8 +22,7 @@ export LANG
# export EDITOR='mvim' # export EDITOR='mvim'
# fi # fi
EDITOR='nvim' export EDITOR='nvim'
export EDITOR
# Compilation flags # Compilation flags
# export ARCHFLAGS="-arch x86_64" # export ARCHFLAGS="-arch x86_64"
@ -29,32 +36,17 @@ export EDITOR
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
SSH_AUTH_SOCK="$(gpgconf --list-dir socketdir)/S.gpg-agent.ssh" export SSH_AUTH_SOCK="$(gpgconf --list-dir socketdir)/S.gpg-agent.ssh"
export SSH_AUTH_SOCK export GPG_TTY=$(tty)
GPG_TTY=$(tty) export TERMINAL='xfce4-terminal'
export GPG_TTY
TERMINAL='xfce4-terminal' export JUCE_PATH='~/JUCE'
export TERMINAL export FRUT_PATH='~/FRUT'
path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE") export CXXFLAGS='-std=c++14'
export PATH
JUCE_PATH='~/JUCE' export LIBGL_ALWAYS_INDIRECT=1
export JUCE_PATH
FRUT_PATH='~/FRUT'
export FRUT_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
CXXFLAGS='-std=c++14'
export CXXFLAGS
LIBGL_ALWAYS_INDIRECT=1
export LIBGL_ALWAYS_INDIRECT
alias la='ls -lahF' alias la='ls -lahF'
alias ll='ls -lhF' alias ll='ls -lhF'

1
.zshpath Normal file
View file

@ -0,0 +1 @@
path+=("")