From 7be7d76416b8ec63768166d0578b58c392570210 Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Wed, 9 Nov 2022 15:07:44 +0100 Subject: [PATCH] Zsh cleanup - a lot of path duplicates :)))) --- common/.exports | 30 ------------------------------ zsh/.zprofile | 3 --- zsh/.zshenv | 41 +++++++++++++++++++++++++++++++++-------- 3 files changed, 33 insertions(+), 41 deletions(-) delete mode 100644 common/.exports delete mode 100644 zsh/.zprofile diff --git a/common/.exports b/common/.exports deleted file mode 100644 index 3d75b16..0000000 --- a/common/.exports +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash - -# Make vim the default editor. -export EDITOR='vim'; - -# Enable persistent REPL history for `node`. -export NODE_REPL_HISTORY=~/.node_history; -# Allow 32³ entries; the default is 1000. -export NODE_REPL_HISTORY_SIZE='32768'; -# Use sloppy mode by default, matching web browsers. -export NODE_REPL_MODE='sloppy'; - -# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr. -export PYTHONIOENCODING='UTF-8'; - -# Highlight section titles in manual pages. -export LESS_TERMCAP_md="${yellow}"; - -# Less settings -if which less > /dev/null 2>&1;then - export PAGER="less" - export LESS="-R" - # nicer highlighting - if which src-hilite-lesspipe.sh > /dev/null 2>&1; then - export LESSOPEN="| src-hilite-lesspipe.sh %s" - fi - - # Don’t clear the screen after quitting a manual page. - export MANPAGER='less -X'; -fi diff --git a/zsh/.zprofile b/zsh/.zprofile deleted file mode 100644 index b9f47fb..0000000 --- a/zsh/.zprofile +++ /dev/null @@ -1,3 +0,0 @@ -export PATH="$PATH:~/.local/bin:~/.cargo/bin" -export TERMINAL="alacritty" -export QT_STYLE_OVERRIDE="kvantum" diff --git a/zsh/.zshenv b/zsh/.zshenv index 0b0d5e8..e08003e 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,9 +1,34 @@ -# Copyright (c) 2021 Piotr Patalong -# -# This software is released under the MIT License. -# https://opensource.org/licenses/MIT +# Path shenanigans +export PATH="$PATH:~/.cargo/bin:~/.local/bin"; -export PATH="$PATH:/home/vectorkappa/.cargo/bin:/home/vectorkappa/.local/bin" -export QT_STYLE_OVERRIDE=kvantum -export PATH="$PATH:/home/vectorkappa/.local/bin" -export TERMINAL="alacritty" + + +export QT_STYLE_OVERRIDE="kvantum"; + +# Defaults +export TERMINAL="alacritty"; +export EDITOR='nvim'; +export BROWSER='firefox-developer-edition'; + + + + +# Enable persistent REPL history for `node`. +export NODE_REPL_HISTORY=~/.node_history; +# Allow 32³ entries; the default is 1000. +export NODE_REPL_HISTORY_SIZE='32768'; +# Use sloppy mode by default, matching web browsers. +export NODE_REPL_MODE='sloppy'; + +# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr. +export PYTHONIOENCODING='UTF-8'; + +# Less settings +if which less > /dev/null 2>&1;then + export PAGER="less" + export LESS="-R" + # Don’t clear the screen after quitting a manual page. + export MANPAGER='less -X'; +fi + +export FZF_DEFAULT_OPTS="--color=bg+:#363a4f,bg:#24273a,spinner:#f4dbd6,hl:#ed8796 --color=fg:#cad3f5,header:#ed8796,info:#c6a0f6,pointer:#f4dbd6 --color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796";