configs

git clone git://git.codymlewis.com/configs.git
Log | Files | Refs | README

.zprofile (1103B)


      1 #!/bin/sh
      2 
      3 export EDITOR="nvim"
      4 export TERMINAL="st"
      5 export BROWSER="chromium"
      6 export READER="zathura"
      7 export XDG_CONFIG_HOME="$HOME/.config"
      8 export XDG_USER_CONFIG_DIR="$XDG_CONFIG_HOME"
      9 export HISTFILE="$XDG_CONFIG_HOME"/zsh/history
     10 export HISTFILESIZE=1000000000
     11 export HISTSIZE=1000000000
     12 export SAVEHIST=1000000000
     13 export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc
     14 export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
     15 export ANDROID_HOME="$HOME/Android/Sdk"
     16 export ANDROID_NDK_ROOT="$ANDROID_HOME/ndk/21.1.6352462/"
     17 export ANDROIDAPI="26"
     18 # export NDKAPI="21"
     19 export PATH="$HOME/bin:$HOME/.local/bin:$ANDROID_HOME/platform-tools:$PATH"
     20 
     21 [ -d "$HOME/.nvm" ] && export NVM_DIR="$HOME/.nvm" && \
     22        [ -s "$NVM_DIR/nvm.sh" ] && \. "NVM_DIR/nvm.sh"
     23 
     24 # Add RVM to PATH for scripting.
     25 [ -d "$HOME/.rvm" ] && export PATH="$PATH:$HOME/.rvm/bin"
     26 [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
     27 
     28 pgrep 'mpd' > /dev/null || mpd ~/.config/mpd/mpd.conf &
     29 pgrep 'startx' > /dev/null || startx