Skip to content

Commit 713ed0a

Browse files
committed
updates
1 parent a71fe4d commit 713ed0a

File tree

4 files changed

+55
-32
lines changed

4 files changed

+55
-32
lines changed

.bash_profile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
####
2+
# ~/.bashrc
3+
#
4+
# | | Interactive | Interactive | Script |
5+
# | | login | non-login | |
6+
# | ---------------- | ----------- | ----------- | ------ |
7+
# | /etc/profile | A | | |
8+
# | /etc/bash.bashrc | | A | |
9+
# | ~/.bashrc | | B | |
10+
# | ~/.bash_profile | B1 | | |
11+
# | ~/.bash_login | B2 | | |
12+
# | ~/.profile | B3 | | |
13+
# | BASH_ENV | | | B |
14+
# | ---------------- | ----------- | ----------- | ------ |
15+
# | ~/.bash_logout | C | | |
16+
####
17+
18+
[[ -f ~/.env ]] && source ~/.env
19+
[[ -f ~/.env.bash ]] && source ~/.env.bash
20+
[[ -f ~/.env.local ]] && source ~/.env.local
21+
[[ -f ~/.env.bash.local ]] && source ~/.env.bash.local
22+
23+
source $PMS/pms.sh bash

.bashrc

+1-11
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,9 @@
1515
# | ~/.bash_logout | C | | |
1616
####
1717

18-
# Defaults
19-
PMS=~/.pms
20-
PMS_LOCAL=$PMS/local
21-
PMS_DEBUG=1
22-
PMS_REPO=JoshuaEstes/pms
23-
PMS_REMOTE=https://github.com/${PMS_REPO}.git
24-
PMS_BRANCH=main
25-
PMS_THEME=default
26-
PMS_PLUGINS=(getting-started)
27-
2818
[[ -f ~/.env ]] && source ~/.env
2919
[[ -f ~/.env.bash ]] && source ~/.env.bash
3020
[[ -f ~/.env.local ]] && source ~/.env.local
3121
[[ -f ~/.env.bash.local ]] && source ~/.env.bash.local
3222

33-
source $PMS/pms.sh bash $PMS_DEBUG
23+
source $PMS/pms.sh bash

.env

+30-10
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,41 @@
66
PATH="$HOME/bin:$PATH"
77
export PATH
88

9-
# Various environmental variables that are required
9+
# This is the directory where you can find PMS
10+
PMS=$HOME/.pms
1011

11-
# Full path to where PMS is installed
12-
PMS=~/.pms
13-
PMS_LOCAL=$PMS/local
14-
15-
# 0 = disabled, 1 = enabled
12+
# Setting this to 1 will enable the PMS debug mode
1613
PMS_DEBUG=1
1714

18-
# Setup the git repo that we pull from for updates
15+
# github repo
1916
PMS_REPO=JoshuaEstes/pms
17+
18+
# full github repo
2019
PMS_REMOTE=https://github.com/${PMS_REPO}.git
20+
21+
# which branch to use
2122
PMS_BRANCH=main
2223

23-
# PMS Dotfiles Configuration
24-
PMS_DOTFILES_REPO=[email protected]:JoshuaEstes/dotfiles.git
24+
# This is the directory where you can find custom PMS stuff like libraries,
25+
# plugins, and themes that the user has created
26+
PMS_LOCAL=${PMS}/local
27+
28+
# Cache dir
29+
PMS_CACHE_DIR=${PMS}/cache
30+
31+
# Log directory
32+
PMS_LOG_DIR=${PMS}/log
33+
34+
# This is the repository that updates will be pushed to
35+
PMS_DOTFILES_REPO=JoshuaEstes/dotfiles
36+
37+
# Full git remote for dotfiles repo
38+
PMS_DOTFILES_REMOTE=[email protected]:${PMS_DOTFILES_REPO}.git
39+
40+
# What is the branch that we will be using for dotfiles
2541
PMS_DOTFILES_BRANCH=main
26-
PMS_DOTFILES_GIT_DIR=$HOME/.dotfiles
42+
43+
# This will be the location where the git repo maintain your dotfiles. Your
44+
# dotfiles will not be stored here. You will be able to view and edit your
45+
# dotfiles in your $HOME directory
46+
PMS_DOTFILES_GIT_DIR=${HOME}/.dotfile

.zshrc

+1-11
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,9 @@
1717
# | /etc/zlogout | J | | |
1818
####
1919

20-
# Default PMS Options
21-
#PMS=~/.pms
22-
#PMS_LOCAL=$PMS/local
23-
#PMS_DEBUG=1
24-
#PMS_REPO=JoshuaEstes/pms
25-
#PMS_REMOTE=https://github.com/${PMS_REPO}.git
26-
#PMS_BRANCH=main
27-
#PMS_THEME=default
28-
#PMS_PLUGINS=(getting-started)
29-
3020
[[ -f ~/.env ]] && source ~/.env
3121
[[ -f ~/.env.zsh ]] && source ~/.env.zsh
3222
[[ -f ~/.env.local ]] && source ~/.env.local
3323
[[ -f ~/.env.zsh.local ]] && source ~/.env.zsh.local
3424

35-
source $PMS/pms.sh zsh $PMS_DEBUG
25+
source $PMS/pms.sh zsh

0 commit comments

Comments
 (0)