aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2020-05-30 11:24:37 +0800
committerPeter Son Struschka <me@peter-struschka.com>2020-05-30 11:24:37 +0800
commit0902ce59971bf8c75c7e6544d4956e4164c66990 (patch)
treefb492ec49600109a5b7ed887a72fb18ea74273ee /zsh/.zprofile
parent32d7a981ba338c2ad5d3e32164cfacb65cf201e0 (diff)
downloaddotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.tar.gz
dotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.tar.bz2
dotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.tar.lz
dotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.tar.xz
dotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.tar.zst
dotfiles-0902ce59971bf8c75c7e6544d4956e4164c66990.zip
zsh: Set XDG base dirs and move ZSH config to ZDOTDIR
Diffstat (limited to 'zsh/.zprofile')
-rwxr-xr-xzsh/.zprofile66
1 files changed, 0 insertions, 66 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
deleted file mode 100755
index 6a40089..0000000
--- a/zsh/.zprofile
+++ /dev/null
@@ -1,66 +0,0 @@
-source /etc/zsh/zprofile
-#if type "cowfortune" > /dev/null; then
-# cowfortune
-#fi
-
-#. /etc/profile.d/vte.sh
-
-#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
-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'"
-fi
-
-# Aliases
-alias open=xdg-open
-