2021-01-31 03:52:53 +01:00
|
|
|
# export path stuff
|
2021-01-29 01:13:30 +01:00
|
|
|
if [[ $UID -ge 1000 && -d $HOME/.local/bin && -z $(echo $PATH | grep -o $HOME/.local/bin) ]]
|
|
|
|
then
|
2021-01-31 03:52:53 +01:00
|
|
|
export PATH="$HOME/.local/bin:${PATH}"
|
2021-01-29 01:13:30 +01:00
|
|
|
fi
|
|
|
|
|
2021-01-31 03:52:53 +01:00
|
|
|
# start x -> starts dwm within .xinitrc
|
2021-01-19 21:01:53 +01:00
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
|
|
|
startx
|
|
|
|
fi
|
|
|
|
|
2021-01-31 03:52:53 +01:00
|
|
|
# Alias
|
|
|
|
alias nv="nvim"
|
|
|
|
alias vim="nvim"
|
|
|
|
alias sc="maim -s ~/Pictures/$(date +%s).png"
|
2021-04-08 23:15:13 +02:00
|
|
|
alias ff="firefox-nightly"
|
2021-01-20 00:42:32 +01:00
|
|
|
|
2021-10-11 14:59:12 +02:00
|
|
|
# Java/Android
|
|
|
|
export ANDROID_SDK_ROOT="$HOME:/Android/Sdk"
|
|
|
|
export ANDROID_HOME=$HOME/Android/Sdk
|
|
|
|
export PATH=$PATH:$ANDROID_HOME/emulator
|
|
|
|
export PATH=$PATH:$ANDROID_HOME/tools
|
|
|
|
export PATH=$PATH:$ANDROID_HOME/tools/bin
|
|
|
|
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
|
|
|
|
2021-10-18 18:12:51 +02:00
|
|
|
# export trickery
|
2021-01-31 03:52:53 +01:00
|
|
|
export EDITOR=nvim
|
2021-01-19 21:01:53 +01:00
|
|
|
export ZSH="/home/n0x/.oh-my-zsh"
|
|
|
|
export LC_ALL=en_US.UTF-8
|
|
|
|
export LANG=en_US.UTF-8
|
2021-01-31 03:52:53 +01:00
|
|
|
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
2021-01-19 21:01:53 +01:00
|
|
|
|
2021-01-31 03:52:53 +01:00
|
|
|
# call pfetch for new terminal
|
|
|
|
pfetch
|
2021-01-20 14:09:19 +01:00
|
|
|
|
2021-01-31 03:52:53 +01:00
|
|
|
# Theming and plugins
|
2021-01-19 21:01:53 +01:00
|
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
|
|
|
|
HIST_STAMPS="yyyy-mm-dd"
|
|
|
|
|
|
|
|
plugins=(
|
|
|
|
tmux
|
|
|
|
git
|
|
|
|
zsh-autosuggestions
|
|
|
|
zsh-syntax-highlighting
|
|
|
|
)
|
|
|
|
|
2021-10-18 18:12:51 +02:00
|
|
|
#ZSH_TMUX_AUTOSTART=true
|
2021-01-19 21:01:53 +01:00
|
|
|
|
2021-01-31 03:52:53 +01:00
|
|
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
|
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
|
|
fi
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
2021-01-19 21:01:53 +01:00
|
|
|
|
|
|
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
2021-01-20 00:42:32 +01:00
|
|
|
[ -f ~/.config/lf/icons ] && source ~/.config/lf/icons
|
2021-01-19 21:01:53 +01:00
|
|
|
|