aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.config
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2020-05-31 16:23:23 +0800
committerPeter Son Struschka <me@peter-struschka.com>2020-05-31 16:23:23 +0800
commit0f84799b7d3b0cf0abaace7967a0c0490158440b (patch)
treed610b86e8f741e4350feb33b3f59c969668c1881 /zsh/.config
parent5ad1a1f1935b274fe744a0da4b88da2e6ca54a66 (diff)
downloaddotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.tar.gz
dotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.tar.bz2
dotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.tar.lz
dotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.tar.xz
dotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.tar.zst
dotfiles-0f84799b7d3b0cf0abaace7967a0c0490158440b.zip
zsh+basics: Reorganize environment variables for more programs to use XDG directories
Diffstat (limited to 'zsh/.config')
-rwxr-xr-xzsh/.config/zsh/.zprofile41
1 files changed, 0 insertions, 41 deletions
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile
index 6a40089..f4374d4 100755
--- a/zsh/.config/zsh/.zprofile
+++ b/zsh/.config/zsh/.zprofile
@@ -8,9 +8,6 @@ source /etc/zsh/zprofile
#export TERM=xterm-256color
#export EDITOR="emacsclient -c"
-export EDITOR="nvim"
-
-export DEFAULT_USER=peter
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=0
@@ -18,44 +15,6 @@ export QT_SCALE_FACTOR=0
export MTP_NO_PROBE="1"
-export XDG_CONFIG_HOME="$HOME/.config"
-
-[ -d "$HOME/.local/bin" ] && \
- export PATH="$HOME/.local/bin:$PATH"
-[ -d "$HOME/.bin" ] && \
- export PATH="$HOME/.bin:$PATH"
-[ -d "$HOME/bin" ] && \
- export PATH="$HOME/bin:$PATH"
-
-# Android SDK
-if [ -d "$HOME/.local/share/android-sdk" ]; then
- export ANDROID_HOME="$HOME/.local/share/android-sdk"
- export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools/bin:$PATH"
-fi
-
-# Go
-if type "go" > /dev/null; then
- export PATH="$HOME/go/bin:$PATH"
- export GOPATH=$(go env GOPATH)
-fi
-
-# Rust
-if type "rustc" > /dev/null; then
- export PATH="$HOME/.cargo/bin:$PATH"
- export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
-fi
-
-# Node
-if type "npm" > /dev/null; then
- export PATH="$HOME/.node_modules/bin:$PATH"
- export npm_config_prefix=~/.node_modules
-fi
-
-# Ruby
-if type "ruby" > /dev/null; then
- export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
-fi
-
# fzf
if type "fzf" > /dev/null && type "rg" > /dev/null; then
export FZF_DEFAULT_COMMAND="rg --hidden --follow --ignore-vcs --files --iglob '!.git'"