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
View File

@ -1,6 +1,7 @@
[ ! -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
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
@ -49,9 +50,6 @@
SPACESHIP_BATTERY_THRESHOLD=35
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.
# CASE_SENSITIVE="true"
@ -66,7 +64,7 @@
DISABLE_UPDATE_PROMPT="true"
# 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.
# DISABLE_LS_COLORS="true"
@ -90,13 +88,13 @@
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# 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 hist_ignore_dups
setopt hist_ignore_all_dups
setopt hist_save_no_dups
setopt hist_ignore_space
export HISTCONTROL=ignoredups:erasedups
HISTCONTROL=ignoredups:erasedups
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
@ -127,21 +125,21 @@
source ~/.zsh/bemenu-dracula/bemenu-dracula
# You may need to manually set your language environment
export LANG=en_GB.UTF-8
export http_proxy="http://localhost:8118"
LANG=en_GB.UTF-8
http_proxy="http://localhost:8118"
if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
eval `ssh-agent` > /dev/null
ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
export EDITOR='vim'
export TERM='xterm-256color'
EDITOR='vim'
TERM='xterm-256color'
# export ARCHFLAGS="-arch x86_64"
export kee="surtur"
export SSH_KEY_PATH="$HOME/.ssh/$kee"
kee="surtur"
SSH_KEY_PATH="$HOME/.ssh/$kee"
eval $(TERM=xterm-256color dircolors)
alias ls='exa -al --group --group-directories-first'