Move variables from .zprofile to .zshenv

This commit is contained in:
finga 2024-12-23 22:52:36 +01:00
parent 1d66958838
commit 76255c6092
2 changed files with 10 additions and 20 deletions

View file

@ -1,23 +1,3 @@
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
export PAGER='bat'
export EDITOR='em'
export VISUAL='em'
export BROWSER='firefox'
export TERMINAL='alacritty'
export MANPAGER="bat -l man -p"
# make the password-store use primary instead of clipboard
export PASSWORD_STORE_X_SELECTION=primary
# if running bash # if running bash
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists # include .bashrc if it exists

10
.zshenv
View file

@ -1,3 +1,13 @@
export PAGER='bat'
export EDITOR='em'
export VISUAL='em'
export BROWSER='firefox'
export TERMINAL='alacritty'
export MANPAGER="bat -l man -p"
# make the password-store use primary instead of clipboard
export PASSWORD_STORE_X_SELECTION=primary
# #
# Safety Aliases # Safety Aliases
# #