moved env vars to profile file

This commit is contained in:
Niklas 2020-06-22 23:10:29 +02:00
parent 879bff5f27
commit 7eb282e1e9
2 changed files with 8 additions and 7 deletions

8
.profile Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
export BROWSER=firefox
export EDITOR=nvim
export VISUAL=nvim
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"

7
.zshrc
View File

@ -19,13 +19,6 @@
# - lsd # - lsd
export PATH=/$HOME/.local/bin:$PATH export PATH=/$HOME/.local/bin:$PATH
export BROWSER=firefox
export EDITOR=nvim
export VISUAL=nvim
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
[[ $- != *i* ]] && return [[ $- != *i* ]] && return