From 837df28a72bbae8c61b5c8ab881d2dba16defb56 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 6 Nov 2016 03:01:28 +0100 Subject: Rename .zshenv/.zprofile to without dot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/.zprofile | 57 +-------------------------------------------------------- zsh/.zshenv | 1 - zsh/zprofile | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ zsh/zshenv | 1 + 4 files changed, 58 insertions(+), 57 deletions(-) mode change 100644 => 120000 zsh/.zprofile delete mode 100644 zsh/.zshenv create mode 100644 zsh/zprofile create mode 100644 zsh/zshenv (limited to 'zsh') diff --git a/zsh/.zprofile b/zsh/.zprofile deleted file mode 100644 index 37bfee6..0000000 --- a/zsh/.zprofile +++ /dev/null @@ -1,56 +0,0 @@ -path=( "$HOME"/.local/bin - "$HOME"/bin - "$HOME"/.gem/ruby/2.1.0/bin - "${path[@]}" ) - -# Set XDG Basedir Spec paths -export XDG_CACHE_HOME="$HOME"/.cache -export XDG_CONFIG_HOME="$HOME"/.config -export XDG_DATA_HOME="$HOME"/.local/share - -# Program homedir overrides -export MPV_HOME="$XDG_CONFIG_HOME"/mpv -export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg -export GALE_DIR="$XDG_CONFIG_HOME"/gale -export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie -export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/password-store - -# Config overrides -export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc-2.0 -export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/XCompose -export XAUTHORITY="$XDG_RUNTIME_DIR"/xauthority -export ABSROOT="$HOME"/build/abs - -export VISUAL=nvim -export NVIM_TUI_ENABLE_TRUE_COLOR=1 - -export BROWSER=chromium-private -export TERMINAL=termite - -export PAGER=less -export LESS=-R -export LESSHISTFILE="$XDG_CACHE_HOME"/lesshist - -export SDL_AUDIODRIVER=pulse - -export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' - -export SHORTHOST=$(hostname -s) - -# Don’t use the default venv prompt in favor of our custom one -export VIRTUAL_ENV_DISABLE_PROMPT=1 - -export GTK_IM_MODULE=ibus -export XMODIFIERS=@im=ibus -export QT_IM_MODULE=ibus - -# LS_COLORS is now required for `ls` to use colors -source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors) - -if [[ -f "$ZDOTDIR"/profile-"$SHORTHOST" ]]; then - source "$ZDOTDIR"/profile-"$SHORTHOST" -fi - -if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then - exec startx "$XDG_CONFIG_HOME"/X11/xinitrc -- -keeptty -configdir "$XDG_CONFIG_HOME"/X11/xorg.conf.d -fi diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 120000 index 0000000..018fc86 --- /dev/null +++ b/zsh/.zprofile @@ -0,0 +1 @@ +zprofile \ No newline at end of file diff --git a/zsh/.zshenv b/zsh/.zshenv deleted file mode 100644 index aed27b6..0000000 --- a/zsh/.zshenv +++ /dev/null @@ -1 +0,0 @@ -export ZDOTDIR=~/.config/zsh diff --git a/zsh/zprofile b/zsh/zprofile new file mode 100644 index 0000000..37bfee6 --- /dev/null +++ b/zsh/zprofile @@ -0,0 +1,56 @@ +path=( "$HOME"/.local/bin + "$HOME"/bin + "$HOME"/.gem/ruby/2.1.0/bin + "${path[@]}" ) + +# Set XDG Basedir Spec paths +export XDG_CACHE_HOME="$HOME"/.cache +export XDG_CONFIG_HOME="$HOME"/.config +export XDG_DATA_HOME="$HOME"/.local/share + +# Program homedir overrides +export MPV_HOME="$XDG_CONFIG_HOME"/mpv +export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg +export GALE_DIR="$XDG_CONFIG_HOME"/gale +export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie +export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/password-store + +# Config overrides +export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc-2.0 +export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/XCompose +export XAUTHORITY="$XDG_RUNTIME_DIR"/xauthority +export ABSROOT="$HOME"/build/abs + +export VISUAL=nvim +export NVIM_TUI_ENABLE_TRUE_COLOR=1 + +export BROWSER=chromium-private +export TERMINAL=termite + +export PAGER=less +export LESS=-R +export LESSHISTFILE="$XDG_CACHE_HOME"/lesshist + +export SDL_AUDIODRIVER=pulse + +export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' + +export SHORTHOST=$(hostname -s) + +# Don’t use the default venv prompt in favor of our custom one +export VIRTUAL_ENV_DISABLE_PROMPT=1 + +export GTK_IM_MODULE=ibus +export XMODIFIERS=@im=ibus +export QT_IM_MODULE=ibus + +# LS_COLORS is now required for `ls` to use colors +source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors) + +if [[ -f "$ZDOTDIR"/profile-"$SHORTHOST" ]]; then + source "$ZDOTDIR"/profile-"$SHORTHOST" +fi + +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx "$XDG_CONFIG_HOME"/X11/xinitrc -- -keeptty -configdir "$XDG_CONFIG_HOME"/X11/xorg.conf.d +fi diff --git a/zsh/zshenv b/zsh/zshenv new file mode 100644 index 0000000..aed27b6 --- /dev/null +++ b/zsh/zshenv @@ -0,0 +1 @@ +export ZDOTDIR=~/.config/zsh -- cgit v1.2.3-70-g09d2