zsh: Move environment variables to zshenv
This commit is contained in:
parent
050cfcaffe
commit
a8c8b0b6e2
13
home/.zshenv
Normal file
13
home/.zshenv
Normal file
|
@ -0,0 +1,13 @@
|
|||
GOPATH="$HOME/go"
|
||||
|
||||
path=(
|
||||
~/bin
|
||||
~/.local/bin
|
||||
$path
|
||||
~/.cargo/bin
|
||||
$GOPATH/bin
|
||||
)
|
||||
|
||||
# Force antialiasing in java
|
||||
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
|
||||
export EDITOR=nvim
|
|
@ -1,20 +1,3 @@
|
|||
# Programming languages
|
||||
|
||||
## Go
|
||||
export GOPATH="$HOME/go"
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
|
||||
## Python (pip)
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
## Rust (cargo)
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
# Misc
|
||||
|
||||
## Local binaries
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
|
||||
# Program aliases/env
|
||||
|
||||
## Aliases for programs
|
||||
|
@ -33,10 +16,6 @@ alias userctl="systemctl --user"
|
|||
## Debian packages fd as fdfind
|
||||
command -v fdfind >/dev/null && alias fd="fdfind"
|
||||
|
||||
## Environment variables
|
||||
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" # force antialiasing in java
|
||||
export EDITOR=nvim
|
||||
|
||||
## include docker functions
|
||||
source ~/.zshrc.docker
|
||||
|
||||
|
|
Reference in a new issue