Index

dotfiles / fe61ce7

My personal dotfiles for Debian/Ubuntu.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
4214 Oct 2021 07:31fe61ce7Add .xsessionrc for laptopJosh Stockin161G

Blob @ dotfiles / .profile

text/plain912 bytesdownload raw
1# ~/.profile: executed by the command interpreter for login shells.
2# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
3# exists.
4# see /usr/share/doc/bash/examples/startup-files for examples.
5# the files are located in the bash-doc package.
6
7# the default umask is set in /etc/profile; for setting the umask
8# for ssh logins, install and configure the libpam-umask package.
9#umask 022
10
11# if running bash
12if [ -n "$BASH_VERSION" ]; then
13 # include .bashrc if it exists
14 if [ -f "$HOME/.bashrc" ]; then
15 . "$HOME/.bashrc"
16 fi
17fi
18
19# set PATH so it includes user's private bin if it exists
20if [ -d "$HOME/bin" ] ; then
21 PATH="$HOME/bin:$PATH"
22fi
23
24# set PATH so it includes user's private bin if it exists
25if [ -d "$HOME/.local/bin" ] ; then
26 PATH="$HOME/.local/bin:$PATH"
27fi
28
29# Run .xsessionrc if it exists
30if [ -f "$HOME/.xsessionrc" ] ; then
31 . "$HOME/.xsessionrc"
32fi
33