add basic bash environment
This commit is contained in:
35
.profile
Normal file
35
.profile
Normal file
@@ -0,0 +1,35 @@
|
||||
# ~/.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
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set GOPATH and add bin directory to PATH variable
|
||||
export GOPATH="$HOME/.local/lib/go"
|
||||
|
||||
if [ -d "$GOPATH/bin" ] ; then
|
||||
PATH="$GOPATH/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set default options for less
|
||||
# i: case-insensitive; R: use ANSI-Escape sequences
|
||||
export LESS=iR
|
||||
|
||||
# set exa colors
|
||||
export EXA_COLORS="da=32"
|
||||
|
||||
# use all cores with Makefile's
|
||||
export MAKEFLAGS="-j$(nproc --all)"
|
||||
|
||||
# Postgres env
|
||||
export PGHOST=localhost
|
||||
export PGUSER=knmav
|
||||
Reference in New Issue
Block a user