summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-05-25 22:52:15 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-05-25 22:52:15 +0200
commitecbf1d1961f989e591c9291116ea91a87c81744c (patch)
tree1b6a142ae38e666372e9beb18958cff0f6aa0861
parentd0c7230a9fb78a87a919b9aff05f6630fa6500f5 (diff)
Remove zshenv. Load .profile in zsh.
-rw-r--r--.zprofile2
-rw-r--r--.zshenv46
2 files changed, 1 insertions, 47 deletions
diff --git a/.zprofile b/.zprofile
index a51740f..886e1b6 100644
--- a/.zprofile
+++ b/.zprofile
@@ -2,7 +2,7 @@
# or when running with --shell flag.
## Read bash profile if present.
-#emulate sh -c '. ~/.profile'
+emulate sh -c '. ~/.profile'
# Clone oh-my-zsh if not present.
test ! -e ~/.oh-my-zsh && git clone https://github.com/ohmyzsh/ohmyzsh .oh-my-zsh
diff --git a/.zshenv b/.zshenv
deleted file mode 100644
index 9d271a0..0000000
--- a/.zshenv
+++ /dev/null
@@ -1,46 +0,0 @@
-# Generic
-export LANG=en_US.UTF-8
-export LC_TIME=de_DE.UTF-8
-export EDITOR=vim
-export TIMER_FORMAT='%d'
-export TIMER_PRECISION=2
-
-# Main shadow bin directory
-export PATH=$HOME/.local/bin:$PATH
-
-# Other bin directories
-export PATH=$HOME/.local/bin/`hostname`:$PATH
-export PATH=$HOME/.local/bin/`uname -m`:$PATH
-export PATH=$HOME/.cargo/bin:$PATH
-export PATH=$HOME/.yarn/bin:$PATH
-
-# Go
-export GOPATH="$HOME/.go"
-export PATH=$GOPATH/bin:$PATH
-
-export ANDROID_SDK_ROOT=$HOME/Android/Sdk
-
-# Building
-export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'`
-export CFLAGS="-O2 -pipe -march=native"
-export CXXFLAGS="${CFLAGS}"
-
-# Sway compatiblity
-if [ "$XDG_SESSION_DESKTOP" = "sway" ] ; then
- # https://github.com/swaywm/sway/issues/595
- export _JAVA_AWT_WM_NONREPARENTING=1
-fi
-
-# Preferred editor for local and remote sessions
-# if [[ -n $SSH_CONNECTION ]]; then
-# export EDITOR='vim'
-# else
-# export EDITOR='mvim'
-# fi
-
-# Compilation flags
-# export ARCHFLAGS="-arch x86_64"
-
-# ssh
-# export SSH_KEY_PATH="~/.ssh/rsa_id"
-