@sebastienrousseau/dotfiles 0.2.458 → 0.2.460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -11
- package/dist/Makefile +35 -57
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/constants.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/transfer.js.map +1 -1
- package/dist/bin/unpack.js.map +1 -1
- package/dist/filesizes.txt +107 -59
- package/dist/lib/aliases/default/default.aliases.sh +2 -8
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +116 -117
- package/dist/lib/aliases/git/git.aliases.sh +6 -47
- package/dist/lib/aliases/heroku/heroku.aliases.sh +673 -673
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +26 -26
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +36 -36
- package/dist/lib/aliases/subversion/subversion.aliases.sh +80 -80
- package/dist/lib/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/lib/aliases.sh +1 -1
- package/dist/lib/configurations/bash/bashrc +24 -24
- package/dist/lib/configurations/curl/curlrc +1 -1
- package/dist/lib/configurations/default/color.sh +1 -1
- package/dist/lib/configurations/default/constants.sh +41 -0
- package/dist/lib/configurations/default/editor.sh +1 -1
- package/dist/lib/configurations/default/prompt.sh +1 -1
- package/dist/lib/configurations/gem/gemrc +9 -0
- package/dist/lib/configurations/{inputrc → input}/inputrc +1 -1
- package/dist/lib/configurations/nano/nanorc +34 -0
- package/dist/lib/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +1 -1
- package/dist/lib/configurations/tmux/display +1 -1
- package/dist/lib/configurations/tmux/linux +1 -1
- package/dist/lib/configurations/tmux/navigation +1 -1
- package/dist/lib/configurations/tmux/panes +1 -1
- package/dist/lib/configurations/tmux/theme +4 -4
- package/dist/lib/configurations/tmux/tmux +1 -1
- package/dist/lib/configurations/tmux/vi +1 -1
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +1 -1
- package/dist/lib/configurations/zsh/zshrc +15 -16
- package/dist/lib/configurations.sh +1 -1
- package/dist/lib/exit.sh +1 -1
- package/dist/lib/functions/cdls.sh +1 -1
- package/dist/lib/functions/changediskpwd.tmp +17 -0
- package/dist/lib/functions/code.tmp +16 -0
- package/dist/lib/functions/countdown.tmp +33 -0
- package/dist/lib/functions/curlheader.sh +2 -2
- package/dist/lib/functions/curltime.sh +3 -4
- package/dist/lib/functions/encode64.sh +1 -1
- package/dist/lib/functions/environment.sh +2 -3
- package/dist/lib/functions/extract.sh +1 -1
- package/dist/lib/functions/genpwd.sh +6 -6
- package/dist/lib/functions/goto.sh +1 -1
- package/dist/lib/functions/headers.tmp +4 -0
- package/dist/lib/functions/hidehiddenfiles.sh +1 -1
- package/dist/lib/functions/history-all.tmp +7 -0
- package/dist/lib/functions/hostinfo.sh +1 -1
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +1 -1
- package/dist/lib/functions/keygen.sh +1 -1
- package/dist/lib/functions/last.sh +1 -1
- package/dist/lib/functions/logout.sh +1 -1
- package/dist/lib/functions/lowercase.sh +16 -17
- package/dist/lib/functions/macos.sh +14 -15
- package/dist/lib/functions/matrix.sh +7 -2
- package/dist/lib/functions/mcd.sh +1 -1
- package/dist/lib/functions/mount_read_only.sh +1 -1
- package/dist/lib/functions/myproc.sh +1 -1
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +13 -0
- package/dist/lib/functions/ql.sh +1 -1
- package/dist/lib/functions/rd.sh +3 -3
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +1 -1
- package/dist/lib/functions/rm.tmp +13 -0
- package/dist/lib/functions/rps.tmp +103 -0
- package/dist/lib/functions/showhiddenfiles.sh +1 -1
- package/dist/lib/functions/size.sh +1 -1
- package/dist/lib/functions/stopwatch.sh +1 -1
- package/dist/lib/functions/trash.tmp +13 -0
- package/dist/lib/functions/tree.tmp +13 -0
- package/dist/lib/functions/uppercase.sh +16 -17
- package/dist/lib/functions/uuidgen.tmp +27 -0
- package/dist/lib/functions/view-source.sh +2 -3
- package/dist/lib/functions/vscode.sh +1 -2
- package/dist/lib/functions/whoisport.sh +1 -1
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +1 -1
- package/dist/lib/history.sh +22 -22
- package/dist/lib/paths/ant/ant.paths.sh +1 -1
- package/dist/lib/paths/default/default.paths.sh +10 -10
- package/dist/lib/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/lib/paths/java/java.paths.sh +1 -1
- package/dist/lib/paths/maven/maven.paths.sh +1 -1
- package/dist/lib/paths/node/node.paths.sh +1 -1
- package/dist/lib/paths/nvm/nvm.paths.sh +1 -1
- package/dist/lib/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/lib/paths/python/python.paths.sh +3 -3
- package/dist/lib/paths/ruby/ruby.paths.sh +1 -1
- package/dist/lib/paths/tmux/tmux.paths.sh +1 -1
- package/dist/lib/paths.sh +1 -1
- package/dist/scripts/backup.sh +89 -0
- package/dist/scripts/banner.sh +18 -0
- package/dist/scripts/build.sh +39 -0
- package/dist/scripts/clean.sh +29 -0
- package/dist/scripts/compile.sh +52 -0
- package/dist/scripts/copy.sh +106 -0
- package/dist/scripts/dotfiles.sh +61 -0
- package/dist/scripts/download.sh +33 -0
- package/dist/scripts/help.sh +55 -0
- package/dist/scripts/unpack.sh +26 -0
- package/package.json +14 -37
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,36 +15,36 @@
|
|
|
15
15
|
# Licensed under the MIT license
|
|
16
16
|
#
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
## ----------------------------------------------------------------------------
|
|
19
|
+
## 1. Jekyll Core aliases.
|
|
20
|
+
## ----------------------------------------------------------------------------
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
## ----------------------------------------------------------------------------
|
|
23
|
+
## 1.1 Jekyll development aliases.
|
|
24
|
+
## ----------------------------------------------------------------------------
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
# jkb: Performs a one off build your site to ./_site.
|
|
27
|
+
alias jkb='JEKYLL_ENV=development bundle exec jekyll build'
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
# jkc: Removes all generated files: destination folder, metadata file, Sass and
|
|
30
|
+
# Jekyll caches.
|
|
31
|
+
alias jkc='JEKYLL_ENV=development bundle exec jekyll clean'
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
# jkd: Does a development build of the site to '_site' and runs a local
|
|
34
|
+
# development server.
|
|
35
|
+
alias jkd='JEKYLL_ENV=development bundle exec jekyll serve --watch --trace'
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
# jkl: Does a development build of the site to '_site' and runs a
|
|
38
|
+
# local development server.
|
|
39
|
+
alias jkl='JEKYLL_ENV=development bundle exec jekyll serve --livereload'
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
# jko: Open local development server.
|
|
42
|
+
alias jko="open http://localhost:4000/"
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
## ----------------------------------------------------------------------------
|
|
45
|
+
## 1.2 Jekyll release aliases.
|
|
46
|
+
## ----------------------------------------------------------------------------
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
# jkp: Does a production build of the site to '_site' and runs a local
|
|
49
|
+
# development server.
|
|
50
|
+
alias jkp='JEKYLL_ENV=production bundle exec jekyll serve --watch --trace'
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
# 🅿🅽🅿🅼 🅰🅻🅸🅰🆂🅴🆂 - Pnpm aliases
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
8
|
+
### ALIASES ###
|
|
9
|
+
alias pn='pnpm'
|
|
10
|
+
alias pa='pnpm add'
|
|
11
|
+
alias pad='pnpm add --save-dev'
|
|
12
|
+
alias pap='pnpm add --save-peer'
|
|
13
|
+
alias pau='pnpm audit'
|
|
14
|
+
alias pb='pnpm run build'
|
|
15
|
+
alias pc='pnpm create'
|
|
16
|
+
alias pd='pnpm run dev'
|
|
17
|
+
alias pdoc='pnpm run doc'
|
|
18
|
+
alias pdocs='pnpm run docs'
|
|
19
|
+
alias pga='pnpm add --global'
|
|
20
|
+
alias pgls='pnpm list --global'
|
|
21
|
+
alias pgrm='pnpm remove --global'
|
|
22
|
+
alias pgu='pnpm update --global'
|
|
23
|
+
alias ph='pnpm help'
|
|
24
|
+
alias pi='pnpm init'
|
|
25
|
+
alias pin='pnpm install'
|
|
26
|
+
alias pln='pnpm run lint'
|
|
27
|
+
alias pls='pnpm list'
|
|
28
|
+
alias pout='pnpm outdated'
|
|
29
|
+
alias ppub='pnpm publish'
|
|
30
|
+
alias prm='pnpm remove'
|
|
31
|
+
alias prun='pnpm run'
|
|
32
|
+
alias ps='pnpm run serve'
|
|
33
|
+
alias pst='pnpm start'
|
|
34
|
+
alias psv='pnpm server'
|
|
35
|
+
alias pt='pnpm test'
|
|
36
|
+
alias ptc='pnpm test --coverage'
|
|
37
|
+
alias pui='pnpm update --interactive'
|
|
38
|
+
alias puil='pnpm update --interactive --latest'
|
|
39
|
+
alias pun='pnpm uninstall'
|
|
40
|
+
alias pup='pnpm update'
|
|
41
|
+
alias pwhy='pnpm why'
|
|
42
|
+
alias px='pnpx'
|
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
# 🆂🆄🅱🆅🅴🆁🆂🅸🅾🅽 🅰🅻🅸🅰🆂🅴🆂 - Subversion aliases.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
## ----------------------------------------------------------------------------
|
|
9
|
+
## 1.0 Subversion Core aliases.
|
|
10
|
+
## ----------------------------------------------------------------------------
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
# sad: Put new files and directories under version control.
|
|
13
|
+
alias sad='svn add'
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
# sau: Manage cached authentication credentials.
|
|
16
|
+
alias sau='svn auth'
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
# sbl: Show when each line of a file was last (or next) changed.
|
|
19
|
+
alias sbl='svn blame'
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
# scg: Associate (or dissociate) changelist CLNAME with the named files.
|
|
22
|
+
alias scg='svn changelist'
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
# sco: Check out a working copy from a repository.
|
|
25
|
+
alias sco='svn checkout'
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
# scl: Either recover from an interrupted operation that left the working copy
|
|
28
|
+
# locked, or remove unwanted files.
|
|
29
|
+
alias scl='svn cleanup'
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
# sci: Send changes from your working copy to the repository.
|
|
32
|
+
alias sci='svn commit'
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
# scp: Copy files and directories in a working copy or repository.
|
|
35
|
+
alias scp='svn copy'
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
# sct: Output the content of specified files or URLs.
|
|
38
|
+
alias sct='svn cat'
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
# sdi: Display local changes or differences between two revisions or paths.
|
|
41
|
+
alias sdi='svn diff'
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
# sdl: Remove files and directories from version control.
|
|
44
|
+
alias sdl='svn delete'
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
# shp: Describe the usage of this program or its subcommands.
|
|
47
|
+
alias shp='svn help'
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
# sin: Display information about a local or remote item.
|
|
50
|
+
alias sin='svn info'
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
# sip: Commit an unversioned file or tree into the repository.
|
|
53
|
+
alias sip='svn import'
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
# slg: Show the log messages for a set of revision(s) and/or path(s).
|
|
56
|
+
alias slg='svn log'
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
# slock: Lock working copy paths or URLs in the repository, so that no other
|
|
59
|
+
# user can commit changes to them.
|
|
60
|
+
alias slk='svn lock'
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
# sls: List directory entries in the repository.
|
|
63
|
+
alias sls='svn list'
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
# smd: Create a new directory under version control.
|
|
66
|
+
alias smd='svn mkdir'
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
# smg: Merge changes into a working copy.
|
|
69
|
+
alias smg='svn merge'
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
# smgi: Display merge-related information.
|
|
72
|
+
alias smgi='svn mergeinfo'
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
# smv: Move (rename) an item in a working copy or repository.
|
|
75
|
+
alias smv='svn move'
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
# sp: Set the value of a property on files, dirs, or revisions.
|
|
78
|
+
alias sp='svn propset'
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
# spdl: Remove a property from files, dirs, or revisions.
|
|
81
|
+
alias spdl='svn propdel'
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
# spdt: Edit a property with an external editor.
|
|
84
|
+
alias spdt='svn propedit'
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
# spgt: Print the value of a property on files, dirs, or revisions.
|
|
87
|
+
alias spgt='svn propget'
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
# sph: Apply a patch to a working copy.
|
|
90
|
+
alias sph='svn patch'
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
# spls: List all properties on files, dirs, or revisions.
|
|
93
|
+
alias spls='svn proplist'
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
# srl: Relocate the working copy to point to a different repository root URL.
|
|
96
|
+
alias srl='svn relocate'
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
# srs: Resolve conflicts on working copy files or directories.
|
|
99
|
+
alias srs='svn resolve'
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
# srsd: Remove 'conflicted' state on working copy files or directories.
|
|
102
|
+
alias srsd='svn resolved'
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
# srv: Restore pristine working copy state (undo local changes).
|
|
105
|
+
alias srv='svn revert'
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
# sst: Print the status of working copy files and directories.
|
|
108
|
+
alias sst='svn status'
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
# ssw: Update the working copy to a different URL within the same repository.
|
|
111
|
+
alias ssw='svn switch'
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
# sulk: Unlock working copy paths or URLs.
|
|
114
|
+
alias sulk='svn unlock'
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
# sup: Bring changes from the repository into the working copy.
|
|
117
|
+
alias sup='svn update'
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
# supg: Upgrade the metadata storage format for a working copy.
|
|
120
|
+
alias supg='svn upgrade'
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
# sxp: Create an unversioned copy of a tree.
|
|
123
|
+
alias sxp='svn export'
|
package/dist/lib/aliases.sh
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
|
-
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set
|
|
7
|
-
HOSTNAME=$(hostname -f)
|
|
8
|
-
INPUTRC=${HOME}/.inputrc
|
|
9
|
-
OS_ARCH=$(uname -m)
|
|
10
|
-
OS_NAME=$(uname)
|
|
11
|
-
OS_VERSION=$(uname -r)
|
|
12
|
-
SSL_CERT_FILE=${HOME}/cacert.pem
|
|
13
|
-
USER_LANGUAGE="en_GB.UTF-8"
|
|
14
|
-
USER=$(whoami)
|
|
6
|
+
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variable.
|
|
7
|
+
HOSTNAME=$(hostname -f) # hostname of the machine.
|
|
8
|
+
INPUTRC=${HOME}/.inputrc # set INPUTRC (so that .inputrc is respected)
|
|
9
|
+
OS_ARCH=$(uname -m) # machine hardware name.
|
|
10
|
+
OS_NAME=$(uname) # operating system name.
|
|
11
|
+
OS_VERSION=$(uname -r) # operating system version number.
|
|
12
|
+
SSL_CERT_FILE=${HOME}/cacert.pem # set the SSL_CERT_FILE environment variable.
|
|
13
|
+
USER_LANGUAGE="en_GB.UTF-8" # default language.
|
|
14
|
+
USER=$(whoami) # current user name.
|
|
15
15
|
|
|
16
16
|
## 🅴🆇🅿🅾🆁🆃🆂 - Export the variables.
|
|
17
|
-
export ARCHFLAGS="-arch ${OS_ARCH}"
|
|
18
|
-
export DOTFILES_VERSION='0.2.
|
|
19
|
-
export DOTFILES="${HOME}"/.dotfiles/lib
|
|
20
|
-
export HOSTNAME=${HOSTNAME}
|
|
21
|
-
export INPUTRC=${INPUTRC}
|
|
22
|
-
export LANG=${USER_LANGUAGE}
|
|
23
|
-
export LANGUAGE=${USER_LANGUAGE}
|
|
24
|
-
export LC_ALL=${USER_LANGUAGE}
|
|
25
|
-
export OS_ARCH
|
|
26
|
-
export OS_NAME
|
|
27
|
-
export OS_VERSION
|
|
28
|
-
export SSL_CERT_FILE=${SSL_CERT_FILE}
|
|
29
|
-
export TERM=xterm-256color
|
|
30
|
-
export USER
|
|
17
|
+
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
18
|
+
export DOTFILES_VERSION='0.2.460' # version of the dotfiles.
|
|
19
|
+
export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles.
|
|
20
|
+
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
21
|
+
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|
|
22
|
+
export LANG=${USER_LANGUAGE} # default language.
|
|
23
|
+
export LANGUAGE=${USER_LANGUAGE} # default language.
|
|
24
|
+
export LC_ALL=${USER_LANGUAGE} # default language.
|
|
25
|
+
export OS_ARCH # machine hardware name.
|
|
26
|
+
export OS_NAME # operating system name.
|
|
27
|
+
export OS_VERSION # operating system version number.
|
|
28
|
+
export SSL_CERT_FILE=${SSL_CERT_FILE} # set the SSL_CERT_FILE environment variable.
|
|
29
|
+
export TERM=xterm-256color # default terminal color.
|
|
30
|
+
export USER # current user name.
|
|
31
31
|
|
|
32
32
|
## 🅻🅾🅰🅳🅴🆁🆂 - Load the dotfiles.
|
|
33
33
|
for loaders in "${DOTFILES}"/*.sh; do
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🅳🅾🆃🅵🅸🅻🅴🆂 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variables.
|
|
7
|
+
# DF_CURRENT_DIR=${PWD} # Current directory.
|
|
8
|
+
DF=".dotfiles/" # Dotfiles.
|
|
9
|
+
DF_DIR="${HOME}/.dotfiles/" # Dotfiles directory.
|
|
10
|
+
DF_BACKUPDIR="${HOME}/dotfiles_backup/" # Backup directory.
|
|
11
|
+
DF_DOWNLOADDIR="${HOME}/Downloads" # Download directory.
|
|
12
|
+
DF_VERSION="0.2.460" # Dotfiles Version number.
|
|
13
|
+
DF_TIMESTAMP="$(date +%Y-%m-%d_%H-%M-%S)" # Timestamp for backup directory.
|
|
14
|
+
|
|
15
|
+
export DF
|
|
16
|
+
export DF_BACKUPDIR
|
|
17
|
+
export DF_DIR
|
|
18
|
+
export DF_DOWNLOADDIR
|
|
19
|
+
export DF_TIMESTAMP
|
|
20
|
+
export DF_VERSION
|
|
21
|
+
|
|
22
|
+
## 🅲🅾🅻🅾🆁🆂 - Set colors.
|
|
23
|
+
BLACK="$(tput setaf 0)" # Black
|
|
24
|
+
BLUE="$(tput bold && tput setaf 4)" # Blue
|
|
25
|
+
CYAN="$(tput bold && tput setaf 6)" # Cyan
|
|
26
|
+
GREEN="$(tput bold && tput setaf 2)" # Green
|
|
27
|
+
NC="$(tput sgr0)" # No Color
|
|
28
|
+
PURPLE="$(tput bold && tput setaf 5)" # Purple
|
|
29
|
+
RED="$(tput bold && tput setaf 1)" # Red
|
|
30
|
+
WHITE="$(tput bold && tput setaf 7)" # White
|
|
31
|
+
YELLOW="$(tput bold && tput setaf 3)" # Yellow
|
|
32
|
+
|
|
33
|
+
export BLACK
|
|
34
|
+
export BLUE
|
|
35
|
+
export CYAN
|
|
36
|
+
export GREEN
|
|
37
|
+
export NC
|
|
38
|
+
export PURPLE
|
|
39
|
+
export RED
|
|
40
|
+
export WHITE
|
|
41
|
+
export YELLOW
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - <https://dotfiles.io>
|
|
2
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
|
+
# License: MIT
|
|
4
|
+
|
|
5
|
+
# 🅽🅰🅽🅾🆁🅲
|
|
6
|
+
|
|
7
|
+
# Display
|
|
8
|
+
set atblanks # Display trailing blanks
|
|
9
|
+
set autoindent # Indent new lines to the previous line's indentation
|
|
10
|
+
set backup # Creates backups of your current file.
|
|
11
|
+
set boldtext # Display bold text
|
|
12
|
+
set bookstyle # Display bookstyle
|
|
13
|
+
set casesensitive # Perform case-sensitive searches
|
|
14
|
+
set constantshow # Constantly show the cursor position in the status bar
|
|
15
|
+
set historylog # Log search and replace strings to `~/.nano_history`
|
|
16
|
+
set functioncolor cyan # Color of function names
|
|
17
|
+
set keycolor cyan # Color of the key bindings in the help menu
|
|
18
|
+
set linenumbers # Show line numbers in front of the text
|
|
19
|
+
set mouse # Enable mouse support
|
|
20
|
+
set noconvert # Keep original end-of-line formatting
|
|
21
|
+
set numbercolor yellow # Set the color of the line numbers
|
|
22
|
+
set preserve # Preserve the XON `^Q` and XOFF `^S` keys for the terminal
|
|
23
|
+
set showcursor # Show the cursor position
|
|
24
|
+
set smarthome # Make the Home key smarter
|
|
25
|
+
set softwrap # Enable soft wrapping
|
|
26
|
+
set statuscolor black,yellow # Set the color of the status bar
|
|
27
|
+
set tabsize 4 # Set the tab size to 4 spaces
|
|
28
|
+
set tabstospaces # Convert typed tabs to spaces
|
|
29
|
+
set trimblanks # Trim trailing whitespace on save
|
|
30
|
+
set titlecolor white,red # Set the color of the title bar
|
|
31
|
+
set whitespace "»⋅" # Show whitespace as dots
|
|
32
|
+
set wordbounds # Detect word boundaries
|
|
33
|
+
set wordchars "_" # Allow underscores in words
|
|
34
|
+
set zap # Let `Backspace` and `Delete` keys erase a marked region
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
|
|
2
2
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
3
|
# License: MIT
|
|
4
4
|
|
|
@@ -17,11 +17,11 @@ if 'uname -s | grep -q MINGW' 'set -g status-left "#[bg=#007ACC] 🪟 Windows #[
|
|
|
17
17
|
set -g status-bg "#2D1681" # Status bar background color (purple)
|
|
18
18
|
set -g status-fg "#FFFFFF" # Status bar foreground color (text)
|
|
19
19
|
set -g status-interval 5 # Status bar refresh interval in seconds
|
|
20
|
-
set -g status-justify
|
|
20
|
+
set -g status-justify centre # Status bar justification (left, right, centre, absolute-left, absolute-right, absolute-centre)
|
|
21
21
|
set -g status-left-length 50 # Status bar left length
|
|
22
22
|
set -g status-right-length 50 # Status bar right length
|
|
23
|
-
set -g status-right "#[fg=#FFFFFF] #[bg=#14222A] ⬛ #I #[bg=#007ACC]
|
|
24
|
-
set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.
|
|
23
|
+
set -g status-right "#[fg=#FFFFFF] #[bg=#14222A] ⬛ #I #[bg=#007ACC] #H #[bg=#EB0000] %_d %B %I:%M%p "
|
|
24
|
+
set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.460)" # Current window status format
|
|
25
25
|
set -g window-status-current-style "bg=#EB0000" # Current window status style
|
|
26
26
|
set -g window-status-separator "" # Window status separator
|
|
27
27
|
set-window-option -g clock-mode-colour "#FFFFFF" # Clock mode color
|