diff options
Diffstat (limited to 'common/.profile')
| -rw-r--r-- | common/.profile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common/.profile b/common/.profile new file mode 100644 index 0000000..b710f29 --- /dev/null +++ b/common/.profile @@ -0,0 +1,18 @@ +#!/bin/bash + +export EDITOR="$(command -v nvim || command -v vim || echo nano)" + +#if [ "$(tty)" = "/dev/tty1" -a -z "$(printenv HYPRLAND_INSTANCE_SIGNATURE)" ]; then +if [ "$DISPLAY" = "" ] && [ "$XDG_VTNR" -eq 1 ]; then + exec ~/.scripts/env/linux/autorun/session_manager.sh +fi + +load_zsh_env() { + if [ "$ZSH_VERSION" != "" ]; then + if [ -f ~/.config/zsh/.zshenv ]; then + . ~/.config/zsh/.zshenv + fi + fi +} + +load_zsh_env |
