Skip to content

Commit

Permalink
added building stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
youmukonpaku1337 committed Feb 2, 2022
1 parent 7f70b16 commit 8f66c70
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Append "$1" to $PATH when not already in.
# Copied from Arch Linux, see #12803 for details.
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
;;
esac
}

append_path "/usr/local/sbin"
append_path "/usr/local/bin"
append_path "/usr/sbin"
append_path "/usr/bin"
append_path "/sbin"
append_path "/bin"
unset -f append_path

export PATH
export PAGER=less
umask 022

# set up fallback default PS1
: "${HOSTNAME:=$(hostname)}"
PS1="alpishell: "
# export PS1 as before
export PS1

for script in /etc/profile.d/*.sh ; do
if [ -r "$script" ] ; then
. "$script"
fi
done
unset script

0 comments on commit 8f66c70

Please sign in to comment.