@sebastienrousseau/dotfiles 0.2.469 → 0.2.499

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.
Files changed (221) hide show
  1. package/docs/ARCHITECTURE.md +62 -0
  2. package/docs/COMPLIANCE.md +47 -0
  3. package/docs/COPYRIGHT +6 -0
  4. package/docs/OPERATIONS.md +103 -0
  5. package/docs/PLAN.md +161 -0
  6. package/docs/PR_DESCRIPTION.md +150 -0
  7. package/docs/ROADMAP.md +148 -0
  8. package/docs/ROADMAP_legacy.md +556 -0
  9. package/docs/SECURITY_CHECKLIST.md +25 -0
  10. package/docs/TASK.md +99 -0
  11. package/docs/WALKTHROUGH.md +46 -0
  12. package/package.json +64 -76
  13. package/scripts/backup.sh +142 -0
  14. package/{dist/scripts → scripts}/banner.sh +1 -1
  15. package/scripts/benchmark.sh +20 -0
  16. package/{dist/scripts → scripts}/build.sh +1 -1
  17. package/{dist/scripts → scripts}/clean.sh +1 -1
  18. package/{dist/scripts → scripts}/compile.sh +1 -1
  19. package/{dist/scripts → scripts}/copy.sh +1 -1
  20. package/scripts/detect-collisions.py +84 -0
  21. package/scripts/doctor.sh +79 -0
  22. package/{dist/scripts → scripts}/dotfiles.sh +1 -1
  23. package/{dist/scripts → scripts}/download.sh +1 -1
  24. package/{dist/scripts → scripts}/help.sh +1 -1
  25. package/scripts/lock-configs.sh +57 -0
  26. package/scripts/package.sh +46 -0
  27. package/{dist/scripts → scripts}/ssh.sh +1 -1
  28. package/scripts/teleport.sh +23 -0
  29. package/scripts/test-aliases.sh +25 -0
  30. package/scripts/test_smoke.sh +88 -0
  31. package/{dist/scripts → scripts}/unpack.sh +1 -1
  32. package/scripts/verify_state.sh +60 -0
  33. package/templates/projects/go/README.md +3 -0
  34. package/templates/projects/go/cmd/__PROJECT_NAME__/main.go +7 -0
  35. package/templates/projects/go/go.mod +3 -0
  36. package/templates/projects/node/README.md +3 -0
  37. package/templates/projects/node/package.json +10 -0
  38. package/templates/projects/node/src/index.js +2 -0
  39. package/templates/projects/python/README.md +3 -0
  40. package/templates/projects/python/pyproject.toml +10 -0
  41. package/templates/projects/python/src/__PROJECT_NAME__/__init__.py +1 -0
  42. package/templates/projects/python/tests/test_basic.py +2 -0
  43. package/LICENSE +0 -1283
  44. package/README.md +0 -398
  45. package/dist/Makefile +0 -140
  46. package/dist/bin/backup.d.ts +0 -3
  47. package/dist/bin/backup.d.ts.map +0 -1
  48. package/dist/bin/backup.js +0 -4
  49. package/dist/bin/backup.js.map +0 -1
  50. package/dist/bin/constants.d.ts +0 -7
  51. package/dist/bin/constants.d.ts.map +0 -1
  52. package/dist/bin/constants.js +0 -2
  53. package/dist/bin/constants.js.map +0 -1
  54. package/dist/bin/copy.d.ts +0 -3
  55. package/dist/bin/copy.d.ts.map +0 -1
  56. package/dist/bin/copy.js +0 -3
  57. package/dist/bin/copy.js.map +0 -1
  58. package/dist/bin/dotfiles.d.ts +0 -3
  59. package/dist/bin/dotfiles.d.ts.map +0 -1
  60. package/dist/bin/dotfiles.js +0 -2
  61. package/dist/bin/dotfiles.js.map +0 -1
  62. package/dist/bin/download.d.ts +0 -3
  63. package/dist/bin/download.d.ts.map +0 -1
  64. package/dist/bin/download.js +0 -2
  65. package/dist/bin/download.js.map +0 -1
  66. package/dist/bin/index.d.ts +0 -2
  67. package/dist/bin/index.d.ts.map +0 -1
  68. package/dist/bin/index.js +0 -1
  69. package/dist/bin/index.js.map +0 -1
  70. package/dist/bin/transfer.d.ts +0 -3
  71. package/dist/bin/transfer.d.ts.map +0 -1
  72. package/dist/bin/transfer.js +0 -4
  73. package/dist/bin/transfer.js.map +0 -1
  74. package/dist/bin/unpack.d.ts +0 -3
  75. package/dist/bin/unpack.d.ts.map +0 -1
  76. package/dist/bin/unpack.js +0 -3
  77. package/dist/bin/unpack.js.map +0 -1
  78. package/dist/filesizes.txt +0 -382
  79. package/dist/lib/README.md +0 -86
  80. package/dist/lib/aliases/README.md +0 -57
  81. package/dist/lib/aliases/archives/README.md +0 -145
  82. package/dist/lib/aliases/archives/archives.aliases.sh +0 -114
  83. package/dist/lib/aliases/cd/README.md +0 -146
  84. package/dist/lib/aliases/cd/cd.aliases.sh +0 -51
  85. package/dist/lib/aliases/chmod/README.md +0 -160
  86. package/dist/lib/aliases/chmod/chmod.aliases.sh +0 -107
  87. package/dist/lib/aliases/clear/README.md +0 -37
  88. package/dist/lib/aliases/clear/clear.aliases.sh +0 -71
  89. package/dist/lib/aliases/configuration/README.md +0 -39
  90. package/dist/lib/aliases/configuration/configuration.aliases.sh +0 -70
  91. package/dist/lib/aliases/default/README.md +0 -40
  92. package/dist/lib/aliases/default/default.aliases.sh +0 -139
  93. package/dist/lib/aliases/dig/README.md +0 -37
  94. package/dist/lib/aliases/dig/dig.aliases.sh +0 -43
  95. package/dist/lib/aliases/disk-usage/README.md +0 -36
  96. package/dist/lib/aliases/disk-usage/du.aliases.sh +0 -84
  97. package/dist/lib/aliases/editor/README.md +0 -53
  98. package/dist/lib/aliases/editor/editor.aliases.sh +0 -26
  99. package/dist/lib/aliases/find/README.md +0 -46
  100. package/dist/lib/aliases/find/find.aliases.sh +0 -60
  101. package/dist/lib/aliases/gcloud/README.md +0 -63
  102. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +0 -335
  103. package/dist/lib/aliases/git/README.md +0 -153
  104. package/dist/lib/aliases/git/git.aliases.sh +0 -544
  105. package/dist/lib/aliases/gnu/README.md +0 -89
  106. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +0 -150
  107. package/dist/lib/aliases/heroku/README.md +0 -430
  108. package/dist/lib/aliases/heroku/heroku.aliases.sh +0 -1053
  109. package/dist/lib/aliases/interactive/README.md +0 -55
  110. package/dist/lib/aliases/interactive/interactive.aliases.sh +0 -50
  111. package/dist/lib/aliases/list/README.md +0 -131
  112. package/dist/lib/aliases/list/list.aliases.sh +0 -132
  113. package/dist/lib/aliases/macOS/README.md +0 -42
  114. package/dist/lib/aliases/macOS/macos.aliases.sh +0 -65
  115. package/dist/lib/aliases/make/README.md +0 -32
  116. package/dist/lib/aliases/make/make.aliases.sh +0 -35
  117. package/dist/lib/aliases/mkdir/README.md +0 -30
  118. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +0 -29
  119. package/dist/lib/aliases/npm/README.md +0 -41
  120. package/dist/lib/aliases/npm/npm.aliases.sh +0 -61
  121. package/dist/lib/aliases/permission/README.md +0 -47
  122. package/dist/lib/aliases/permission/permission.aliases.sh +0 -73
  123. package/dist/lib/aliases/pnpm/README.md +0 -53
  124. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +0 -76
  125. package/dist/lib/aliases/ps/README.md +0 -29
  126. package/dist/lib/aliases/ps/ps.aliases.sh +0 -20
  127. package/dist/lib/aliases/python/python.aliases.sh +0 -141
  128. package/dist/lib/aliases/rsync/README.md +0 -25
  129. package/dist/lib/aliases/rsync/rsync.aliases.sh +0 -17
  130. package/dist/lib/aliases/rust/README.md +0 -182
  131. package/dist/lib/aliases/rust/rust.aliases.sh +0 -119
  132. package/dist/lib/aliases/subversion/README.md +0 -66
  133. package/dist/lib/aliases/subversion/subversion.aliases.sh +0 -47
  134. package/dist/lib/aliases/sudo/README.md +0 -27
  135. package/dist/lib/aliases/sudo/sudo.aliases.sh +0 -20
  136. package/dist/lib/aliases/tmux/README.md +0 -31
  137. package/dist/lib/aliases/tmux/tmux.aliases.sh +0 -36
  138. package/dist/lib/aliases/update/README.md +0 -38
  139. package/dist/lib/aliases/update/update.aliases.sh +0 -310
  140. package/dist/lib/aliases/uuid/README.md +0 -24
  141. package/dist/lib/aliases/uuid/uuid.aliases.sh +0 -19
  142. package/dist/lib/aliases/wget/README.md +0 -27
  143. package/dist/lib/aliases/wget/wget.aliases.sh +0 -22
  144. package/dist/lib/aliases.sh +0 -50
  145. package/dist/lib/configurations/README.md +0 -18
  146. package/dist/lib/configurations/bash/bashrc +0 -167
  147. package/dist/lib/configurations/curl/cacert.pem +0 -3460
  148. package/dist/lib/configurations/curl/curlrc +0 -53
  149. package/dist/lib/configurations/default/color.sh +0 -24
  150. package/dist/lib/configurations/default/constants.sh +0 -43
  151. package/dist/lib/configurations/default/editor.sh +0 -18
  152. package/dist/lib/configurations/default/prompt.sh +0 -48
  153. package/dist/lib/configurations/gem/gemrc +0 -9
  154. package/dist/lib/configurations/input/inputrc +0 -23
  155. package/dist/lib/configurations/jshint/jshintrc +0 -37
  156. package/dist/lib/configurations/nano/nanorc +0 -35
  157. package/dist/lib/configurations/profile/profile +0 -37
  158. package/dist/lib/configurations/prompt/prompt.sh +0 -81
  159. package/dist/lib/configurations/tmux/default +0 -18
  160. package/dist/lib/configurations/tmux/display +0 -30
  161. package/dist/lib/configurations/tmux/linux +0 -18
  162. package/dist/lib/configurations/tmux/navigation +0 -30
  163. package/dist/lib/configurations/tmux/panes +0 -10
  164. package/dist/lib/configurations/tmux/theme +0 -29
  165. package/dist/lib/configurations/tmux/tmux +0 -21
  166. package/dist/lib/configurations/vim/vimrc +0 -193
  167. package/dist/lib/configurations/wget/wgetrc +0 -40
  168. package/dist/lib/configurations/zsh/zshrc +0 -50
  169. package/dist/lib/configurations.sh +0 -45
  170. package/dist/lib/functions/README.md +0 -92
  171. package/dist/lib/functions/apihealth.sh +0 -277
  172. package/dist/lib/functions/apilatency.sh +0 -157
  173. package/dist/lib/functions/apiload.sh +0 -165
  174. package/dist/lib/functions/backup.sh +0 -143
  175. package/dist/lib/functions/cdls.sh +0 -60
  176. package/dist/lib/functions/curlheader.sh +0 -78
  177. package/dist/lib/functions/curlstatus.sh +0 -74
  178. package/dist/lib/functions/curltime.sh +0 -75
  179. package/dist/lib/functions/encode64.sh +0 -107
  180. package/dist/lib/functions/environment.sh +0 -78
  181. package/dist/lib/functions/extract.sh +0 -86
  182. package/dist/lib/functions/freespace.sh +0 -67
  183. package/dist/lib/functions/genpwd.sh +0 -105
  184. package/dist/lib/functions/goto.sh +0 -67
  185. package/dist/lib/functions/hexdump.sh +0 -96
  186. package/dist/lib/functions/hiddenfiles.sh +0 -77
  187. package/dist/lib/functions/hostinfo.sh +0 -98
  188. package/dist/lib/functions/hstats.sh +0 -75
  189. package/dist/lib/functions/httpdebug.sh +0 -113
  190. package/dist/lib/functions/kebabcase.sh +0 -61
  191. package/dist/lib/functions/keygen.sh +0 -194
  192. package/dist/lib/functions/last.sh +0 -112
  193. package/dist/lib/functions/logout.sh +0 -120
  194. package/dist/lib/functions/lowercase.sh +0 -61
  195. package/dist/lib/functions/matrix.sh +0 -216
  196. package/dist/lib/functions/mount_read_only.sh +0 -11
  197. package/dist/lib/functions/myproc.sh +0 -9
  198. package/dist/lib/functions/prependpath.sh +0 -21
  199. package/dist/lib/functions/ql.sh +0 -9
  200. package/dist/lib/functions/rd.sh +0 -17
  201. package/dist/lib/functions/remove_disk.sh +0 -11
  202. package/dist/lib/functions/ren.sh +0 -73
  203. package/dist/lib/functions/sentencecase.sh +0 -63
  204. package/dist/lib/functions/showhiddenfiles.sh +0 -14
  205. package/dist/lib/functions/size.sh +0 -16
  206. package/dist/lib/functions/snakecase.sh +0 -61
  207. package/dist/lib/functions/stopwatch.sh +0 -15
  208. package/dist/lib/functions/sysinfo.sh +0 -145
  209. package/dist/lib/functions/titlecase.sh +0 -65
  210. package/dist/lib/functions/uppercase.sh +0 -61
  211. package/dist/lib/functions/view-source.sh +0 -9
  212. package/dist/lib/functions/vscode.sh +0 -32
  213. package/dist/lib/functions/whoisport.sh +0 -14
  214. package/dist/lib/functions/zipf.sh +0 -16
  215. package/dist/lib/functions.sh +0 -46
  216. package/dist/lib/history.sh +0 -90
  217. package/dist/lib/paths/README.md +0 -52
  218. package/dist/lib/paths/custom.paths.sh +0 -40
  219. package/dist/lib/paths/default.paths.sh +0 -37
  220. package/dist/lib/paths.sh +0 -46
  221. package/dist/scripts/backup.sh +0 -95
@@ -1,55 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ## 🅸🅽🆃🅴🆁🅰🅲🆃🅸🆅🅴 🅰🅻🅸🅰🆂🅴🆂
19
-
20
- This code provides a set of interactive aliases for common command line
21
- operations. The aliases are designed to simplify and enhance the user
22
- experience by adding interactive prompts before executing potentially
23
- destructive operations.
24
-
25
- ### File manipulation aliases
26
-
27
- * `cp` Copy files and directories interactively (ask before overwrite) with
28
- verbose output.
29
- * `del` Remove files or directories interactively (ask before each removal)
30
- with verbose output, recursively.
31
- * `ln` Create symbolic links interactively (ask before overwrite) with verbose
32
- output.
33
- * `mv` Move or rename files interactively (ask before overwrite) with verbose
34
- output.
35
- * `rm` Remove files or directories interactively (ask before each removal) with
36
- verbose output.
37
- * `zap` Alias for 'rm', removes files or directories interactively (ask before
38
- each removal) with verbose output.
39
-
40
- ### Trash manipulation alias
41
-
42
- * `bin` Remove all files in the trash directory (user's .Trash) forcefully and
43
- recursively.
44
-
45
- ### Other interactive aliases
46
-
47
- * `chmod` Change file or directory permissions with verbose output.
48
- * `chown` Change file or directory owner and group with verbose output.
49
- * `diff` Compare and show differences between two files in unified format.
50
- * `grep` Search for a pattern in files or output, showing line numbers and
51
- case-insensitively.
52
- * `mkdir` Create a new directory, making parent directories as needed, with
53
- verbose output.
54
-
55
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,50 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by Sebastien Rousseau
5
- # Copyright (c) 2015-2025. All rights reserved
6
- # License: MIT
7
-
8
- # 🅸🅽🆃🅴🆁🅰🅲🆃🅸🆅🅴 🅰🅻🅸🅰🆂🅴🆂
9
-
10
- # File manipulation aliases
11
-
12
- # cp: Copy files and directories interactively (ask before overwrite) with verbose output.
13
- alias cp="cp -vi"
14
-
15
- # del: Remove files or directories interactively (ask before each removal) with verbose output, recursively.
16
- alias del="rm -rfvi"
17
-
18
- # ln: Create symbolic links interactively (ask before overwrite) with verbose output.
19
- alias ln='ln -vi'
20
-
21
- # mv: Move or rename files interactively (ask before overwrite) with verbose output.
22
- alias mv='mv -vi'
23
-
24
- # rm: Remove files or directories interactively (ask before each removal) with verbose output.
25
- alias rm='rm -vi'
26
-
27
- # zap: Alias for 'rm', removes files or directories interactively (ask before each removal) with verbose output.
28
- alias zap='rm -vi'
29
-
30
- # Trash manipulation alias
31
-
32
- # bin: Remove all files in the trash directory (user's .Trash) forcefully and recursively.
33
- alias bin='rm -fr ${HOME}/.Trash'
34
-
35
- # Other interactive aliases
36
-
37
- # chmod: Change file or directory permissions with verbose output.
38
- alias chmod='chmod -v'
39
-
40
- # chown: Change file or directory owner and group with verbose output.
41
- alias chown='chown -v'
42
-
43
- # diff: Compare and show differences between two files in unified format.
44
- alias diff='diff -u'
45
-
46
- # grep: Search for a pattern in files or output, showing line numbers and case-insensitively.
47
- alias grep='grep -n -i'
48
-
49
- # mkdir: Create a new directory, making parent directories as needed, with verbose output.
50
- alias mkdir='mkdir -pv'
@@ -1,131 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ---
19
-
20
- ## 🅻🅸🆂🆃 🅰🅻🅸🅰🆂🅴🆂
21
-
22
- This script defines a set of aliases for enhanced file listing using `eza`, or
23
- falls back to `ls` if `eza` is not installed. These aliases provide intuitive
24
- shortcuts for various listing styles and sorting options.
25
-
26
- ### **Aliases Overview**
27
-
28
- - **`ls`**
29
- Replaces the standard `ls` command with `eza`. If `eza` is not available,
30
- falls back to the standard `ls`.
31
-
32
- - **`l`**
33
- Mirrors the behavior of `ls` or `eza`, ensuring consistent usage.
34
-
35
- - **`ll`**
36
- Lists files in a long format, including hidden files (`--long -a`).
37
-
38
- - **`llm`**
39
- Lists files in long format, including hidden files, sorted by modification
40
- date (`--long -a --sort=modified`).
41
-
42
- - **`la`**
43
- Lists all files, including hidden ones, with directories listed
44
- first (`-a --group-directories-first`).
45
-
46
- - **`lx`**
47
- Lists all files and displays extended attributes, with directories listed
48
- first (`-a --group-directories-first --extended`).
49
-
50
- - **`tree`**
51
- Displays a directory tree using `eza --tree`. If `eza` is unavailable,
52
- falls back to the `tree` command or `ls -R`.
53
-
54
- - **`lS`**
55
- Lists files one entry per line (`--oneline`).
56
-
57
- ---
58
-
59
- ### **Installation**
60
-
61
- 1. Clone this repository:
62
-
63
- ```bash
64
- git clone https://github.com/sebastienrousseau/dotfiles.git
65
- ```
66
-
67
- 2. Source the `list.sh` script in your shell configuration:
68
-
69
- ```bash
70
- echo 'source /path/to/dotfiles/list.sh' >> ~/.bashrc
71
- source ~/.bashrc
72
- ```
73
-
74
- ---
75
-
76
- ### **Usage Examples**
77
-
78
- Here are examples of how you can use the aliases:
79
-
80
- - **Basic Listing**:
81
-
82
- ```bash
83
- ls # Basic file listing (uses eza if available)
84
- l # Same as ls
85
- ```
86
-
87
- - **Detailed Listing**:
88
-
89
- ```bash
90
- ll # Long format with hidden files
91
- llm # Long format, sorted by modification date
92
- ```
93
-
94
- - **Specialized Listings**:
95
-
96
- ```bash
97
- la # Show all files, directories first
98
- lx # Show extended attributes, directories first
99
- lS # One entry per line
100
- ```
101
-
102
- - **Tree View**:
103
-
104
- ```bash
105
- tree # Show directory structure as a tree
106
- ```
107
-
108
- ---
109
-
110
- ### **Fallback Behavior**
111
-
112
- If `eza` is not installed, the script automatically falls back to
113
- standard `ls` with equivalent options where possible. For example:
114
-
115
- - **`ls` and `l`**: Use standard `ls` if `eza` is unavailable.
116
- - **`tree`**: Falls back to `tree` if installed, or `ls -R` otherwise.
117
-
118
- ---
119
-
120
- ### **Customization**
121
-
122
- You can adjust the aliases or add additional ones in the `list.sh` script.
123
- For example, modify the default `tree` depth by editing:
124
-
125
- ```bash
126
- alias tree='eza --tree --level=2'
127
- ```
128
-
129
- ---
130
-
131
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,132 +0,0 @@
1
- #!/usr/bin/env bash
2
- ################################################################################
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂
4
- # Script: list.sh
5
- # Version: 0.2.469
6
- # Author: Sebastien Rousseau (@wwdseb)
7
- # License: MIT
8
- #
9
- # Description:
10
- # This script sets a set of aliases for file listing using `eza`.
11
- # If `eza` is not found, it falls back to `ls` with approximate equivalents.
12
- #
13
- # Requested Aliases:
14
- # alias ls='eza' # Basic replacement for ls
15
- # alias l='eza' # 'l' should be the same as ls/eza
16
- # alias ll='eza --long -a' # Long format, including hidden files
17
- # alias llm='eza --long -a --sort=modified'# Long format, hidden files, sorted by mod date
18
- # alias la='eza -a --group-directories-first' # Show all files, dirs first
19
- # alias lx='eza -a --group-directories-first --extended' # All files, dirs first, extended attrs
20
- # alias tree='eza --tree' # Tree view
21
- # alias lS='eza --oneline' # One entry per line
22
- #
23
- # Additionally, 'l' is now identical to 'ls' rather than a custom format.
24
- ################################################################################
25
-
26
- if command -v eza >/dev/null 2>&1; then
27
- # eza is available
28
-
29
- # @name ls
30
- # @brief Basic replacement for ls using eza
31
- # @description If eza is installed, ls calls eza.
32
- # @example ls
33
- alias ls='eza'
34
-
35
- # @name l
36
- # @brief Identical to ls/eza
37
- # @description l should mirror ls exactly when eza is available.
38
- # @example l
39
- alias l='eza'
40
-
41
- # @name ll
42
- # @brief Long format including hidden files
43
- # @description Uses `--long -a` for details and hidden files.
44
- # @example ll
45
- alias ll='eza --long -a'
46
-
47
- # @name llm
48
- # @brief Long format, including hidden files, sorted by modification date
49
- # @description Uses `--long -a --sort=modified`.
50
- # @example llm
51
- alias llm='eza --long -a --sort=modified'
52
-
53
- # @name la
54
- # @brief Show all files, directories listed first
55
- # @description Uses `-a --group-directories-first` to show hidden and group dirs first.
56
- # @example la
57
- alias la='eza -a --group-directories-first'
58
-
59
- # @name lx
60
- # @brief Show all files and extended attributes, directories first
61
- # @description `-a --group-directories-first --extended`.
62
- # @example lx
63
- alias lx='eza -a --group-directories-first --extended'
64
-
65
- # @name tree
66
- # @brief Tree view
67
- # @description Uses `--tree` for a tree-like directory listing.
68
- # @example tree
69
- alias tree='eza --tree'
70
-
71
- # @name lS
72
- # @brief One entry per line
73
- # @description Uses `--oneline` to list files one per line.
74
- # @example lS
75
- alias lS='eza --oneline'
76
-
77
- else
78
- # eza not found, fallback to ls approximations
79
- echo "Note: 'eza' not found. Using 'ls' fallback." >&2
80
- echo "Install 'eza' for enhanced listing: https://github.com/eza-community/eza" >&2
81
-
82
- # @name ls (fallback)
83
- # @brief Basic listing using ls
84
- # @example ls
85
- alias ls='ls'
86
-
87
- # @name l (fallback)
88
- # @brief Identical to ls
89
- # @description l should mirror ls exactly when eza is not available.
90
- # @example l
91
- alias l='ls'
92
-
93
- # @name ll (fallback)
94
- # @brief Long format including hidden files
95
- # @description `-lA` shows long listing including hidden files.
96
- # @example ll
97
- alias ll='ls -lA'
98
-
99
- # @name llm (fallback)
100
- # @brief Sort by modification time
101
- # @description `ls -ltA` sorts by modification time, includes hidden with `-A`.
102
- # @example llm
103
- alias llm='ls -ltA'
104
-
105
- # @name la (fallback)
106
- # @brief Show all files
107
- # @description `-a` shows hidden files. No directories-first in plain ls.
108
- # @example la
109
- alias la='ls -a'
110
-
111
- # @name lx (fallback)
112
- # @brief Show all files; extended attributes are not directly in ls
113
- # @description `-la` shows long listing including hidden.
114
- # @example lx
115
- alias lx='ls -la'
116
-
117
- # @name tree (fallback)
118
- # @brief Tree view (approx.)
119
- # @description If `tree` is installed, use it; otherwise `ls -R`.
120
- # @example tree
121
- if command -v tree >/dev/null 2>&1; then
122
- alias tree='tree'
123
- else
124
- alias tree='ls -R'
125
- fi
126
-
127
- # @name lS (fallback)
128
- # @brief One entry per line
129
- # @description `-1` lists files one per line.
130
- # @example lS
131
- alias lS='ls -1'
132
- fi
@@ -1,42 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ## 🅼🅰🅲🅾🆂 🅰🅻🅸🅰🆂🅴🆂
19
-
20
- This code provides a set of aliases for macOS.
21
-
22
- - `clds` Recursively delete .DS_Store files.
23
- - `clls` Clean up LaunchServices to remove duplicates in the
24
- 'Open With' menu.
25
- - `finderHideHidden` Hide hidden files in Finder.
26
- - `finderShowHidden` Show hidden files in Finder.
27
- - `hideDesktopIcons` Hide all icons on the Desktop.
28
- - `iphone` Open the device simulators.
29
- - `lockScreen` Lock the screen of the mac.
30
- - `ofd` Open the current directory in a Finder window.
31
- - `purge` Purging Xcode DerivedData.
32
- - `safariSafeMode` Launch Safari in Safe Mode.
33
- - `showDesktopIcons` Show all icons on the Desktop.
34
- - `screensaverDesktop` Run a screensaver on the Desktop.
35
- - `trash` Empty the Trash on all mounted volumes and the main HDD.
36
- - `vp` Verify macOS Permissions.
37
- - `vv` Verify macOS Volume.
38
- - `wifiOn` Turn on Wi-Fi.
39
- - `wifiOff` Turn off Wi-Fi.
40
- - `xcode` Launch XCode app in macOS.
41
-
42
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,65 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by Sebastien Rousseau
5
- # Copyright (c) 2015-2025. All rights reserved
6
- # License: MIT
7
-
8
- # 🅼🅰🅲🅾🆂 🅰🅻🅸🅰🆂🅴🆂
9
-
10
- # Recursively delete .DS_Store files.
11
- alias clds='find . -type f -name "*.DS_Store" -ls -delete'
12
-
13
- # Clean up LaunchServices to remove duplicates in the 'Open With' menu.
14
- alias clls='/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder'
15
-
16
- # Empty the Trash on all mounted volumes and the main HDD.
17
- alias emptytrash='rm -rf ~/.Trash/*'
18
-
19
- # Hide hidden files in Finder.
20
- alias finderHideHidden='defaults write com.apple.finder ShowAllFiles FALSE'
21
-
22
- # Show hidden files in Finder.
23
- alias finderShowHidden='defaults write com.apple.finder ShowAllFiles TRUE'
24
-
25
- # Hide the Desktop icons.
26
- alias hideDesktopIcons='defaults write com.apple.finder CreateDesktop false && killall Finder'
27
-
28
- # Open the device simulators.
29
- alias iphone='open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app'
30
-
31
- # Lock the screen (when going AFK).
32
- alias lockScreen='/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend'
33
-
34
- # Disable .DS_Store files on network volumes
35
- alias noDS='defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true'
36
-
37
- # Open the current directory in a Finder window.
38
- alias ofd='open $PWD'
39
-
40
- # Purging Xcode DerivedData.
41
- alias purge='rm -rf ~/library/Developer/Xcode/DerivedData/*'
42
-
43
- # Launch Safari in Safe Mode.
44
- alias safariSafeMode='open -a Safari --args -safe-mode'
45
-
46
- # Show the Desktop icons.
47
- alias showDesktopIcons='defaults write com.apple.finder CreateDesktop true && killall Finder'
48
-
49
- # Run a screensaver on the Desktop.
50
- alias screensaverDesktop='/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background'
51
-
52
- # vp: Verify macOS Permissions.
53
- alias vp='diskutil verifyPermissions /'
54
-
55
- # vv: Verify macOS Volume.
56
- alias vv='diskutil verifyvolume /'
57
-
58
- # Turn Wi-Fi on.
59
- alias wifiOn='networksetup -setairportpower en0 on'
60
-
61
- # Turn Wi-Fi off.
62
- alias wifiOff='networksetup -setairportpower en0 off'
63
-
64
- # xcode: Launch XCode app in macOS.
65
- alias xcode='open -a xcode'
@@ -1,32 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ## 🅼🅰🅺🅴 🅰🅻🅸🅰🆂🅴🆂
19
-
20
- This code provides a set of aliases for the `make` command.
21
-
22
- - `mk` - Make.
23
- - `mkc` - Make clean.
24
- - `mkd` - Make doc.
25
- - `mkf` - Make format.
26
- - `mkh` - Make help.
27
- - `mki` - Make install.
28
- - `mka` - Make all.
29
- - `mkr` - Make run.
30
- - `mkt` - Make test.
31
-
32
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,35 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by Sebastien Rousseau
5
- # Copyright (c) 2015-2025. All rights reserved
6
- # License: MIT
7
-
8
- # 🅼🅰🅺🅴 🅰🅻🅸🅰🆂🅴🆂
9
-
10
- # mk - make
11
- alias mk='make'
12
-
13
- # mkc - make clean
14
- alias mkc='make clean'
15
-
16
- # mkd - make doc
17
- alias mkd='make doc'
18
-
19
- # mkf - make format
20
- alias mkf='make format'
21
-
22
- # mkh - make help
23
- alias mkh='make help'
24
-
25
- # mki - make install
26
- alias mki='make install'
27
-
28
- # mka - make all
29
- alias mka='make all'
30
-
31
- # mkr - make run
32
- alias mkr='make run'
33
-
34
- # mkt - make test
35
- alias mkt='make test'
@@ -1,30 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ## 🅼🅰🅺🅴🅳🅸🆁 🅰🅻🅸🅰🆂🅴🆂
19
-
20
- This code provides a set of aliases for the `mkdir` command.
21
-
22
- - `mcd` Make directory and cd into it.
23
- - `mde` Make example directory with current date.
24
- - `md` Make directory.
25
- - `mdd` Make directory with date.
26
- - `mdn` Make notes directory with current date.
27
- - `mdw` Make work directory with current date.
28
- - `mdt` Make directory with time.
29
-
30
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by Sebastien Rousseau
5
- # Copyright (c) 2015-2025. All rights reserved
6
- # License: MIT
7
-
8
- # 🅼🅰🅺🅴🅳🅸🆁 🅰🅻🅸🅰🆂🅴🆂
9
-
10
- # Make directory and cd into it.
11
- alias mcd='mkdir -pv && cd'
12
-
13
- # Make example directory with current date.
14
- alias mde='mkdir -pv "$(date +%Y%m%d)-example"'
15
-
16
- # Make directory.
17
- alias md='mkdir -v'
18
-
19
- # Make directory with date.
20
- alias mdd='mkdir -pv $(date +%Y%m%d) && cd $(date +%Y%m%d)'
21
-
22
- # Make notes directory with current date.
23
- alias mdn='mkdir -pv "$(date +%Y%m%d)-notes"'
24
-
25
- # Make work directory with current date.
26
- alias mdw='mkdir -pv "$(date +%Y%m%d)-work"'
27
-
28
- # Make directory with time.
29
- alias mdt='mkdir -pv $(date +%H%M%S)'
@@ -1,41 +0,0 @@
1
- <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
- <img
4
- src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
- alt="dotfiles logo"
6
- width="66"
7
- align="right"
8
- />
9
-
10
- <!-- markdownlint-enable MD033 MD041 -->
11
-
12
- # Dotfiles (v0.2.469)
13
-
14
- Simply designed to fit your shell life 🐚
15
-
16
- ![Dotfiles banner][banner]
17
-
18
- ## 🅽🅿🅼 🅰🅻🅸🅰🆂🅴🆂
19
-
20
- This code provides a set of aliases for
21
- [npm](https://www.npmjs.com/) package manager.
22
-
23
- - `npa` Audit npm packages.
24
- - `npb` Build npm script.
25
- - `npc` Cache npm package.
26
- - `npd` Dev npm script.
27
- - `npg` Global npm package.
28
- - `npi` Install npm package.
29
- - `npl` List npm packages.
30
- - `npp` Publish npm package.
31
- - `nprm` Remove npm package.
32
- - `npr` Run npm script.
33
- - `nprw` Run npm script watch.
34
- - `nps` Start npm script.
35
- - `npsv` Serve npm script.
36
- - `npt` Test npm script.
37
- - `npu` Update npm package.
38
- - `npx` Exec npm package.
39
- - `npy` Why npm package.
40
-
41
- [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg