From 0556d7df36019b1fff3d2f7d3dc6b2ddd9c6a945 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 20 Feb 2023 10:12:10 -0600 Subject: [PATCH] continue to migrate zsh --- home/dot_zprofile | 6 ---- home/dot_zshrc | 45 -------------------------- home/private_dot_config/zsh/dot_zshenv | 24 -------------- 3 files changed, 75 deletions(-) delete mode 100644 home/dot_zprofile delete mode 100644 home/dot_zshrc delete mode 100644 home/private_dot_config/zsh/dot_zshenv diff --git a/home/dot_zprofile b/home/dot_zprofile deleted file mode 100644 index d533dc1..0000000 --- a/home/dot_zprofile +++ /dev/null @@ -1,6 +0,0 @@ -# # startx automatically if on first tty -# if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then -# startx -# logout -# fi - diff --git a/home/dot_zshrc b/home/dot_zshrc deleted file mode 100644 index b18e29f..0000000 --- a/home/dot_zshrc +++ /dev/null @@ -1,45 +0,0 @@ -# If not running interactively, don't do anything -[ -z "$PS1" ] && return - -if [ -d "$HOME/.dotfiles" ]; then - DOTFILES_DIR="$HOME/.dotfiles" -else - echo "Unable to find dotfiles, exiting." - return -fi - -# Make utilities available -PATH="$DOTFILES_DIR/bin:$PATH" - -src=( - 'base' - 'function' - 'path' - 'env' - 'prompt' - 'alias' - 'conda' - 'plugins' -) - -for dotfile in $src; do - . $DOTFILES_DIR/lib/$dotfile.zsh -done - -unset dotfile - -DOTFILES_EXTRA_DIR="$HOME/.extra" - -if [ -d "$DOTFILES_EXTRA_DIR" ]; then - for EXTRAFILE in "$DOTFILES_EXTRA_DIR"/runcom/*.sh; do - [ -f "$EXTRAFILE" ] && . "$EXTRAFILE" - done -fi - -unset EXTRAFILE - -export DOTFILES_DIR DOTFILES_EXTRA_DIR - -# welcome art -# ! is-tty && $DOTFILES_DIR/bin/print-epoch - diff --git a/home/private_dot_config/zsh/dot_zshenv b/home/private_dot_config/zsh/dot_zshenv deleted file mode 100644 index 77ff433..0000000 --- a/home/private_dot_config/zsh/dot_zshenv +++ /dev/null @@ -1,24 +0,0 @@ -# -# .zshenv - Zsh environment file, loaded always. -# -# NOTE: .zshenv has to live at ~/.zshenv, not in $ZDOTDIR! You can get around this by -# symlinking .zshenv from your $ZDOTDIR: `ln -sf $ZDOTDIR/.zshenv ~/.zshenv` -# - -# -# ZDOTDIR -# - -export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config} -export ZDOTDIR=${ZDOTDIR:-${XDG_CONFIG_HOME}/zsh} - -# -# .zprofile -# - -# We use .zprofile for everything else (load for non-login, non-interactive shells). -if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then - source "${ZDOTDIR:-$HOME}/.zprofile" -fi - -# vim: ft=zsh sw=2 ts=2 et