@sebastienrousseau/dotfiles 0.2.468 β†’ 0.2.469

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 (172) hide show
  1. package/README.md +5 -5
  2. package/dist/Makefile +126 -43
  3. package/dist/bin/constants.d.ts +2 -2
  4. package/dist/bin/constants.d.ts.map +1 -1
  5. package/dist/bin/constants.js +1 -1
  6. package/dist/filesizes.txt +146 -144
  7. package/dist/lib/README.md +79 -5
  8. package/dist/lib/aliases/README.md +44 -42
  9. package/dist/lib/aliases/archives/README.md +120 -34
  10. package/dist/lib/aliases/archives/archives.aliases.sh +106 -149
  11. package/dist/lib/aliases/cd/README.md +119 -38
  12. package/dist/lib/aliases/cd/cd.aliases.sh +37 -59
  13. package/dist/lib/aliases/chmod/README.md +146 -95
  14. package/dist/lib/aliases/chmod/chmod.aliases.sh +71 -55
  15. package/dist/lib/aliases/clear/README.md +2 -2
  16. package/dist/lib/aliases/clear/clear.aliases.sh +4 -4
  17. package/dist/lib/aliases/configuration/README.md +2 -2
  18. package/dist/lib/aliases/configuration/configuration.aliases.sh +3 -6
  19. package/dist/lib/aliases/default/README.md +2 -2
  20. package/dist/lib/aliases/default/default.aliases.sh +3 -3
  21. package/dist/lib/aliases/dig/README.md +2 -2
  22. package/dist/lib/aliases/dig/dig.aliases.sh +4 -4
  23. package/dist/lib/aliases/disk-usage/README.md +2 -2
  24. package/dist/lib/aliases/disk-usage/du.aliases.sh +2 -2
  25. package/dist/lib/aliases/editor/README.md +2 -2
  26. package/dist/lib/aliases/editor/editor.aliases.sh +4 -4
  27. package/dist/lib/aliases/find/README.md +2 -2
  28. package/dist/lib/aliases/find/find.aliases.sh +4 -4
  29. package/dist/lib/aliases/gcloud/README.md +2 -2
  30. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +4 -4
  31. package/dist/lib/aliases/git/README.md +2 -2
  32. package/dist/lib/aliases/git/git.aliases.sh +3 -3
  33. package/dist/lib/aliases/gnu/README.md +2 -2
  34. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +2 -2
  35. package/dist/lib/aliases/heroku/README.md +2 -2
  36. package/dist/lib/aliases/heroku/heroku.aliases.sh +3 -3
  37. package/dist/lib/aliases/interactive/README.md +2 -2
  38. package/dist/lib/aliases/interactive/interactive.aliases.sh +3 -3
  39. package/dist/lib/aliases/list/README.md +112 -23
  40. package/dist/lib/aliases/list/list.aliases.sh +130 -84
  41. package/dist/lib/aliases/macOS/README.md +2 -2
  42. package/dist/lib/aliases/macOS/macos.aliases.sh +3 -3
  43. package/dist/lib/aliases/make/README.md +2 -2
  44. package/dist/lib/aliases/make/make.aliases.sh +3 -3
  45. package/dist/lib/aliases/mkdir/README.md +2 -2
  46. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +3 -3
  47. package/dist/lib/aliases/npm/README.md +2 -2
  48. package/dist/lib/aliases/npm/npm.aliases.sh +3 -3
  49. package/dist/lib/aliases/permission/README.md +2 -2
  50. package/dist/lib/aliases/permission/permission.aliases.sh +3 -3
  51. package/dist/lib/aliases/pnpm/README.md +2 -2
  52. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
  53. package/dist/lib/aliases/ps/README.md +2 -2
  54. package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
  55. package/dist/lib/aliases/python/python.aliases.sh +141 -0
  56. package/dist/lib/aliases/rsync/README.md +2 -2
  57. package/dist/lib/aliases/rsync/rsync.aliases.sh +3 -3
  58. package/dist/lib/aliases/rust/README.md +165 -44
  59. package/dist/lib/aliases/rust/rust.aliases.sh +109 -117
  60. package/dist/lib/aliases/subversion/README.md +2 -2
  61. package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
  62. package/dist/lib/aliases/sudo/README.md +2 -2
  63. package/dist/lib/aliases/sudo/sudo.aliases.sh +3 -3
  64. package/dist/lib/aliases/tmux/README.md +2 -2
  65. package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
  66. package/dist/lib/aliases/update/README.md +2 -2
  67. package/dist/lib/aliases/update/update.aliases.sh +307 -66
  68. package/dist/lib/aliases/uuid/README.md +2 -2
  69. package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
  70. package/dist/lib/aliases/wget/README.md +2 -2
  71. package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
  72. package/dist/lib/aliases.sh +2 -2
  73. package/dist/lib/configurations/README.md +2 -2
  74. package/dist/lib/configurations/bash/bashrc +163 -35
  75. package/dist/lib/configurations/curl/curlrc +3 -6
  76. package/dist/lib/configurations/default/color.sh +3 -3
  77. package/dist/lib/configurations/default/constants.sh +4 -4
  78. package/dist/lib/configurations/default/editor.sh +3 -3
  79. package/dist/lib/configurations/default/prompt.sh +20 -11
  80. package/dist/lib/configurations/input/inputrc +3 -3
  81. package/dist/lib/configurations/nano/nanorc +3 -3
  82. package/dist/lib/configurations/profile/profile +3 -3
  83. package/dist/lib/configurations/prompt/prompt.sh +81 -0
  84. package/dist/lib/configurations/tmux/default +3 -3
  85. package/dist/lib/configurations/tmux/display +3 -3
  86. package/dist/lib/configurations/tmux/linux +3 -3
  87. package/dist/lib/configurations/tmux/navigation +3 -3
  88. package/dist/lib/configurations/tmux/panes +3 -3
  89. package/dist/lib/configurations/tmux/theme +4 -4
  90. package/dist/lib/configurations/tmux/tmux +3 -3
  91. package/dist/lib/configurations/vim/vimrc +191 -71
  92. package/dist/lib/configurations/wget/wgetrc +3 -3
  93. package/dist/lib/configurations/zsh/zshrc +3 -4
  94. package/dist/lib/configurations.sh +19 -7
  95. package/dist/lib/functions/README.md +68 -54
  96. package/dist/lib/functions/apihealth.sh +277 -0
  97. package/dist/lib/functions/apilatency.sh +157 -0
  98. package/dist/lib/functions/apiload.sh +165 -0
  99. package/dist/lib/functions/backup.sh +143 -0
  100. package/dist/lib/functions/cdls.sh +52 -6
  101. package/dist/lib/functions/curlheader.sh +66 -10
  102. package/dist/lib/functions/curlstatus.sh +64 -7
  103. package/dist/lib/functions/curltime.sh +56 -14
  104. package/dist/lib/functions/encode64.sh +87 -7
  105. package/dist/lib/functions/environment.sh +65 -25
  106. package/dist/lib/functions/extract.sh +79 -27
  107. package/dist/lib/functions/freespace.sh +55 -9
  108. package/dist/lib/functions/genpwd.sh +93 -29
  109. package/dist/lib/functions/goto.sh +59 -8
  110. package/dist/lib/functions/hexdump.sh +96 -0
  111. package/dist/lib/functions/hiddenfiles.sh +77 -0
  112. package/dist/lib/functions/hostinfo.sh +92 -21
  113. package/dist/lib/functions/hstats.sh +69 -5
  114. package/dist/lib/functions/httpdebug.sh +109 -5
  115. package/dist/lib/functions/kebabcase.sh +61 -0
  116. package/dist/lib/functions/keygen.sh +188 -25
  117. package/dist/lib/functions/last.sh +106 -5
  118. package/dist/lib/functions/logout.sh +114 -6
  119. package/dist/lib/functions/lowercase.sh +49 -17
  120. package/dist/lib/functions/matrix.sh +205 -30
  121. package/dist/lib/functions/mount_read_only.sh +3 -3
  122. package/dist/lib/functions/myproc.sh +3 -3
  123. package/dist/lib/functions/prependpath.sh +3 -3
  124. package/dist/lib/functions/ql.sh +3 -3
  125. package/dist/lib/functions/rd.sh +3 -3
  126. package/dist/lib/functions/remove_disk.sh +3 -3
  127. package/dist/lib/functions/ren.sh +68 -8
  128. package/dist/lib/functions/sentencecase.sh +63 -0
  129. package/dist/lib/functions/showhiddenfiles.sh +3 -3
  130. package/dist/lib/functions/size.sh +6 -5
  131. package/dist/lib/functions/snakecase.sh +61 -0
  132. package/dist/lib/functions/stopwatch.sh +3 -3
  133. package/dist/lib/functions/sysinfo.sh +145 -0
  134. package/dist/lib/functions/titlecase.sh +65 -0
  135. package/dist/lib/functions/uppercase.sh +51 -19
  136. package/dist/lib/functions/view-source.sh +3 -3
  137. package/dist/lib/functions/vscode.sh +3 -3
  138. package/dist/lib/functions/whoisport.sh +3 -3
  139. package/dist/lib/functions/zipf.sh +3 -3
  140. package/dist/lib/functions.sh +21 -7
  141. package/dist/lib/history.sh +36 -88
  142. package/dist/lib/paths/README.md +52 -0
  143. package/dist/lib/paths/custom.paths.sh +40 -0
  144. package/dist/lib/paths/default.paths.sh +37 -0
  145. package/dist/lib/paths.sh +27 -14
  146. package/dist/scripts/backup.sh +3 -3
  147. package/dist/scripts/banner.sh +3 -3
  148. package/dist/scripts/build.sh +3 -3
  149. package/dist/scripts/clean.sh +3 -3
  150. package/dist/scripts/compile.sh +3 -3
  151. package/dist/scripts/copy.sh +3 -3
  152. package/dist/scripts/dotfiles.sh +3 -3
  153. package/dist/scripts/download.sh +3 -3
  154. package/dist/scripts/help.sh +3 -3
  155. package/dist/scripts/ssh.sh +3 -3
  156. package/dist/scripts/unpack.sh +3 -3
  157. package/package.json +10 -10
  158. package/dist/lib/aliases/jekyll/README.md +0 -41
  159. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +0 -54
  160. package/dist/lib/functions/filehead.sh +0 -4
  161. package/dist/lib/functions/hidehiddenfiles.sh +0 -14
  162. package/dist/lib/paths/ant/ant.paths.sh +0 -15
  163. package/dist/lib/paths/default/default.paths.sh +0 -19
  164. package/dist/lib/paths/homebrew/homebrew.paths.sh +0 -27
  165. package/dist/lib/paths/java/java.paths.sh +0 -19
  166. package/dist/lib/paths/maven/maven.paths.sh +0 -18
  167. package/dist/lib/paths/node/node.paths.sh +0 -15
  168. package/dist/lib/paths/nvm/nvm.paths.sh +0 -23
  169. package/dist/lib/paths/pnpm/pnpm.paths.sh +0 -15
  170. package/dist/lib/paths/python/python.paths.sh +0 -36
  171. package/dist/lib/paths/ruby/ruby.paths.sh +0 -25
  172. package/dist/lib/paths/tmux/tmux.paths.sh +0 -12
@@ -0,0 +1,141 @@
1
+ #!/usr/bin/env bash
2
+
3
+ ################################################################################
4
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ - Python Development Environment Configuration
5
+ # Made with β™₯ in London, UK by Sebastien Rousseau
6
+ # Copyright (c) 2015-2025. All rights reserved
7
+ # License: MIT
8
+ #
9
+ # Description:
10
+ # Configuration file for Python development environment, including aliases,
11
+ # environment variables, and utility functions for common Python tasks.
12
+ #
13
+ ################################################################################
14
+
15
+ # Environment Variables
16
+ export PYTHONIOENCODING='UTF-8' # Set UTF-8 encoding for Python I/O
17
+ export PYTHONUTF8=1 # Enable UTF-8 mode for Python
18
+ export PYTHONDONTWRITEBYTECODE=1 # Prevent Python from writing .pyc files
19
+ export PYTHONUNBUFFERED=1 # Force Python output to be unbuffered
20
+ export PYENV_VIRTUALENV_DISABLE_PROMPT=1 # Disable virtualenv prompt modification
21
+
22
+ # Frameworks and Applications
23
+ # Add Python 3.12 or the Homebrew Python to PATH
24
+ if command -v /opt/homebrew/bin/python3 >/dev/null; then
25
+ export PATH="/opt/homebrew/bin:${PATH}"
26
+ elif command -v /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 >/dev/null; then
27
+ export PATH="/Library/Frameworks/Python.framework/Versions/3.12/bin:${PATH}"
28
+ fi
29
+
30
+ if command -v 'python3' >/dev/null; then
31
+ # Python Version Management
32
+ python() {
33
+ command python3 "$@"
34
+ }
35
+
36
+ pip() {
37
+ command pip3 "$@"
38
+ }
39
+
40
+ # Basic Python Commands
41
+ alias py='python' # Quick Python access
42
+ alias ipy='ipython' # Interactive Python shell
43
+ alias pyv='python --version' # Show Python version
44
+ alias pydoc='python -m pydoc' # Python documentation
45
+
46
+ # Package Management
47
+ alias pipi='pip install' # Install packages
48
+ alias pipl='pip list' # List installed packages
49
+ alias pipup='pip install --upgrade' # Upgrade packages
50
+ alias pipun='pip uninstall -y' # Uninstall packages
51
+ alias pipf='pip freeze' # Show frozen requirements
52
+ alias pipr='pip install -r' # Install from requirements
53
+ alias pipout='pip freeze > requirements.txt' # Save requirements
54
+
55
+ # Development Tools
56
+ alias pep8='autopep8' # Code formatting
57
+ alias lint='pylint' # Code linting
58
+ alias black='python -m black' # Code formatting with black
59
+ alias mypy='python -m mypy' # Static type checking
60
+ alias ruff='python -m ruff' # Fast Python linter
61
+
62
+ # Testing
63
+ alias pytest='python -m pytest' # Run tests
64
+ alias pytestv='pytest -v' # Verbose test output
65
+ alias pytestc='pytest --cov' # Test coverage
66
+ alias unittest='python -m unittest' # Run unittest
67
+
68
+ # Virtual Environment Management
69
+ alias venv='python -m venv' # Create virtual environment
70
+ alias mkvenv='python -m venv ./venv' # Create venv in current directory
71
+ alias venva='source ./venv/bin/activate' # Activate venv
72
+ alias deact='deactivate' # Deactivate venv
73
+ alias rmvenv='rm -rf ./venv' # Remove venv
74
+
75
+ # Cleanup
76
+ alias rmpyc="find . -type f -name '*.pyc' -delete" # Remove .pyc files
77
+ alias rmpyo="find . -type f -name '*.pyo' -delete" # Remove .pyo files
78
+ alias rmpyall="find . -type f -name '*.py[cod]' -delete && find . -type d -name __pycache__ -delete" # Remove all
79
+
80
+ # Utility Functions
81
+ python_speed() {
82
+ if [ $# -eq 0 ]; then
83
+ echo "Usage: python_speed 'Python code here'"
84
+ return 1
85
+ fi
86
+ python -m timeit -s "$1"
87
+ }
88
+
89
+ python_profile() {
90
+ if [ $# -eq 0 ]; then
91
+ echo "Usage: python_profile script.py"
92
+ return 1
93
+ fi
94
+ python -m cProfile "$1"
95
+ }
96
+
97
+ python_debug() {
98
+ if [ $# -eq 0 ]; then
99
+ echo "Usage: python_debug script.py"
100
+ return 1
101
+ fi
102
+ python -m pdb "$1"
103
+ }
104
+
105
+ python_serve() {
106
+ local port="${1:-8000}"
107
+ python -m http.server "$port"
108
+ }
109
+
110
+ # Project Templates
111
+ python_new_project() {
112
+ if [ $# -eq 0 ]; then
113
+ echo "Usage: python_new_project project_name"
114
+ return 1
115
+ fi
116
+ local project_name="$1"
117
+ mkdir -p "$project_name"/{src,tests,docs}
118
+ touch "$project_name/README.md"
119
+ touch "$project_name/requirements.txt"
120
+ touch "$project_name/setup.py"
121
+ touch "$project_name/src/__init__.py"
122
+ touch "$project_name/tests/__init__.py"
123
+ echo "Created new Python project structure in ./$project_name"
124
+ }
125
+
126
+ # Environment Information
127
+ python_info() {
128
+ echo "Python Version:"
129
+ python --version
130
+ echo -e "\nPip Version:"
131
+ pip --version
132
+ echo -e "\nVirtual Environment:"
133
+ if [ -n "$VIRTUAL_ENV" ]; then
134
+ echo "Active: $VIRTUAL_ENV"
135
+ else
136
+ echo "None active"
137
+ fi
138
+ echo -e "\nInstalled Packages:"
139
+ pip list
140
+ }
141
+ fi
@@ -3,13 +3,13 @@
3
3
  <img
4
4
  src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
5
  alt="dotfiles logo"
6
- width="261"
6
+ width="66"
7
7
  align="right"
8
8
  />
9
9
 
10
10
  <!-- markdownlint-enable MD033 MD041 -->
11
11
 
12
- # Dotfiles (v0.2.468)
12
+ # Dotfiles (v0.2.469)
13
13
 
14
14
  Simply designed to fit your shell life 🐚
15
15
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.468) - <https://dotfiles.io>
4
- # Made with β™₯ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2024. All rights reserved
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
6
  # License: MIT
7
7
 
8
8
  # πŸ†πŸ†‚πŸ†ˆπŸ…½πŸ…² πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
@@ -1,15 +1,13 @@
1
1
  <!-- markdownlint-disable MD033 MD041 MD043 -->
2
-
3
2
  <img
4
3
  src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
4
  alt="dotfiles logo"
6
- width="261"
5
+ width="66"
7
6
  align="right"
8
7
  />
9
-
10
8
  <!-- markdownlint-enable MD033 MD041 -->
11
9
 
12
- # Dotfiles (v0.2.468)
10
+ # Dotfiles (v0.2.469)
13
11
 
14
12
  Simply designed to fit your shell life 🐚
15
13
 
@@ -17,45 +15,168 @@ Simply designed to fit your shell life 🐚
17
15
 
18
16
  ## πŸ†πŸ†„πŸ†‚πŸ†ƒπŸ†„πŸ…Ώ πŸ…°πŸ…½πŸ…³ πŸ…²πŸ…°πŸ†πŸ…ΆπŸ…Ύ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
19
17
 
20
- This code provides a set of aliases for the `rustup` and `cargo`
21
- commands.
22
-
23
- - `cg` Cargo shortcut.
24
- - `cgb` Cargo build.
25
- - `cgbh` Cargo bench.
26
- - `cgbr` Cargo build release.
27
- - `cgc` Cargo check.
28
- - `cgcl` Cargo clean.
29
- - `cgcy` Cargo clippy.
30
- - `cgd` Cargo doc.
31
- - `cgdr` Cargo doc release.
32
- - `cgf` Cargo format.
33
- - `cgi` Cargo install.
34
- - `cginit` Cargo init.
35
- - `cgn` Cargo new.
36
- - `cgp` Cargo publish.
37
- - `cgr` Cargo run.
38
- - `cgrr` Cargo run release.
39
- - `cgs` Cargo search.
40
- - `cgt` Cargo test.
41
- - `cgtr` Cargo test release.
42
- - `cgtt` Cargo tree.
43
- - `cgu` Cargo update.
44
- - `cgun` Cargo uninstall.
45
- - `ru` Rustup update.
46
- - `rca` Rustup component add.
47
- - `rcl` Rustup component list.
48
- - `rcr` Rustup component remove.
49
- - `rde` Rustup default.
50
- - `rnn` Run rustup nightly.
51
- - `rns` Run rustup stable.
52
- - `rtaa` Rustup target add.
53
- - `rtal` Rustup target list.
54
- - `rtar` Rustup target remove.
55
- - `rti` Rustup toolchain install.
56
- - `rtl` Rustup toolchain list.
57
- - `rtu` Rustup toolchain uninstall.
58
- - `ruc` Update rustup nightly.
59
- - `rus` Update rustup stable.
18
+ This code provides a comprehensive set of aliases for Rust development
19
+ using `cargo` and `rustup` commands.
20
+
21
+ ### Cargo Aliases
22
+
23
+ #### Basic Commands
24
+
25
+ - `cg` - Cargo shortcut
26
+ - `cgn` - Create new binary project
27
+ - `cgni` - Create new library project
28
+ - `cginit` - Initialize project in current directory
29
+
30
+ #### Build and Run
31
+
32
+ - `cgb` - Build debug
33
+ - `cgbr` - Build release
34
+ - `cgr` - Run debug
35
+ - `cgrr` - Run release
36
+ - `cgw` - Watch and rebuild
37
+
38
+ #### Testing and Benchmarking
39
+
40
+ - `cgt` - Run tests
41
+ - `cgtr` - Run tests in release mode
42
+ - `cgbh` - Run benchmarks
43
+ - `cgta` - Test all targets
44
+ - `cgtt` - Single threaded tests
45
+
46
+ #### Code Quality
47
+
48
+ - `cgc` - Check compilation
49
+ - `cgcl` - Clean build artifacts
50
+ - `cgcy` - Run clippy lints
51
+ - `cgf` - Format code
52
+ - `cgfa` - Format all code
53
+ - `cgfx` - Auto-fix code issues
54
+ - `cgaud` - Security vulnerabilities check
55
+
56
+ #### Documentation
57
+
58
+ - `cgd` - Build and open documentation
59
+ - `cgdr` - Build release documentation
60
+ - `cgdo` - Document private items
61
+
62
+ #### Dependencies
63
+
64
+ - `cga` - Add dependency
65
+ - `cgad` - Add dev dependency
66
+ - `cgu` - Update dependencies
67
+ - `cgo` - Check outdated dependencies
68
+ - `cgv` - Vendor dependencies
69
+ - `cgtree` - Display dependency tree
70
+
71
+ #### Cross Compilation
72
+
73
+ - `cgx` - Build using Zig
74
+ - `cgxw` - Cross compilation
75
+ - `cgxt` - Target specific platform
76
+
77
+ #### Analysis and Profiling
78
+
79
+ - `cgfl` - Generate flamegraph
80
+ - `cgbl` - Binary size analysis
81
+ - `cgl` - Code coverage
82
+ - `cgm` - Module structure
83
+ - `cgex` - Expand macros
84
+
85
+ #### Package Management
86
+
87
+ - `cgi` - Install binary
88
+ - `cgun` - Uninstall binary
89
+ - `cgp` - Publish to crates.io
90
+ - `cgs` - Search crates.io
91
+ - `cgcp` - Create release package
92
+
93
+ #### Advanced Build
94
+
95
+ - `cgba` - Build all targets
96
+ - `cgbt` - Build with all features
97
+ - `cgbp` - Build with specific profile
98
+
99
+ #### Project Templates
100
+
101
+ - `cgnb` - New binary from template
102
+ - `cgnl` - New library from template
103
+ - `cgnt` - New from custom template
104
+
105
+ ### Rustup Aliases
106
+
107
+ #### Updates and Installation
108
+
109
+ - `ru` - Update all toolchains
110
+ - `rus` - Update stable toolchain
111
+ - `run` - Update nightly toolchain
112
+ - `rti` - Install specific toolchain
113
+
114
+ #### Components Management
115
+
116
+ - `rca` - Add component
117
+ - `rcl` - List components
118
+ - `rcr` - Remove component
119
+
120
+ #### Toolchain Management
121
+
122
+ - `rtl` - List installed toolchains
123
+ - `rtu` - Uninstall toolchain
124
+ - `rde` - Set default toolchain
125
+
126
+ #### Target Management
127
+
128
+ - `rtaa` - Add compilation target
129
+ - `rtal` - List available targets
130
+ - `rtar` - Remove compilation target
131
+
132
+ #### Environment Running
133
+
134
+ - `rns` - Run command with stable
135
+ - `rnn` - Run command with nightly
136
+
137
+ #### Documentation and Help
138
+
139
+ - `rdo` - Open Rust documentation
140
+
141
+ #### Override Management
142
+
143
+ - `rpr` - Set directory toolchain
144
+ - `rpl` - List directory overrides
145
+ - `rpn` - Remove directory override
146
+
147
+ #### Toolchain Information
148
+
149
+ - `rws` - Show active rustc path
150
+ - `rsh` - Show toolchain info
151
+
152
+ ### Common Workflows
153
+
154
+ #### New Project Setup
155
+
156
+ ```bash
157
+ # Create new project with common dependencies
158
+ cgn myproject && cd myproject && cga serde && cgad tokio
159
+ ```
160
+
161
+ #### Release Workflow
162
+
163
+ ```bash
164
+ # Check, test, and build for release
165
+ cgcy && cgt && cgbr && cgaud
166
+ ```
167
+
168
+ #### Documentation Update
169
+
170
+ ```bash
171
+ # Format code and update documentation
172
+ cgfa && cgd && cgdo
173
+ ```
174
+
175
+ #### Cross-compilation Check
176
+
177
+ ```bash
178
+ # Check build for different architecture
179
+ cgxw check --target aarch64-unknown-linux-gnu
180
+ ```
60
181
 
61
182
  [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,127 +1,119 @@
1
1
  #!/usr/bin/env bash
2
-
3
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.468) - <https://dotfiles.io>
4
- # Made with β™₯ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2024. All rights reserved
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.469) - <https://dotfiles.io>
3
+ # Made with β™₯ in London, UK by Sebastien Rousseau
4
+ # Copyright (c) 2015-2025. All rights reserved
6
5
  # License: MIT
7
6
 
8
7
  # πŸ…²πŸ…°πŸ†πŸ…ΆπŸ…Ύ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
9
-
10
8
  if command -v 'cargo' >/dev/null; then
11
- # c: Cargo shortcut.
12
- alias cg='cargo'
13
-
14
- # cgb: Cargo build.
15
- alias cgb='cg build'
16
-
17
- # cgbh: Cargo bench.
18
- alias cgbh='cg bench'
19
-
20
- # cbr: Cargo build release.
21
- alias cgbr='cg build --release'
22
-
23
- # cgc: Cargo check.
24
- alias cgc='cg check'
25
-
26
- # cgcl: Cargo clean.
27
- alias cgcl='cg clean'
28
-
29
- # cgcy: Cargo clippy.
30
- alias cgcy='cg clippy'
31
-
32
- # cgd: Cargo doc.
33
- alias cgd='cg doc --open'
34
-
35
- # cgdr: Cargo doc release.
36
- alias cgdr='cg doc --release'
37
-
38
- # cgf: Cargo format.
39
- alias cgf='cg fmt'
40
-
41
- # cgi: Cargo install.
42
- alias cgi='cg install'
43
-
44
- # cginit: Cargo init.
45
- alias cginit='cg init'
46
-
47
- # cgn: Cargo new.
48
- alias cgn='cg new'
49
-
50
- # cgp: Cargo publish.
51
- alias cgp='cg publish'
52
-
53
- # cgr: Cargo run.
54
- alias cgr='cg run'
55
-
56
- # cgrr: Cargo run release.
57
- alias cgrr='cg run --release'
58
-
59
- # cgs: Cargo search.
60
- alias cgs='cg search'
61
-
62
- # cgt: Cargo test.
63
- alias cgt='cg test'
64
-
65
- # cgtr: Cargo test release.
66
- alias cgtr='cg test --release'
67
-
68
- # cgtt: Cargo tree.
69
- alias cgtt='cg tree'
70
-
71
- # cgu: Cargo update.
72
- alias cgu='cg update'
73
-
74
- # cgun: Cargo uninstall.
75
- alias cgun='cg uninstall'
76
-
9
+ # Basic Commands
10
+ alias cg='cargo' # Cargo shortcut
11
+ alias cgn='cg new' # Create new binary project
12
+ alias cgni='cg new --lib' # Create new library project
13
+ alias cginit='cg init' # Initialize project in current directory
14
+
15
+ # Build and Run
16
+ alias cgb='cg build' # Build debug
17
+ alias cgbr='cg build --release' # Build release
18
+ alias cgr='cg run' # Run debug
19
+ alias cgrr='cg run --release' # Run release
20
+ alias cgw='cg watch' # Watch and rebuild
21
+
22
+ # Testing and Benchmarking
23
+ alias cgt='cg test' # Run tests
24
+ alias cgtr='cg test --release' # Run tests in release mode
25
+ alias cgbh='cg bench' # Run benchmarks
26
+ alias cgta='cg test --all' # Test all targets
27
+ alias cgtt='cg test -- --test-threads=1' # Single threaded tests
28
+
29
+ # Code Quality
30
+ alias cgc='cg check' # Check compilation
31
+ alias cgcl='cg clean' # Clean build artifacts
32
+ alias cgcy='cg clippy' # Run clippy lints
33
+ alias cgf='cg fmt' # Format code
34
+ alias cgfa='cg fmt --all' # Format all code
35
+ alias cgfx='cg fix' # Auto-fix code issues
36
+ alias cgaud='cg audit' # Security vulnerabilities check
37
+
38
+ # Documentation
39
+ alias cgd='cg doc --open' # Build and open documentation
40
+ alias cgdr='cg doc --release' # Build release documentation
41
+ alias cgdo='cg doc --document-private-items' # Document private items
42
+
43
+ # Dependencies
44
+ alias cga='cg add' # Add dependency
45
+ alias cgad='cg add --dev' # Add dev dependency
46
+ alias cgu='cg update' # Update dependencies
47
+ alias cgo='cg outdated' # Check outdated dependencies
48
+ alias cgv='cg vendor' # Vendor dependencies
49
+ alias cgtree='cg tree' # Display dependency tree
50
+
51
+ # Cross Compilation
52
+ alias cgx='cg zigbuild' # Build using Zig
53
+ alias cgxw='cg cross' # Cross compilation
54
+ alias cgxt='cg target' # Target specific platform
55
+
56
+ # Analysis and Profiling
57
+ alias cgfl='cg flamegraph' # Generate flamegraph
58
+ alias cgbl='cg bloat' # Binary size analysis
59
+ alias cgl='cg llvm-cov' # Code coverage
60
+ alias cgm='cg modules' # Module structure
61
+ alias cgex='cg expand' # Expand macros
62
+
63
+ # Package Management
64
+ alias cgi='cg install' # Install binary
65
+ alias cgun='cg uninstall' # Uninstall binary
66
+ alias cgp='cg publish' # Publish to crates.io
67
+ alias cgs='cg search' # Search crates.io
68
+ alias cgcp='cg package' # Create release package
69
+
70
+ # Advanced Build
71
+ alias cgba='cg build --all-targets' # Build all targets
72
+ alias cgbt='cg build --all-features' # Build with all features
73
+ alias cgbp='cg build --release --profile' # Build with specific profile
74
+
75
+ # Project Templates
76
+ alias cgnb='cg generate --bin' # New binary from template
77
+ alias cgnl='cg generate --lib' # New library from template
78
+ alias cgnt='cg generate' # New from custom template
77
79
  fi
78
80
 
79
81
  # πŸ†πŸ†„πŸ†‚πŸ†ƒπŸ†„πŸ…Ώ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
80
82
  if command -v 'rustup' >/dev/null; then
81
-
82
- # Rustup update.
83
- alias ru='rustup update'
84
-
85
- # Rustup component add.
86
- alias rca='rustup component add'
87
-
88
- # Rustup component list.
89
- alias rcl='rustup component list'
90
-
91
- # Rustup component remove.
92
- alias rcr='rustup component remove'
93
-
94
- # Rustup default.
95
- alias rde='rustup default'
96
-
97
- # Run rustup nightly.
98
- alias rnn='rustup run nightly'
99
-
100
- # Run rustup stable.
101
- alias rns='rustup run stable'
102
-
103
- # Rustup target add.
104
- alias rtaa='rustup target add'
105
-
106
- # Rustup target list.
107
- alias rtal='rustup target list'
108
-
109
- # Rustup target remove.
110
- alias rtar='rustup target remove'
111
-
112
- # Rustup toolchain install.
113
- alias rti='rustup toolchain install'
114
-
115
- # Rustup toolchain list.
116
- alias rtl='rustup toolchain list'
117
-
118
- # Rustup toolchain uninstall.
119
- alias rtu='rustup toolchain uninstall'
120
-
121
- # Update rustup nightly.
122
- alias ruc='rustup update nightly'
123
-
124
- # Update rustup stable.
125
- alias rus='rustup update stable'
126
-
83
+ # Updates and Installation
84
+ alias ru='rustup update' # Update all toolchains
85
+ alias rus='rustup update stable' # Update stable toolchain
86
+ alias run='rustup update nightly' # Update nightly toolchain
87
+ alias rti='rustup toolchain install' # Install specific toolchain
88
+
89
+ # Components Management
90
+ alias rca='rustup component add' # Add component
91
+ alias rcl='rustup component list' # List components
92
+ alias rcr='rustup component remove' # Remove component
93
+
94
+ # Toolchain Management
95
+ alias rtl='rustup toolchain list' # List installed toolchains
96
+ alias rtu='rustup toolchain uninstall' # Uninstall toolchain
97
+ alias rde='rustup default' # Set default toolchain
98
+
99
+ # Target Management
100
+ alias rtaa='rustup target add' # Add compilation target
101
+ alias rtal='rustup target list' # List available targets
102
+ alias rtar='rustup target remove' # Remove compilation target
103
+
104
+ # Environment Running
105
+ alias rns='rustup run stable' # Run command with stable
106
+ alias rnn='rustup run nightly' # Run command with nightly
107
+
108
+ # Documentation and Help
109
+ alias rdo='rustup doc --open' # Open Rust documentation
110
+
111
+ # Override Management
112
+ alias rpr='rustup override set' # Set directory toolchain
113
+ alias rpl='rustup override list' # List directory overrides
114
+ alias rpn='rustup override none' # Remove directory override
115
+
116
+ # Toolchain Information
117
+ alias rws='rustup which rustc' # Show active rustc path
118
+ alias rsh='rustup show' # Show toolchain info
127
119
  fi
@@ -3,13 +3,13 @@
3
3
  <img
4
4
  src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
5
  alt="dotfiles logo"
6
- width="261"
6
+ width="66"
7
7
  align="right"
8
8
  />
9
9
 
10
10
  <!-- markdownlint-enable MD033 MD041 -->
11
11
 
12
- # Dotfiles (v0.2.468)
12
+ # Dotfiles (v0.2.469)
13
13
 
14
14
  Simply designed to fit your shell life 🐚
15
15
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.468) - <https://dotfiles.io>
4
- # Made with β™₯ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2024. All rights reserved
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
6
  # License: MIT
7
7
 
8
8
  # πŸ†‚πŸ†„πŸ…±πŸ†…πŸ…΄πŸ†πŸ†‚πŸ…ΈπŸ…ΎπŸ…½ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚