@sebastienrousseau/dotfiles 0.2.453 → 0.2.455
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 +175 -161
- package/package.json +40 -28
- package/COPYRIGHT +0 -5
- package/Makefile +0 -79
- package/bin/dotfiles.sh +0 -157
- package/index.js +0 -24
- package/pnpm-lock.yaml +0 -232
- package/pnpm-workspace.yaml +0 -2
- package/shell/README.md +0 -3
- package/shell/aliases/default/README.md +0 -0
- package/shell/aliases/default/default.aliases.sh +0 -199
- package/shell/aliases/gcloud/gcloud.aliases.sh +0 -121
- package/shell/aliases/git/git.aliases.wip +0 -586
- package/shell/aliases/heroku/heroku.aliases.sh +0 -1031
- package/shell/aliases/jekyll/jekyll.aliases.sh +0 -50
- package/shell/aliases/pnpm/pnpm.aliases.sh +0 -42
- package/shell/aliases/subversion/subversion.aliases.sh +0 -123
- package/shell/aliases/tmux/tmux.aliases.sh +0 -14
- package/shell/aliases.sh +0 -12
- package/shell/configurations/README.md +0 -3
- package/shell/configurations/bash/bashrc +0 -36
- package/shell/configurations/curl/cacert.pem +0 -3460
- package/shell/configurations/curl/curlrc +0 -55
- package/shell/configurations/default/color.sh +0 -17
- package/shell/configurations/default/editor.sh +0 -16
- package/shell/configurations/default/prompt.sh +0 -37
- package/shell/configurations/inputrc/inputrc +0 -22
- package/shell/configurations/jshint/jshintrc +0 -37
- package/shell/configurations/profile/profile +0 -36
- package/shell/configurations/tmux/tmux +0 -95
- package/shell/configurations/vim/vimrc +0 -73
- package/shell/configurations/wget/wgetrc +0 -39
- package/shell/configurations/zsh/zshrc +0 -50
- package/shell/configurations.sh +0 -10
- package/shell/exit.sh +0 -9
- package/shell/functions/README.md +0 -3
- package/shell/functions/cdls.sh +0 -19
- package/shell/functions/changediskpwd.wip +0 -19
- package/shell/functions/code.wip +0 -18
- package/shell/functions/countdown.wip +0 -33
- package/shell/functions/curlheader.sh +0 -20
- package/shell/functions/curltime.sh +0 -31
- package/shell/functions/encode64.sh +0 -25
- package/shell/functions/environment.sh +0 -37
- package/shell/functions/extract.sh +0 -32
- package/shell/functions/filehead.sh +0 -4
- package/shell/functions/genpwd.sh +0 -14
- package/shell/functions/goto.sh +0 -14
- package/shell/functions/headers.wip +0 -4
- package/shell/functions/hidehiddenfiles.sh +0 -12
- package/shell/functions/history-all.wip +0 -7
- package/shell/functions/hostinfo.sh +0 -25
- package/shell/functions/hstats.sh +0 -9
- package/shell/functions/httpdebug.sh +0 -7
- package/shell/functions/keygen.sh +0 -23
- package/shell/functions/last.sh +0 -9
- package/shell/functions/logout.sh +0 -10
- package/shell/functions/lowercase.sh +0 -28
- package/shell/functions/macos.sh +0 -47
- package/shell/functions/matrix.sh +0 -9
- package/shell/functions/mcd.sh +0 -18
- package/shell/functions/mount_read_only.sh +0 -9
- package/shell/functions/myproc.sh +0 -7
- package/shell/functions/prependpath.sh +0 -19
- package/shell/functions/print.wip +0 -13
- package/shell/functions/ql.sh +0 -7
- package/shell/functions/rd.sh +0 -15
- package/shell/functions/remove_disk.sh +0 -9
- package/shell/functions/ren.sh +0 -11
- package/shell/functions/rm.wip +0 -13
- package/shell/functions/rps.wip +0 -103
- package/shell/functions/showhiddenfiles.sh +0 -12
- package/shell/functions/size.sh +0 -13
- package/shell/functions/stopwatch.sh +0 -13
- package/shell/functions/trash.wip +0 -13
- package/shell/functions/tree.wip +0 -13
- package/shell/functions/uppercase.sh +0 -28
- package/shell/functions/uuidgen.wip +0 -27
- package/shell/functions/view-source.sh +0 -8
- package/shell/functions/vscode.sh +0 -31
- package/shell/functions/whoisport.sh +0 -12
- package/shell/functions/zipf.sh +0 -14
- package/shell/functions.sh +0 -10
- package/shell/history.sh +0 -107
- package/shell/paths/ant/ant.paths.sh +0 -15
- package/shell/paths/default/default.paths.sh +0 -17
- package/shell/paths/homebrew/homebrew.paths.sh +0 -25
- package/shell/paths/java/java.paths.sh +0 -16
- package/shell/paths/maven/maven.paths.sh +0 -17
- package/shell/paths/node/node.paths.sh +0 -13
- package/shell/paths/nvm/nvm.paths.sh +0 -21
- package/shell/paths/pnpm/pnpm.paths.sh +0 -13
- package/shell/paths/python/python.paths.sh +0 -19
- package/shell/paths/ruby/ruby.paths.sh +0 -23
- package/shell/paths/tmux/tmux.paths.sh +0 -14
- package/shell/paths.sh +0 -12
package/bin/dotfiles.sh
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.453) - https://dotfiles.io
|
|
3
|
-
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
-
# License: MIT
|
|
5
|
-
|
|
6
|
-
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set variables.
|
|
7
|
-
BACKUPDIR="${HOME}/.dotfiles_backup" # Backup directory.
|
|
8
|
-
BIGreen='\033[1;92m' # Green color.
|
|
9
|
-
BIRed='\033[1;91m' # Red color.
|
|
10
|
-
DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
|
|
11
|
-
DOWNLOADDIR="${HOME}/Downloads" # Download directory.
|
|
12
|
-
NC='\033[0m' # Reset/No Color
|
|
13
|
-
VERSION="0.2.453" # Dotfiles Version number.
|
|
14
|
-
|
|
15
|
-
## 🅱🅰🅲🅺🆄🅿 - Backup existing files.
|
|
16
|
-
backup() {
|
|
17
|
-
echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
|
|
18
|
-
mkdir -p "${BACKUPDIR}"
|
|
19
|
-
|
|
20
|
-
echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
|
|
21
|
-
# File list (use trailing slash for directories)
|
|
22
|
-
FILES="
|
|
23
|
-
.alias
|
|
24
|
-
.bash_aliases
|
|
25
|
-
.bash_profile
|
|
26
|
-
.bash_prompt
|
|
27
|
-
.bashrc
|
|
28
|
-
.curlrc
|
|
29
|
-
.dir_colors
|
|
30
|
-
.exports
|
|
31
|
-
.functions
|
|
32
|
-
.gitattributes
|
|
33
|
-
.gitconfig
|
|
34
|
-
.gitignore
|
|
35
|
-
.gitmessage
|
|
36
|
-
.inputrc
|
|
37
|
-
.npmrc
|
|
38
|
-
.path
|
|
39
|
-
.profile
|
|
40
|
-
.tmux.conf
|
|
41
|
-
.vimrc
|
|
42
|
-
.wgetrc
|
|
43
|
-
.yarnrc
|
|
44
|
-
.zshenv
|
|
45
|
-
.zshrc
|
|
46
|
-
cacert.pem
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
for file in ${FILES}; do
|
|
50
|
-
# shellcheck disable=SC2292
|
|
51
|
-
if [ -e "${HOME}/${file}" ]; then
|
|
52
|
-
echo "${BIRed}❭${NC} Backing up ${BIGreen}${file}${NC}..."
|
|
53
|
-
cp -f "${HOME}"/"${file}" "${BACKUPDIR}"/"${file}"
|
|
54
|
-
fi
|
|
55
|
-
done
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
## 🅸🅽🆂🆃🅰🅻🅻🅴🆁 - Install dotfiles.
|
|
59
|
-
download() {
|
|
60
|
-
echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}"
|
|
61
|
-
# wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -N -O "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
62
|
-
curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -o "${DOWNLOADDIR}"/v"${VERSION}".zip
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
## 🆄🅽🅿🅰🅲🅺 - Unpack installer.
|
|
66
|
-
unpack() {
|
|
67
|
-
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}"
|
|
68
|
-
unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}"
|
|
69
|
-
mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}"
|
|
70
|
-
rm "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
## 🅸🅽🆂🆃🅰🅻🅻 - Install dotfiles.
|
|
74
|
-
installer() {
|
|
75
|
-
echo "${BIRed}❭${NC} Installing dotfiles..."
|
|
76
|
-
backup &&
|
|
77
|
-
download &&
|
|
78
|
-
unpack &&
|
|
79
|
-
copy
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
## 🅲🅾🅿🆈 - Copy dotfiles.
|
|
83
|
-
copy() {
|
|
84
|
-
# echo "${BIRed}❭${NC} Switching to the Dotfiles directory"
|
|
85
|
-
# cd "${DOTFILESDIR}" &&
|
|
86
|
-
|
|
87
|
-
echo "${BIRed}❭${NC} Launching the installation script..."
|
|
88
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc &&
|
|
89
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem &&
|
|
90
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc &&
|
|
91
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
|
|
92
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile &&
|
|
93
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
|
|
94
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc &&
|
|
95
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
|
|
96
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc
|
|
97
|
-
|
|
98
|
-
echo "${BIRed}❭${NC} Cleaning up..."
|
|
99
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/bash &&
|
|
100
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/curl &&
|
|
101
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint &&
|
|
102
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/profile &&
|
|
103
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/tmux &&
|
|
104
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/vim &&
|
|
105
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/wget &&
|
|
106
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
|
|
107
|
-
|
|
108
|
-
echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} installed."
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
|
|
112
|
-
help() {
|
|
113
|
-
cat <<EOF
|
|
114
|
-
|
|
115
|
-
┌───────────────────────────────────────────┐
|
|
116
|
-
│ Dotfiles (v${VERSION}) │
|
|
117
|
-
├───────────────────────────────────────────┤
|
|
118
|
-
│ Simply designed to fit your shell life. │
|
|
119
|
-
└───────────────────────────────────────────┘
|
|
120
|
-
|
|
121
|
-
USAGE:
|
|
122
|
-
|
|
123
|
-
dotfiles.sh [COMMAND]
|
|
124
|
-
|
|
125
|
-
COMMANDS:
|
|
126
|
-
|
|
127
|
-
backup - Backup previous dotfiles from your '${HOME}' directory.
|
|
128
|
-
copy - Copy dotfiles (v${VERSION}) to your '${HOME}' directory.
|
|
129
|
-
download - Download the latest dotfiles package (v${VERSION}.zip).
|
|
130
|
-
installer - Run the full installation process.
|
|
131
|
-
unpack - Unpack Dotfiles (v${VERSION}.zip) package.
|
|
132
|
-
help - Show the help menu.
|
|
133
|
-
|
|
134
|
-
EOF
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
# shellcheck disable=SC2292
|
|
138
|
-
if [ "$1" = "backup" ]; then
|
|
139
|
-
echo "${BIRed}❭${NC} Backing up.${NC}"
|
|
140
|
-
backup
|
|
141
|
-
elif [ "$1" = "copy" ]; then
|
|
142
|
-
echo "${BIRed}❭${NC} Copying dotfiles.${NC}"
|
|
143
|
-
copy
|
|
144
|
-
elif [ "$1" = "download" ]; then
|
|
145
|
-
echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
146
|
-
download
|
|
147
|
-
elif [ "$1" = "help" ]; then
|
|
148
|
-
help
|
|
149
|
-
elif [ "$1" = "installer" ]; then
|
|
150
|
-
echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
151
|
-
installer
|
|
152
|
-
elif [ "$1" = "unpack" ]; then
|
|
153
|
-
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
154
|
-
unpack
|
|
155
|
-
else
|
|
156
|
-
help
|
|
157
|
-
fi
|
package/index.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { exec } from "child_process";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Execute simple shell command (async wrapper).
|
|
5
|
-
* @param {String} cmd
|
|
6
|
-
* @return {Object} { stdout: String, stderr: String }
|
|
7
|
-
*/
|
|
8
|
-
async function sh(cmd) {
|
|
9
|
-
return new Promise(function (resolve, reject) {
|
|
10
|
-
exec(cmd, (err, stdout, stderr) => {
|
|
11
|
-
if (err) {
|
|
12
|
-
reject(err);
|
|
13
|
-
} else {
|
|
14
|
-
resolve({ stdout, stderr });
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
async function main() {
|
|
21
|
-
let { stdout } = await sh("pnpm run installer");
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
main();
|
package/pnpm-lock.yaml
DELETED
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
lockfileVersion: 5.4
|
|
2
|
-
|
|
3
|
-
importers:
|
|
4
|
-
|
|
5
|
-
.:
|
|
6
|
-
specifiers:
|
|
7
|
-
filesizes: ^0.1.2
|
|
8
|
-
pnpm: ^7.13.1
|
|
9
|
-
rimraf: ^3.0.2
|
|
10
|
-
devDependencies:
|
|
11
|
-
filesizes: registry.npmjs.org/filesizes/0.1.2
|
|
12
|
-
pnpm: registry.npmjs.org/pnpm/7.13.1
|
|
13
|
-
rimraf: registry.npmjs.org/rimraf/3.0.2
|
|
14
|
-
|
|
15
|
-
packages:
|
|
16
|
-
|
|
17
|
-
registry.npmjs.org/ansi-styles/4.3.0:
|
|
18
|
-
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz}
|
|
19
|
-
name: ansi-styles
|
|
20
|
-
version: 4.3.0
|
|
21
|
-
engines: {node: '>=8'}
|
|
22
|
-
dependencies:
|
|
23
|
-
color-convert: registry.npmjs.org/color-convert/2.0.1
|
|
24
|
-
dev: true
|
|
25
|
-
|
|
26
|
-
registry.npmjs.org/balanced-match/1.0.2:
|
|
27
|
-
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz}
|
|
28
|
-
name: balanced-match
|
|
29
|
-
version: 1.0.2
|
|
30
|
-
dev: true
|
|
31
|
-
|
|
32
|
-
registry.npmjs.org/brace-expansion/1.1.11:
|
|
33
|
-
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz}
|
|
34
|
-
name: brace-expansion
|
|
35
|
-
version: 1.1.11
|
|
36
|
-
dependencies:
|
|
37
|
-
balanced-match: registry.npmjs.org/balanced-match/1.0.2
|
|
38
|
-
concat-map: registry.npmjs.org/concat-map/0.0.1
|
|
39
|
-
dev: true
|
|
40
|
-
|
|
41
|
-
registry.npmjs.org/chalk/3.0.0:
|
|
42
|
-
resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz}
|
|
43
|
-
name: chalk
|
|
44
|
-
version: 3.0.0
|
|
45
|
-
engines: {node: '>=8'}
|
|
46
|
-
dependencies:
|
|
47
|
-
ansi-styles: registry.npmjs.org/ansi-styles/4.3.0
|
|
48
|
-
supports-color: registry.npmjs.org/supports-color/7.2.0
|
|
49
|
-
dev: true
|
|
50
|
-
|
|
51
|
-
registry.npmjs.org/cli-table/0.3.11:
|
|
52
|
-
resolution: {integrity: sha512-IqLQi4lO0nIB4tcdTpN4LCB9FI3uqrJZK7RC515EnhZ6qBaglkIgICb1wjeAqpdoOabm1+SuQtkXIPdYC93jhQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/cli-table/-/cli-table-0.3.11.tgz}
|
|
53
|
-
name: cli-table
|
|
54
|
-
version: 0.3.11
|
|
55
|
-
engines: {node: '>= 0.2.0'}
|
|
56
|
-
dependencies:
|
|
57
|
-
colors: registry.npmjs.org/colors/1.0.3
|
|
58
|
-
dev: true
|
|
59
|
-
|
|
60
|
-
registry.npmjs.org/color-convert/2.0.1:
|
|
61
|
-
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz}
|
|
62
|
-
name: color-convert
|
|
63
|
-
version: 2.0.1
|
|
64
|
-
engines: {node: '>=7.0.0'}
|
|
65
|
-
dependencies:
|
|
66
|
-
color-name: registry.npmjs.org/color-name/1.1.4
|
|
67
|
-
dev: true
|
|
68
|
-
|
|
69
|
-
registry.npmjs.org/color-name/1.1.4:
|
|
70
|
-
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz}
|
|
71
|
-
name: color-name
|
|
72
|
-
version: 1.1.4
|
|
73
|
-
dev: true
|
|
74
|
-
|
|
75
|
-
registry.npmjs.org/colors/1.0.3:
|
|
76
|
-
resolution: {integrity: sha512-pFGrxThWcWQ2MsAz6RtgeWe4NK2kUE1WfsrvvlctdII745EW9I0yflqhe7++M5LEc7bV2c/9/5zc8sFcpL0Drw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/colors/-/colors-1.0.3.tgz}
|
|
77
|
-
name: colors
|
|
78
|
-
version: 1.0.3
|
|
79
|
-
engines: {node: '>=0.1.90'}
|
|
80
|
-
dev: true
|
|
81
|
-
|
|
82
|
-
registry.npmjs.org/commander/4.1.1:
|
|
83
|
-
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/commander/-/commander-4.1.1.tgz}
|
|
84
|
-
name: commander
|
|
85
|
-
version: 4.1.1
|
|
86
|
-
engines: {node: '>= 6'}
|
|
87
|
-
dev: true
|
|
88
|
-
|
|
89
|
-
registry.npmjs.org/concat-map/0.0.1:
|
|
90
|
-
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz}
|
|
91
|
-
name: concat-map
|
|
92
|
-
version: 0.0.1
|
|
93
|
-
dev: true
|
|
94
|
-
|
|
95
|
-
registry.npmjs.org/duplexer/0.1.2:
|
|
96
|
-
resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz}
|
|
97
|
-
name: duplexer
|
|
98
|
-
version: 0.1.2
|
|
99
|
-
dev: true
|
|
100
|
-
|
|
101
|
-
registry.npmjs.org/filesizes/0.1.2:
|
|
102
|
-
resolution: {integrity: sha512-B7S28jvoR/mSmccYwh6jkZYvsmuXqULibMkT9rU4hYZfjHTk7bw8Zmygss9UNX49YbJirzvGb2MSh/CbSWKzzQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/filesizes/-/filesizes-0.1.2.tgz}
|
|
103
|
-
name: filesizes
|
|
104
|
-
version: 0.1.2
|
|
105
|
-
hasBin: true
|
|
106
|
-
dependencies:
|
|
107
|
-
chalk: registry.npmjs.org/chalk/3.0.0
|
|
108
|
-
cli-table: registry.npmjs.org/cli-table/0.3.11
|
|
109
|
-
commander: registry.npmjs.org/commander/4.1.1
|
|
110
|
-
gzip-size: registry.npmjs.org/gzip-size/5.1.1
|
|
111
|
-
pretty-bytes: registry.npmjs.org/pretty-bytes/5.6.0
|
|
112
|
-
dev: true
|
|
113
|
-
|
|
114
|
-
registry.npmjs.org/fs.realpath/1.0.0:
|
|
115
|
-
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz}
|
|
116
|
-
name: fs.realpath
|
|
117
|
-
version: 1.0.0
|
|
118
|
-
dev: true
|
|
119
|
-
|
|
120
|
-
registry.npmjs.org/glob/7.2.3:
|
|
121
|
-
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/glob/-/glob-7.2.3.tgz}
|
|
122
|
-
name: glob
|
|
123
|
-
version: 7.2.3
|
|
124
|
-
dependencies:
|
|
125
|
-
fs.realpath: registry.npmjs.org/fs.realpath/1.0.0
|
|
126
|
-
inflight: registry.npmjs.org/inflight/1.0.6
|
|
127
|
-
inherits: registry.npmjs.org/inherits/2.0.4
|
|
128
|
-
minimatch: registry.npmjs.org/minimatch/3.1.2
|
|
129
|
-
once: registry.npmjs.org/once/1.4.0
|
|
130
|
-
path-is-absolute: registry.npmjs.org/path-is-absolute/1.0.1
|
|
131
|
-
dev: true
|
|
132
|
-
|
|
133
|
-
registry.npmjs.org/gzip-size/5.1.1:
|
|
134
|
-
resolution: {integrity: sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz}
|
|
135
|
-
name: gzip-size
|
|
136
|
-
version: 5.1.1
|
|
137
|
-
engines: {node: '>=6'}
|
|
138
|
-
dependencies:
|
|
139
|
-
duplexer: registry.npmjs.org/duplexer/0.1.2
|
|
140
|
-
pify: registry.npmjs.org/pify/4.0.1
|
|
141
|
-
dev: true
|
|
142
|
-
|
|
143
|
-
registry.npmjs.org/has-flag/4.0.0:
|
|
144
|
-
resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz}
|
|
145
|
-
name: has-flag
|
|
146
|
-
version: 4.0.0
|
|
147
|
-
engines: {node: '>=8'}
|
|
148
|
-
dev: true
|
|
149
|
-
|
|
150
|
-
registry.npmjs.org/inflight/1.0.6:
|
|
151
|
-
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz}
|
|
152
|
-
name: inflight
|
|
153
|
-
version: 1.0.6
|
|
154
|
-
dependencies:
|
|
155
|
-
once: registry.npmjs.org/once/1.4.0
|
|
156
|
-
wrappy: registry.npmjs.org/wrappy/1.0.2
|
|
157
|
-
dev: true
|
|
158
|
-
|
|
159
|
-
registry.npmjs.org/inherits/2.0.4:
|
|
160
|
-
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz}
|
|
161
|
-
name: inherits
|
|
162
|
-
version: 2.0.4
|
|
163
|
-
dev: true
|
|
164
|
-
|
|
165
|
-
registry.npmjs.org/minimatch/3.1.2:
|
|
166
|
-
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz}
|
|
167
|
-
name: minimatch
|
|
168
|
-
version: 3.1.2
|
|
169
|
-
dependencies:
|
|
170
|
-
brace-expansion: registry.npmjs.org/brace-expansion/1.1.11
|
|
171
|
-
dev: true
|
|
172
|
-
|
|
173
|
-
registry.npmjs.org/once/1.4.0:
|
|
174
|
-
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/once/-/once-1.4.0.tgz}
|
|
175
|
-
name: once
|
|
176
|
-
version: 1.4.0
|
|
177
|
-
dependencies:
|
|
178
|
-
wrappy: registry.npmjs.org/wrappy/1.0.2
|
|
179
|
-
dev: true
|
|
180
|
-
|
|
181
|
-
registry.npmjs.org/path-is-absolute/1.0.1:
|
|
182
|
-
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz}
|
|
183
|
-
name: path-is-absolute
|
|
184
|
-
version: 1.0.1
|
|
185
|
-
engines: {node: '>=0.10.0'}
|
|
186
|
-
dev: true
|
|
187
|
-
|
|
188
|
-
registry.npmjs.org/pify/4.0.1:
|
|
189
|
-
resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/pify/-/pify-4.0.1.tgz}
|
|
190
|
-
name: pify
|
|
191
|
-
version: 4.0.1
|
|
192
|
-
engines: {node: '>=6'}
|
|
193
|
-
dev: true
|
|
194
|
-
|
|
195
|
-
registry.npmjs.org/pnpm/7.13.1:
|
|
196
|
-
resolution: {integrity: sha512-Nu1LzxlH3qdIFe0DJ5SciqBl9i7t/eW+c0zKf9g8TXRo20EhXy/e9YwCLY2fEwbIYL/3gZ4zuys010PRpsbHFQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/pnpm/-/pnpm-7.13.1.tgz}
|
|
197
|
-
name: pnpm
|
|
198
|
-
version: 7.13.1
|
|
199
|
-
engines: {node: '>=14.6'}
|
|
200
|
-
hasBin: true
|
|
201
|
-
dev: true
|
|
202
|
-
|
|
203
|
-
registry.npmjs.org/pretty-bytes/5.6.0:
|
|
204
|
-
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz}
|
|
205
|
-
name: pretty-bytes
|
|
206
|
-
version: 5.6.0
|
|
207
|
-
engines: {node: '>=6'}
|
|
208
|
-
dev: true
|
|
209
|
-
|
|
210
|
-
registry.npmjs.org/rimraf/3.0.2:
|
|
211
|
-
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz}
|
|
212
|
-
name: rimraf
|
|
213
|
-
version: 3.0.2
|
|
214
|
-
hasBin: true
|
|
215
|
-
dependencies:
|
|
216
|
-
glob: registry.npmjs.org/glob/7.2.3
|
|
217
|
-
dev: true
|
|
218
|
-
|
|
219
|
-
registry.npmjs.org/supports-color/7.2.0:
|
|
220
|
-
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz}
|
|
221
|
-
name: supports-color
|
|
222
|
-
version: 7.2.0
|
|
223
|
-
engines: {node: '>=8'}
|
|
224
|
-
dependencies:
|
|
225
|
-
has-flag: registry.npmjs.org/has-flag/4.0.0
|
|
226
|
-
dev: true
|
|
227
|
-
|
|
228
|
-
registry.npmjs.org/wrappy/1.0.2:
|
|
229
|
-
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz}
|
|
230
|
-
name: wrappy
|
|
231
|
-
version: 1.0.2
|
|
232
|
-
dev: true
|
package/pnpm-workspace.yaml
DELETED
package/shell/README.md
DELETED
|
File without changes
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.453) - https://dotfiles.io
|
|
3
|
-
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
-
# License: MIT
|
|
5
|
-
|
|
6
|
-
# 🅳🅴🅵🅰🆄🅻🆃 🅰🅻🅸🅰🆂🅴🆂
|
|
7
|
-
unalias -a # Remove all previous environment defined aliases.
|
|
8
|
-
alias -- -='cd -' # -: Shortcut to go to previous directory.
|
|
9
|
-
alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory.
|
|
10
|
-
alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory.
|
|
11
|
-
alias ...='cd ../..' # ...: Shortcut to go to grandparent directory.
|
|
12
|
-
alias ..='cd ..' # ..: Shortcut to go to parent directory.
|
|
13
|
-
alias ':q'='quit' # q: Shortcut for the `exit` command.
|
|
14
|
-
alias '~'='cd ~' # ~: Shortcut to go to home directory.
|
|
15
|
-
alias 'l.'="ls -dlhF .* | grep -v '^d'" # l.: List hidden files.
|
|
16
|
-
alias 000='chmod -R 000' # 000: Make all files and directories read-only.
|
|
17
|
-
alias 644='chmod -R 644' # 644: Make all files and directories readable and writable.
|
|
18
|
-
alias 666='chmod -R 666' # 666: Make all files and directories readable and writable.
|
|
19
|
-
alias 755='chmod -R 755' # 755: Make all files and directories readable and writable.
|
|
20
|
-
alias 777='chmod -R 777' # 777: Make all files and directories readable and writable.
|
|
21
|
-
alias bye='quit' # q: Shortcut for the `exit` command.
|
|
22
|
-
alias c="clear" # c: Clear screen shortcut.
|
|
23
|
-
alias cde="cd ~/Code; ls" # cde: Shortcut to go to the Code directory and list its contents.
|
|
24
|
-
alias cgz='tar -zcvf' # cgz: Compress a whole directory (including subdirectories) to a tarball.
|
|
25
|
-
alias chmox='chmod +x' # chmox: Make a file executable.
|
|
26
|
-
alias cl="clear" # cl: Clear screen shortcut.
|
|
27
|
-
alias clear="clear && printf '\e[3J'" # clear: Clear screen shortcut.
|
|
28
|
-
alias clr="clear" # clr: Clear screen shortcut.
|
|
29
|
-
alias cls="clear" # cls: Clear screen shortcut.
|
|
30
|
-
alias cp="cp -vi" # cp: Copy files and directories.
|
|
31
|
-
alias cr='cargo run' # cr: Run cargo.
|
|
32
|
-
alias ct="clear && tree ./" # ct: Clear screen and list directory contents.
|
|
33
|
-
alias ctf='echo $(ls -1 | wc -l)' # ctf: Count the number of files in the current directory.
|
|
34
|
-
alias curl='curl --compressed' # curl: Use compression when transferring data.
|
|
35
|
-
alias da='date "+%Y-%m-%d %A %T %Z"' # da: Display the current date and time.
|
|
36
|
-
alias del="rm -rfv" # del: Remove a file or directory.
|
|
37
|
-
alias digg="dig @8.8.8.8 +nocmd any +multiline +noall +answer" # digg: Dig with Google's DNS.
|
|
38
|
-
alias dn="cd ~/Downloads; ls" # dn: Shortcut to go to the Downloads directory and list its contents.
|
|
39
|
-
alias dot='cd ${HOME}/.dotfiles/' # dot: Shortcut to go to the dotfiles directory.
|
|
40
|
-
alias ds="cd ~/Documents; ls" # ds: Shortcut to go to the Documents directory and list its contents.
|
|
41
|
-
alias dsp="sudo du -shc ." # dsp: Show the size of the current directory.
|
|
42
|
-
alias dt="cd ~/Desktop; ls" # dt: Shortcut to go to the Desktop directory and list its contents.
|
|
43
|
-
alias du='sudo du -h' # du: File size human readable output sorted by size.
|
|
44
|
-
alias duf='sudo du -sh *' # duf: File size human readable output sorted.
|
|
45
|
-
alias e='vim' # e, edit, mate: Edit current file.
|
|
46
|
-
alias edit='vim' # e, edit, mate: Edit current file.
|
|
47
|
-
alias egz='tar -xvzf' # egz: Extract a whole directory (including subdirectories)
|
|
48
|
-
alias f='find . -name ' # f: Quickly search for file
|
|
49
|
-
alias fd='find . -type d -name' # fd: Quickly search for directory
|
|
50
|
-
alias ff='find . -type f -name' # ff: Quickly search for file
|
|
51
|
-
alias g='git' # g: Shortcut to git.
|
|
52
|
-
alias ga='git add ' # ga: Shortcut to git add.
|
|
53
|
-
alias gb='git branch ' # gb: Shortcut to git branch.
|
|
54
|
-
alias gc='git commit -m ' # gc: Shortcut to git commit.
|
|
55
|
-
alias gcb="git checkout -b " # gcb: Create a new branch and switch to it.
|
|
56
|
-
alias gcl='git clone ' # gcl: Shortcut to git clone.
|
|
57
|
-
alias gco='git checkout ' # gco: Shortcut to git checkout.
|
|
58
|
-
alias gd='git diff ' # gd: Shortcut to git diff.
|
|
59
|
-
alias gf='git fetch ' # gf: Shortcut to git fetch.
|
|
60
|
-
alias gl='git log ' # gl: Shortcut to git log.
|
|
61
|
-
alias gmv='git mv' # gmv: Move or rename a file, a directory, or a symlink.
|
|
62
|
-
alias gph="git push" # gp: Push local commits to remote.
|
|
63
|
-
alias gpl="git pull" # gl: Update and merge remote changes.
|
|
64
|
-
alias gr='git remote ' # gr: Shortcut to git remote.
|
|
65
|
-
alias grm='git remove' # grm: Remove files from the working tree and from the index.
|
|
66
|
-
alias grt='cd "$(git rev-parse --show-toplevel)"' # gr: Change to Git Root directory.
|
|
67
|
-
alias gst='git status ' # gst: Shortcut to git status.
|
|
68
|
-
alias gsta='git stash save ' # gsta: Shortcut to git stash save.
|
|
69
|
-
alias gz='tar -zcvf' # gz: Compress a whole directory (including subdirectories) to a tarball.
|
|
70
|
-
alias h='history' # h: Lists all recently used commands.
|
|
71
|
-
alias halt="sudo /sbin/halt" # halt: Shutdown the system.
|
|
72
|
-
alias ifconfig='sudo ifconfig' # ifconfig: Append sudo to ifconfig (configure network interface parameters) command.
|
|
73
|
-
alias ip="ip4; ip6" # ip: Get the public IPv4 and IPv6 addresses.
|
|
74
|
-
alias ip4="dig +short myip.opendns.com @resolver1.opendns.com -4" # ip4: Get the public IPv4 address.
|
|
75
|
-
alias ip6="dig -6 AAAA +short myip.opendns.com. @resolver1.opendns.com." # ip6: Get the public IPv6 address.
|
|
76
|
-
alias ipinfo='ipconfig getpacket en0' # ipInfo0: Get network interface parameters for en0.
|
|
77
|
-
alias l='ls -lFh' # l: Size, show type, human readable.
|
|
78
|
-
alias l1='ls -1' # l1: Display one file per line.
|
|
79
|
-
alias la='ls -Alh' # la: show hidden files on the command line.
|
|
80
|
-
alias labc='ls -lap' # labc: List all files in alphabetical order.
|
|
81
|
-
alias lc='wc -l' # lc: Count the number of lines in the file.
|
|
82
|
-
alias lct='ls -lcrh' # lc: sort by change time
|
|
83
|
-
alias ld='ls -ltrh' # lt: sort by date
|
|
84
|
-
alias ldir="ls -l | egrep '^d'" # directories only
|
|
85
|
-
alias ldot="l." # l.: List hidden files.
|
|
86
|
-
alias left='ls -t -1' # left: List files by date, most recent last.
|
|
87
|
-
alias lf="ls -l | egrep -v '^d'" # files only
|
|
88
|
-
alias lk='ls -lSrh' # lk: sort by size
|
|
89
|
-
alias ll='ls -lAFh' # ll: Long list, show almost all, show type, human readable.
|
|
90
|
-
alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory.
|
|
91
|
-
alias lm='ls -alh |more' # lm: pipe through 'more'
|
|
92
|
-
alias ln='ln -vi' # ln: interactive symbolic link
|
|
93
|
-
alias locale='locale -a | grep UTF-8' # locale: List all available locales.
|
|
94
|
-
alias lp='sudo lsof -i -T -n' # lp: List all open ports.
|
|
95
|
-
alias lr='ls -lRh' # lr: recursive ls
|
|
96
|
-
alias ls='ls --color' # ls: Colorize the output.
|
|
97
|
-
alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size.
|
|
98
|
-
alias lt="tree" # lt: List contents of directories in a tree-like format.
|
|
99
|
-
alias lu='ls -lurh' # lu: sort by access time
|
|
100
|
-
alias lw='ls -xAh' # wide listing format
|
|
101
|
-
alias lx='ls | sort -k 1,1 -t .' # lx: sort by extension
|
|
102
|
-
alias mate='vim' # e, edit, mate: Edit current file.
|
|
103
|
-
alias mc='make clean' # mc: Make clean.
|
|
104
|
-
alias md='mkd' # mkd: Create the directory and all parent directories, verbose mode.
|
|
105
|
-
alias mi='make install' # mi: Make install.
|
|
106
|
-
alias mk=make # mk: Make.
|
|
107
|
-
alias mkbz2='tar -cvjf' # mkbz2: Create a temporary tar ball compressed with bzip2.
|
|
108
|
-
alias mkcd='mkdir -pv && cd' # mkcd: Create the directory and all parent directories, verbose mode, then change to it.
|
|
109
|
-
alias mkd='mkdir -pv' # mkd: Create the directory and all parent directories, verbose mode.
|
|
110
|
-
alias mkdd='mkdir -pv $(date +%Y%m%d)' # mkdd: Create a directory with the current date.
|
|
111
|
-
alias mkgz='tar -cvzf' # mkgz: Create a temporary tar ball compressed with gzip.
|
|
112
|
-
alias mkh="make help" # mkh: Make help.
|
|
113
|
-
alias mkr="make run" # mkr: Make run.
|
|
114
|
-
alias mkt="make test" # mkt: Make test.
|
|
115
|
-
alias mktar='tar -cvf' # mktar: Create a temporary tarball.
|
|
116
|
-
alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose.
|
|
117
|
-
alias mx='chmod a+x' # mx: Make executable.
|
|
118
|
-
alias nls='sudo lsof -i -P | grep LISTEN' # nls: Show only active network listeners.
|
|
119
|
-
alias now='date +"%T"' # now: Show the current time.
|
|
120
|
-
alias npmi='npm install ' # npmi: Install npm package.
|
|
121
|
-
alias npms='npm start ' # npms: Start npm package.
|
|
122
|
-
alias op='sudo lsof -i -P' # op: List of open ports.
|
|
123
|
-
alias p='pwd' # p: Shortcut for `pwd` which returns working directory name.
|
|
124
|
-
alias pa="clear && pwd && echo '' && ls && echo ''" # pa: Clear the screen, show the current directory, and list the files.
|
|
125
|
-
alias paa="clear && pwd && echo '' && ls -a && echo ''" # paa: Clear the screen, show the current directory, and list all files.
|
|
126
|
-
alias path='echo -e ${PATH//:/\\n}' # path: Display the $PATH variable on newlines.
|
|
127
|
-
alias pid='ps -f' # pid: Display the uid, pid, parent pid, recent CPU usage, process start time, controlling tty, elapsed CPU usage, and the associated command.
|
|
128
|
-
alias ping='ping -c 5' # ping: Limit Ping to 5 ECHO_REQUEST packets.
|
|
129
|
-
alias please='sudo -' # sudo: Execute a command as the superuser.
|
|
130
|
-
alias pn='pnpm' # pn: Shortcut to pnpm.
|
|
131
|
-
alias ports='netstat -tulan' # ports: List all listening ports.
|
|
132
|
-
alias poweroff="sudo /sbin/shutdown" # poweroff: Poweroff the system.
|
|
133
|
-
alias pp="clear && pwd" # pp: Clear the screen and show the current directory.
|
|
134
|
-
alias ps='ps auxwww' # kp: Getting full path of executables.
|
|
135
|
-
alias pt="clear && pwd && echo '' && tree ./ && echo ''" # pt: Clear the screen and show the current directory and tree.
|
|
136
|
-
alias q='quit' # q: Shortcut for the `exit` command.
|
|
137
|
-
alias qfind='find . -name ' # qfind: Quickly search for file.
|
|
138
|
-
alias quit='exit' # q: Shortcut for the `exit` command.
|
|
139
|
-
alias r=reload # r: Reload the shell.
|
|
140
|
-
alias reboot="sudo /sbin/reboot" # reboot: Reboot the system.
|
|
141
|
-
alias reload='exec $SHELL -l' # reload: Reload the shell.
|
|
142
|
-
alias rm='rm -vI' # rm: Prompts for every file before removing.
|
|
143
|
-
alias rr="rm -rf" # rr: Remove directory and all its contents.
|
|
144
|
-
alias rs='rsync -avz' # rs: Rsync with verbose and progress.
|
|
145
|
-
alias s='sudo' # s: Execute a command as the superuser.
|
|
146
|
-
alias shutdown='sudo shutdown -h now' # shutdown: Shutdown the system.
|
|
147
|
-
alias spd='sudo rm -rf /private/var/log/asl/*' # spd: Remove all log files in /private/var/log/asl.
|
|
148
|
-
alias srv='python3 -m http.server' # srv: Start a simple HTTP server.
|
|
149
|
-
alias svi='sudo vi' # svi: Run vi in sudo mode.
|
|
150
|
-
alias t='tail -f' # t: Prints the last 10 lines of a text or log file, and then waits for new additions to the file to print it in real time.
|
|
151
|
-
alias top='sudo btop' # top: Allows the user to interactively monitor the system's vital resources or server's processes in real time.
|
|
152
|
-
alias trash="rm -fr ~/.Trash" # trash: Remove all files in the trash.
|
|
153
|
-
alias tree='tree --dirsfirst' # tree: Display a directory tree.
|
|
154
|
-
alias unbz2='tar -xvjf' # unbz2: Extract a tarball compressed with bzip2.
|
|
155
|
-
alias undopush="git push -f origin HEAD^:master" # undopush: Undo the last push.
|
|
156
|
-
alias ungz='tar -xvzf' # ungz: Extract a tarball compressed with gzip.
|
|
157
|
-
alias untar='tar -xvf' # untar: Extract a tarball.
|
|
158
|
-
alias usage='du -ch | grep total' # usage: Grabs the disk usage in the current directory.
|
|
159
|
-
alias v='vim $(f)' # v: Edit a file.
|
|
160
|
-
alias v='vim' # e, edit, mate: Edit current file.
|
|
161
|
-
alias wget='wget -c' # wget: wget with resume.
|
|
162
|
-
alias wip='dig +short myip.opendns.com @resolver1.opendns.com' # wip: Get public IP address.
|
|
163
|
-
alias wk='date +%V' # wk: Show the current week number.
|
|
164
|
-
alias wth='curl https://wttr.in' # wth: Get the weather.
|
|
165
|
-
alias x='quit' # q: Shortcut for the `exit` command.
|
|
166
|
-
|
|
167
|
-
if [[ "$(uname || true)" = "Darwin" ]]; then
|
|
168
|
-
alias upd='
|
|
169
|
-
sudo softwareupdate -i -a;
|
|
170
|
-
pnpm i;
|
|
171
|
-
pnpm i yarn --global;
|
|
172
|
-
pnpm i npm --global;
|
|
173
|
-
pnpm i pnpm --global;
|
|
174
|
-
pnpm up;
|
|
175
|
-
brew cu --all;
|
|
176
|
-
brew doctor;
|
|
177
|
-
brew update;
|
|
178
|
-
brew upgrade;
|
|
179
|
-
brew cleanup;
|
|
180
|
-
mas upgrade;
|
|
181
|
-
sudo gem update;
|
|
182
|
-
sudo gem cleanup;
|
|
183
|
-
'
|
|
184
|
-
elif [[ "$(uname || true)" = "Linux" ]]; then
|
|
185
|
-
alias open="xdg-open >/dev/null 2>&1" # open: Open a file or URL in the user's preferred application.
|
|
186
|
-
alias pbcopy='xsel --clipboard --input' # pbcopy: Copy to clipboard.
|
|
187
|
-
alias pbpaste='xsel --clipboard --output' # pbpaste: Paste from clipboard.
|
|
188
|
-
alias upd='
|
|
189
|
-
sudo apt update;
|
|
190
|
-
sudo apt upgrade -y;
|
|
191
|
-
pnpm i;
|
|
192
|
-
pnpm i yarn --global;
|
|
193
|
-
pnpm i npm --global;
|
|
194
|
-
pnpm i pnpm --global;
|
|
195
|
-
pnpm up;
|
|
196
|
-
sudo gem update;
|
|
197
|
-
sudo gem cleanup;
|
|
198
|
-
'
|
|
199
|
-
fi
|