zshrc: do not export variables

This commit is contained in:
surtur 2021-09-01 20:51:14 +02:00
parent 90777182c6
commit 0fce075701
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

26
.zshrc

@ -1,6 +1,7 @@
[ ! -d ~/.oh-my-zsh ] && sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" [ ! -d ~/.oh-my-zsh ] && sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
export ZSH_CACHE_DIR="$ZSH/cache" ZSH=$HOME/.oh-my-zsh
ZSH_CACHE_DIR="$ZSH/cache"
source ~/.zplug/init.zsh source ~/.zplug/init.zsh
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
@ -49,9 +50,6 @@
SPACESHIP_BATTERY_THRESHOLD=35 SPACESHIP_BATTERY_THRESHOLD=35
SPACESHIP_CHAR_COLOR_SUCCESS=green SPACESHIP_CHAR_COLOR_SUCCESS=green
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Uncomment the following line to use case-sensitive completion. # Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true" # CASE_SENSITIVE="true"
@ -66,7 +64,7 @@
DISABLE_UPDATE_PROMPT="true" DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days). # Uncomment the following line to change how often to auto-update (in days).
export UPDATE_ZSH_DAYS=3 UPDATE_ZSH_DAYS=3
# Uncomment the following line to disable colors in ls. # Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true" # DISABLE_LS_COLORS="true"
@ -90,13 +88,13 @@
# Uncomment the following line if you want to change the command execution time # Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output. # stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
export HIST_STAMPS="dd.mm.yyyy" HIST_STAMPS="dd.mm.yyyy"
setopt share_history setopt share_history
setopt hist_ignore_dups setopt hist_ignore_dups
setopt hist_ignore_all_dups setopt hist_ignore_all_dups
setopt hist_save_no_dups setopt hist_save_no_dups
setopt hist_ignore_space setopt hist_ignore_space
export HISTCONTROL=ignoredups:erasedups HISTCONTROL=ignoredups:erasedups
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder # ZSH_CUSTOM=/path/to/new-custom-folder
@ -127,21 +125,21 @@
source ~/.zsh/bemenu-dracula/bemenu-dracula source ~/.zsh/bemenu-dracula/bemenu-dracula
# You may need to manually set your language environment # You may need to manually set your language environment
export LANG=en_GB.UTF-8 LANG=en_GB.UTF-8
export http_proxy="http://localhost:8118" http_proxy="http://localhost:8118"
if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
eval `ssh-agent` > /dev/null eval `ssh-agent` > /dev/null
ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock
fi fi
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
export EDITOR='vim' EDITOR='vim'
export TERM='xterm-256color' TERM='xterm-256color'
# export ARCHFLAGS="-arch x86_64" # export ARCHFLAGS="-arch x86_64"
export kee="surtur" kee="surtur"
export SSH_KEY_PATH="$HOME/.ssh/$kee" SSH_KEY_PATH="$HOME/.ssh/$kee"
eval $(TERM=xterm-256color dircolors) eval $(TERM=xterm-256color dircolors)
alias ls='exa -al --group --group-directories-first' alias ls='exa -al --group --group-directories-first'