Add zprofile
This commit is contained in:
parent
f986a58b87
commit
e402232c7c
2 changed files with 9 additions and 3 deletions
|
@ -3,9 +3,7 @@
|
|||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
if [ -x /usr/bin/vim ]; then
|
||||
export EDITOR="/usr/bin/vim"
|
||||
fi
|
||||
[[ -x /usr/bin/vim ]] && export EDITOR="/usr/bin/vim"
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$PATH:$HOME/.cargo/bin"
|
8
dotfiles/zsh/zprofile
Normal file
8
dotfiles/zsh/zprofile
Normal file
|
@ -0,0 +1,8 @@
|
|||
# ~/.zprofile
|
||||
#
|
||||
|
||||
[[ -x /usr/bin/vim ]] && export EDITOR="/usr/bin/vim"
|
||||
|
||||
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||
exec startx
|
||||
fi
|
Loading…
Add table
Reference in a new issue