File tree 4 files changed +55
-32
lines changed
4 files changed +55
-32
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 15
15
# | ~/.bash_logout | C | | |
16
16
# ###
17
17
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
-
28
18
[[ -f ~ /.env ]] && source ~ /.env
29
19
[[ -f ~ /.env.bash ]] && source ~ /.env.bash
30
20
[[ -f ~ /.env.local ]] && source ~ /.env.local
31
21
[[ -f ~ /.env.bash.local ]] && source ~ /.env.bash.local
32
22
33
- source $PMS /pms.sh bash $PMS_DEBUG
23
+ source $PMS /pms.sh bash
Original file line number Diff line number Diff line change 6
6
PATH = " $HOME /bin:$PATH "
7
7
export PATH
8
8
9
- # Various environmental variables that are required
9
+ # This is the directory where you can find PMS
10
+ PMS = $HOME /.pms
10
11
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
16
13
PMS_DEBUG = 1
17
14
18
- # Setup the git repo that we pull from for updates
15
+ # github repo
19
16
PMS_REPO = JoshuaEstes/pms
17
+
18
+ # full github repo
20
19
PMS_REMOTE = https://github.com/${ PMS_REPO } .git
20
+
21
+ # which branch to use
21
22
PMS_BRANCH = main
22
23
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
25
41
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
Original file line number Diff line number Diff line change 17
17
# | /etc/zlogout | J | | |
18
18
# ###
19
19
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
-
30
20
[[ -f ~ /.env ]] && source ~ /.env
31
21
[[ -f ~ /.env.zsh ]] && source ~ /.env.zsh
32
22
[[ -f ~ /.env.local ]] && source ~ /.env.local
33
23
[[ -f ~ /.env.zsh.local ]] && source ~ /.env.zsh.local
34
24
35
- source $PMS /pms.sh zsh $PMS_DEBUG
25
+ source $PMS /pms.sh zsh
You can’t perform that action at this time.
0 commit comments