mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 16:26:10 +01:00
Zsh cleanup - a lot of path duplicates :))))
This commit is contained in:
@@ -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
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
export PATH="$PATH:~/.local/bin:~/.cargo/bin"
|
|
||||||
export TERMINAL="alacritty"
|
|
||||||
export QT_STYLE_OVERRIDE="kvantum"
|
|
||||||
41
zsh/.zshenv
41
zsh/.zshenv
@@ -1,9 +1,34 @@
|
|||||||
# Copyright (c) 2021 Piotr Patalong
|
# Path shenanigans
|
||||||
#
|
export PATH="$PATH:~/.cargo/bin:~/.local/bin";
|
||||||
# This software is released under the MIT License.
|
|
||||||
# https://opensource.org/licenses/MIT
|
|
||||||
|
|
||||||
export PATH="$PATH:/home/vectorkappa/.cargo/bin:/home/vectorkappa/.local/bin"
|
|
||||||
export QT_STYLE_OVERRIDE=kvantum
|
|
||||||
export PATH="$PATH:/home/vectorkappa/.local/bin"
|
export QT_STYLE_OVERRIDE="kvantum";
|
||||||
export TERMINAL="alacritty"
|
|
||||||
|
# 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";
|
||||||
|
|||||||
Reference in New Issue
Block a user