lnk: added .profile

This commit is contained in:
Lnk User
2025-06-26 18:28:56 +02:00
parent f390daeec1
commit 0f6be2b4a5
2 changed files with 34 additions and 0 deletions

1
.lnk
View File

@@ -9,3 +9,4 @@
.gitignore-global .gitignore-global
.inputrc .inputrc
.ls_colors .ls_colors
.profile

33
.profile Normal file
View File

@@ -0,0 +1,33 @@
# ~/.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
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export GOROOT=$HOME/Software/go
export PATH=$PATH:$GOROOT/bin
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
. $HOME/.nix-profile/etc/profile.d/nix.sh;
fi # added by Nix installer, edited with HOME var
export XDG_DATA_DIRS="$HOME/.nix-profile/share/:$XDG_DATA_DIRS"
. "$HOME/.atuin/bin/env"