lnk: added .profile
This commit is contained in:
1
.lnk
1
.lnk
@@ -9,3 +9,4 @@
|
|||||||
.gitignore-global
|
.gitignore-global
|
||||||
.inputrc
|
.inputrc
|
||||||
.ls_colors
|
.ls_colors
|
||||||
|
.profile
|
||||||
|
|||||||
33
.profile
Normal file
33
.profile
Normal 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"
|
||||||
Reference in New Issue
Block a user