From 7eb282e1e9e3b6825479ca37deab7b256d0bfe52 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 22 Jun 2020 23:10:29 +0200 Subject: [PATCH] moved env vars to profile file --- .profile | 8 ++++++++ .zshrc | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..e3aa540 --- /dev/null +++ b/.profile @@ -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" diff --git a/.zshrc b/.zshrc index 01fab6d..f9dfb57 100644 --- a/.zshrc +++ b/.zshrc @@ -19,13 +19,6 @@ # - lsd 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