feat: add relevant zsh files
This commit is contained in:
parent
7f64fa6c10
commit
b0db49ed37
7
.config/zsh/.zlogin
Normal file
7
.config/zsh/.zlogin
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/zsh
|
||||
|
||||
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
||||
export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc
|
||||
|
||||
# startx at session login
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx "$XINITRC"
|
30
.config/zsh/.zprofile
Normal file
30
.config/zsh/.zprofile
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# This file is sourced when launching a DM from startx/xinit
|
||||
|
||||
# environment variables
|
||||
## dotfiles
|
||||
export DOTFILES="$HOME/.dotfiles.git"
|
||||
|
||||
## XDG_BASE_DIRECTORIES
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
||||
export LESSHISTFILE="-"
|
||||
export MBSYNCRC="$XDG_CONFIG_HOME/mbsync/config"
|
||||
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/notmuchrc"
|
||||
export NMBGIT="$XDG_DATA_HOME/notmuch/nmbug"
|
||||
export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME/android"
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
||||
export TEXMFHOME="$XDG_DATA_HOME/texmf"
|
||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||
|
||||
## default programs
|
||||
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
||||
export GPG_ASKPASS="/usr/bin/pinentry-curses"
|
||||
export SUDO_EDITOR="nvim"
|
||||
export EDITOR="nvim"
|
||||
export TERMINAL="st"
|
||||
export READER="zathura"
|
||||
export BROWSER="firefox"
|
Reference in New Issue
Block a user