From 0f6be2b4a5be5bc197350b95a268318f182cfe85 Mon Sep 17 00:00:00 2001 From: Lnk User Date: Thu, 26 Jun 2025 18:28:56 +0200 Subject: [PATCH] lnk: added .profile --- .lnk | 1 + .profile | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .profile diff --git a/.lnk b/.lnk index b6b2913..4af5302 100644 --- a/.lnk +++ b/.lnk @@ -9,3 +9,4 @@ .gitignore-global .inputrc .ls_colors +.profile diff --git a/.profile b/.profile new file mode 100644 index 0000000..a4676af --- /dev/null +++ b/.profile @@ -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"