2020-08-01 01:54:01 +00:00
|
|
|
# ~/.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
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
export TZ='America/New_York'
|
2021-01-31 00:39:47 +00:00
|
|
|
export GTK_THEME=Materia-dark
|
2019-11-30 03:25:55 +00:00
|
|
|
export LANG="en_US.UTF-8"
|
|
|
|
export LC_ALL="en_US.UTF-8"
|
|
|
|
|
2020-12-03 01:23:37 +00:00
|
|
|
export CDPATH=:~
|
|
|
|
|
2021-01-31 00:39:47 +00:00
|
|
|
export EDITOR=vim
|
|
|
|
export BROWSER=qutebrowser
|
2020-12-25 15:26:22 +00:00
|
|
|
|
2020-10-20 17:26:24 +00:00
|
|
|
# start the ssh agent
|
|
|
|
[[ -z $SSH_AGENT_PID ]] && eval $(ssh-agent)
|
2019-08-16 11:22:20 +00:00
|
|
|
|
2019-08-16 11:36:15 +00:00
|
|
|
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 > /dev/null && exec startx
|
2019-10-18 22:35:20 +00:00
|
|
|
|
2020-07-21 21:56:34 +00:00
|
|
|
#[[ -n "$TMUX" ]] && source .zshrc
|
2019-10-18 22:35:20 +00:00
|
|
|
|
2020-08-02 03:01:56 +00:00
|
|
|
if [ "$TERM" = "linux" ]; then
|
2020-06-24 15:51:00 +00:00
|
|
|
setfont ter-122b
|
2020-08-02 03:18:07 +00:00
|
|
|
echo -en "\e[?6c"
|
|
|
|
echo -en "\e[?16;14;204c"
|
2020-08-02 03:01:56 +00:00
|
|
|
echo -en "\e]P0161510" #black
|
|
|
|
echo -en "\e]P84C4635" #darkgrey
|
|
|
|
echo -en "\e]P1A32810" #darkred
|
|
|
|
echo -en "\e]P9CC3214" #red
|
|
|
|
echo -en "\e]P2727A18" #darkgreen
|
|
|
|
echo -en "\e]PA8E991E" #green
|
|
|
|
echo -en "\e]P3A37720" #brown
|
|
|
|
echo -en "\e]PBCC9528" #yellow
|
|
|
|
echo -en "\e]P43D6266" #darkblue
|
|
|
|
echo -en "\e]PC4C7B7F" #blue
|
|
|
|
echo -en "\e]P57A4955" #darkmagenta
|
|
|
|
echo -en "\e]PD995B6B" #magenta
|
|
|
|
echo -en "\e]P6557A55" #darkcyan
|
|
|
|
echo -en "\e]PE6B996B" #cyan
|
|
|
|
echo -en "\e]P78E8463" #lightgrey
|
|
|
|
echo -en "\e]PFCCBCBE" #white
|
|
|
|
clear #for background artifacting
|
|
|
|
fi
|