From b487984ecc61c6229cf92550030745c192fd3d0b Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Wed, 17 May 2023 18:44:48 +0100 Subject: first commit --- home/.profile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 home/.profile (limited to 'home/.profile') diff --git a/home/.profile b/home/.profile new file mode 100755 index 0000000..2550836 --- /dev/null +++ b/home/.profile @@ -0,0 +1,24 @@ +# ~/.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 + +# shellcheck source=/dev/null +[ -r ~/.config/sh/envrc ] && . ~/.config/sh/envrc + +if [ ! "$DISPLAY" ] && [ "$XDG_VTNR" = "1" ]; then + ifexists sx +fi + +if [ "$BASH" ]; then + safesource ~/.bashrc +elif [ "$ZSH_VERSION" ]; then + safesource "$XDG_CONFIG_HOME"/zsh/.zshrc +else + safesource "$XDG_CONFIG_HOME"/sh/shinit +fi -- cgit v1.2.3-70-g09d2