diff options
author | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-05-17 18:44:48 +0100 |
---|---|---|
committer | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-10-18 11:16:43 +0100 |
commit | b487984ecc61c6229cf92550030745c192fd3d0b (patch) | |
tree | 937e598c941fc1172467aeeed8ef51cbfceaca62 /home/.profile | |
download | dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.gz dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.bz2 dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.zip |
first commit
Diffstat (limited to 'home/.profile')
-rwxr-xr-x | home/.profile | 24 |
1 files changed, 24 insertions, 0 deletions
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 |