@sebastienrousseau/dotfiles 0.2.464 β†’ 0.2.465

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 (173) hide show
  1. package/README.md +118 -281
  2. package/dist/Makefile +2 -2
  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/bin/constants.js.map +1 -1
  7. package/dist/filesizes.txt +170 -144
  8. package/dist/lib/README.md +6 -1
  9. package/dist/lib/aliases/README.md +47 -0
  10. package/dist/lib/aliases/archives/README.md +39 -67
  11. package/dist/lib/aliases/archives/archives.aliases.sh +128 -60
  12. package/dist/lib/aliases/cd/README.md +26 -9
  13. package/dist/lib/aliases/cd/cd.aliases.sh +1 -4
  14. package/dist/lib/aliases/chmod/README.md +48 -13
  15. package/dist/lib/aliases/chmod/chmod.aliases.sh +1 -1
  16. package/dist/lib/aliases/clear/README.md +33 -38
  17. package/dist/lib/aliases/clear/clear.aliases.sh +35 -33
  18. package/dist/lib/aliases/configuration/README.md +26 -37
  19. package/dist/lib/aliases/configuration/configuration.aliases.sh +40 -36
  20. package/dist/lib/aliases/default/README.md +26 -52
  21. package/dist/lib/aliases/default/default.aliases.sh +105 -44
  22. package/dist/lib/aliases/dig/README.md +23 -40
  23. package/dist/lib/aliases/dig/dig.aliases.sh +26 -29
  24. package/dist/lib/aliases/disk-usage/README.md +32 -0
  25. package/dist/lib/aliases/disk-usage/du.aliases.sh +84 -0
  26. package/dist/lib/aliases/editor/README.md +35 -33
  27. package/dist/lib/aliases/editor/editor.aliases.sh +13 -39
  28. package/dist/lib/aliases/find/README.md +42 -29
  29. package/dist/lib/aliases/find/find.aliases.sh +52 -26
  30. package/dist/lib/aliases/gcloud/README.md +59 -148
  31. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +327 -138
  32. package/dist/lib/aliases/git/README.md +149 -0
  33. package/dist/lib/aliases/git/git.aliases.sh +535 -131
  34. package/dist/lib/aliases/gnu/README.md +85 -0
  35. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +143 -109
  36. package/dist/lib/aliases/heroku/README.md +426 -0
  37. package/dist/lib/aliases/heroku/heroku.aliases.sh +1047 -288
  38. package/dist/lib/aliases/interactive/README.md +43 -0
  39. package/dist/lib/aliases/interactive/interactive.aliases.sh +48 -9
  40. package/dist/lib/aliases/jekyll/README.md +37 -0
  41. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +49 -10
  42. package/dist/lib/aliases/list/README.md +38 -0
  43. package/dist/lib/aliases/list/list.aliases.sh +81 -30
  44. package/dist/lib/aliases/macos/README.md +38 -0
  45. package/dist/lib/aliases/macos/macos.aliases.sh +65 -0
  46. package/dist/lib/aliases/make/README.md +28 -0
  47. package/dist/lib/aliases/make/make.aliases.sh +30 -10
  48. package/dist/lib/aliases/mkdir/README.md +26 -0
  49. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +24 -8
  50. package/dist/lib/aliases/npm/README.md +37 -0
  51. package/dist/lib/aliases/npm/npm.aliases.sh +54 -17
  52. package/dist/lib/aliases/permission/README.md +43 -0
  53. package/dist/lib/aliases/permission/permission.aliases.sh +73 -0
  54. package/dist/lib/aliases/pnpm/README.md +49 -0
  55. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +70 -36
  56. package/dist/lib/aliases/ps/README.md +25 -0
  57. package/dist/lib/aliases/ps/ps.aliases.sh +14 -6
  58. package/dist/lib/aliases/rsync/README.md +21 -0
  59. package/dist/lib/aliases/rsync/rsync.aliases.sh +10 -4
  60. package/dist/lib/aliases/rust/README.md +57 -0
  61. package/dist/lib/aliases/rust/rust.aliases.sh +116 -39
  62. package/dist/lib/aliases/subversion/README.md +62 -0
  63. package/dist/lib/aliases/subversion/subversion.aliases.sh +4 -3
  64. package/dist/lib/aliases/sudo/README.md +23 -0
  65. package/dist/lib/aliases/sudo/sudo.aliases.sh +15 -6
  66. package/dist/lib/aliases/tmux/README.md +27 -0
  67. package/dist/lib/aliases/tmux/tmux.aliases.sh +29 -10
  68. package/dist/lib/aliases/update/README.md +34 -0
  69. package/dist/lib/aliases/update/update.aliases.sh +57 -26
  70. package/dist/lib/aliases/uuid/README.md +20 -0
  71. package/dist/lib/aliases/uuid/uuid.aliases.sh +13 -4
  72. package/dist/lib/aliases/wget/README.md +23 -0
  73. package/dist/lib/aliases/wget/wget.aliases.sh +15 -6
  74. package/dist/lib/aliases.sh +4 -3
  75. package/dist/lib/configurations/README.md +13 -2
  76. package/dist/lib/configurations/bash/bashrc +4 -3
  77. package/dist/lib/configurations/curl/curlrc +2 -2
  78. package/dist/lib/configurations/default/color.sh +3 -2
  79. package/dist/lib/configurations/default/constants.sh +4 -3
  80. package/dist/lib/configurations/default/editor.sh +3 -2
  81. package/dist/lib/configurations/default/prompt.sh +3 -2
  82. package/dist/lib/configurations/input/inputrc +2 -2
  83. package/dist/lib/configurations/nano/nanorc +2 -2
  84. package/dist/lib/configurations/profile/profile +2 -2
  85. package/dist/lib/configurations/tmux/default +2 -2
  86. package/dist/lib/configurations/tmux/display +6 -2
  87. package/dist/lib/configurations/tmux/linux +2 -2
  88. package/dist/lib/configurations/tmux/navigation +2 -2
  89. package/dist/lib/configurations/tmux/panes +2 -2
  90. package/dist/lib/configurations/tmux/theme +3 -3
  91. package/dist/lib/configurations/tmux/tmux +2 -2
  92. package/dist/lib/configurations/tmux/vi +2 -2
  93. package/dist/lib/configurations/vim/vimrc +1 -1
  94. package/dist/lib/configurations/wget/wgetrc +2 -2
  95. package/dist/lib/configurations/zsh/zshrc +2 -2
  96. package/dist/lib/configurations.sh +4 -3
  97. package/dist/lib/functions/README.md +69 -2
  98. package/dist/lib/functions/cdls.sh +3 -2
  99. package/dist/lib/functions/curlheader.sh +3 -2
  100. package/dist/lib/functions/curlstatus.sh +17 -0
  101. package/dist/lib/functions/curltime.sh +4 -3
  102. package/dist/lib/functions/encode64.sh +3 -2
  103. package/dist/lib/functions/environment.sh +3 -2
  104. package/dist/lib/functions/extract.sh +3 -2
  105. package/dist/lib/functions/filehead.sh +1 -1
  106. package/dist/lib/functions/freespace.sh +21 -0
  107. package/dist/lib/functions/genpwd.sh +33 -7
  108. package/dist/lib/functions/goto.sh +3 -2
  109. package/dist/lib/functions/hidehiddenfiles.sh +3 -2
  110. package/dist/lib/functions/hostinfo.sh +3 -2
  111. package/dist/lib/functions/hstats.sh +3 -2
  112. package/dist/lib/functions/httpdebug.sh +3 -2
  113. package/dist/lib/functions/keygen.sh +20 -13
  114. package/dist/lib/functions/last.sh +3 -2
  115. package/dist/lib/functions/logout.sh +3 -2
  116. package/dist/lib/functions/lowercase.sh +3 -2
  117. package/dist/lib/functions/matrix.sh +15 -14
  118. package/dist/lib/functions/mount_read_only.sh +3 -2
  119. package/dist/lib/functions/myproc.sh +4 -3
  120. package/dist/lib/functions/prependpath.sh +3 -2
  121. package/dist/lib/functions/ql.sh +3 -2
  122. package/dist/lib/functions/rd.sh +3 -2
  123. package/dist/lib/functions/remove_disk.sh +3 -2
  124. package/dist/lib/functions/ren.sh +3 -2
  125. package/dist/lib/functions/showhiddenfiles.sh +3 -2
  126. package/dist/lib/functions/size.sh +3 -2
  127. package/dist/lib/functions/stopwatch.sh +4 -3
  128. package/dist/lib/functions/uppercase.sh +3 -2
  129. package/dist/lib/functions/view-source.sh +3 -2
  130. package/dist/lib/functions/vscode.sh +3 -2
  131. package/dist/lib/functions/whoisport.sh +3 -2
  132. package/dist/lib/functions/zipf.sh +3 -2
  133. package/dist/lib/functions.sh +4 -3
  134. package/dist/lib/history.sh +4 -4
  135. package/dist/lib/paths/ant/ant.paths.sh +3 -2
  136. package/dist/lib/paths/default/default.paths.sh +3 -2
  137. package/dist/lib/paths/homebrew/homebrew.paths.sh +3 -2
  138. package/dist/lib/paths/java/java.paths.sh +3 -2
  139. package/dist/lib/paths/maven/maven.paths.sh +3 -2
  140. package/dist/lib/paths/node/node.paths.sh +3 -2
  141. package/dist/lib/paths/nvm/nvm.paths.sh +3 -2
  142. package/dist/lib/paths/pnpm/pnpm.paths.sh +3 -2
  143. package/dist/lib/paths/python/python.paths.sh +3 -2
  144. package/dist/lib/paths/ruby/ruby.paths.sh +3 -2
  145. package/dist/lib/paths/tmux/tmux.paths.sh +3 -2
  146. package/dist/lib/paths.sh +4 -3
  147. package/dist/scripts/backup.sh +3 -2
  148. package/dist/scripts/banner.sh +3 -2
  149. package/dist/scripts/build.sh +3 -2
  150. package/dist/scripts/clean.sh +3 -2
  151. package/dist/scripts/compile.sh +3 -2
  152. package/dist/scripts/copy.sh +3 -2
  153. package/dist/scripts/dotfiles.sh +3 -2
  154. package/dist/scripts/download.sh +3 -2
  155. package/dist/scripts/help.sh +3 -2
  156. package/dist/scripts/ssh.sh +3 -2
  157. package/dist/scripts/unpack.sh +3 -2
  158. package/package.json +7 -7
  159. package/dist/lib/aliases/du/README.md +0 -35
  160. package/dist/lib/aliases/du/du.aliases.sh +0 -37
  161. package/dist/lib/functions/changediskpwd.tmp +0 -19
  162. package/dist/lib/functions/code.tmp +0 -18
  163. package/dist/lib/functions/countdown.tmp +0 -34
  164. package/dist/lib/functions/headers.tmp +0 -4
  165. package/dist/lib/functions/history-all.tmp +0 -8
  166. package/dist/lib/functions/macos.sh +0 -47
  167. package/dist/lib/functions/mcd.tmp +0 -19
  168. package/dist/lib/functions/print.tmp +0 -14
  169. package/dist/lib/functions/rm.tmp +0 -14
  170. package/dist/lib/functions/rps.tmp +0 -104
  171. package/dist/lib/functions/trash.tmp +0 -14
  172. package/dist/lib/functions/tree.tmp +0 -14
  173. package/dist/lib/functions/uuidgen.tmp +0 -28
@@ -1,148 +1,59 @@
1
- # Google Cloud Aliases
2
-
3
- These aliases provide shortcuts for common Google Cloud commands. To use them, add the following lines to your `.bashrc` or `.bash_profile` file.
4
-
5
- ## Aliases
6
-
7
- ### Authenticate and authorize
8
-
9
- - `gcaasa`: Like gcloud auth login but with service account credentials.
10
- - `gcacd`: Configure Docker to use gcloud as a credential helper.
11
- - `gcal`: List the accounts you are logged in with.
12
- - `gcapat`: Print the access token for the current active account.
13
- - `gcar`: Revoke credentials for the current active account.
14
-
15
- ### App Engine
16
-
17
- - `gcapb`: Open the App Engine app in your default browser.
18
- - `gcapc`: Create a new App Engine app.
19
- - `gcapd`: Deploy an App Engine app.
20
- - `gcapl`: Read the logs for an App Engine app.
21
- - `gcapv`: List the versions of an App Engine app.
22
-
23
- ### Cloud SDK configuration and management
24
-
25
- - `gccca`: Switch to an existing named configuration.
26
- - `gcccc`: Create a new named configuration.
27
- - `gcccl`: Display a list of all available configurations.
28
- - `gccl`:Display all the properties for the current configuration.
29
- - `gccgv`: Fetch value of a Cloud SDK property.
30
- - `gccs`: Define a property (like compute/zone) for the current configuration.
31
- - `gccsp`: Set a default Google Cloud project to work on.
32
- - `gccu`: Update your Cloud SDK to the latest version.
33
- - `gci`: Initialize, authorize, and configure the gcloud tool.
34
- - `gcinf`: Display current gcloud tool environment details.
35
- - `gciov`: Verify your email address for Google Cloud.
36
-
37
- ### Container
38
-
39
- - `gcccc`: Create a cluster to run GKE containers.
40
- - `gcccg`: Update kubeconfig to get kubectl to use a GKE cluster.
41
- - `gcccl`: List clusters for running GKE containers.
42
- - `gccil`: List tag and digest metadata for a container image.
43
- - `gcd`: A convenience command group for all container-related commands.
44
-
45
- ### IAM
46
-
47
- - `gciamk`: List a service account's keys.
48
- - `gciaml`: List IAM grantable roles for a resource.
49
- - `gciamp`: Add an IAM policy binding to a service account.
50
- - `gciamr`: Create a custom role for a project or org
51
- - `gciamd`: Delete a custom role for a project or org.
52
- - `gciampd`: Remove an IAM policy binding from a service account.
53
- - `gciamro`: Describe a custom role for a project or org.
54
- - `gciamsp`: Replace the IAM policy of a service account.
55
- - `gciamu`: Undelete a custom role for a project or org.
56
- - `gciamup`: Update a service account.
57
- - `gcimp`: List available Cloud Identity domains.
58
- - `gcimpe`: Add an IAM policy binding to a Cloud Identity domain.
59
- - `gcimpr`: Remove an IAM policy binding from a Cloud Identity domain.
60
- - `gcsac`: Obtain an access token for the Google Cloud APIs.
61
-
62
- ### Compute
63
-
64
- - `gcc`: A convenience command group for all compute-related commands.
65
- - `gcpa`: Add an IAM policy binding to a specified project.
66
- - `gcpc`: Copy files.
67
- - `gcpd`: Display metadata for a project (including its ID).
68
- - `gcpdown`: Stop instance.
69
- - `gcpds`: Create snapshot of persistent disks.
70
- - `gcpid`: Display a VM instance's details.
71
- - `gcpil`: List all VM instances in a project.
72
- - `gcprm`: Delete instance.
73
- - `gcpsk`: Delete a snapshot.
74
- - `gcpssh`: Connect to a VM instance by using SSH.
75
- - `gcpup`: Start instance.
76
- - `gcpzl`:List Compute Engine zones.
77
-
78
- ### Deployment Manager
79
-
80
- - `gcdm`: A convenience command group for all deployment-manager-related commands.
81
- - `gcdma`: Create a new deployment.
82
- - `gcdmd`: Delete a deployment.
83
- - `gcdmg`: Describe a deployment.
84
- - `gcdml`: List all deployments.
85
- - `gcdmu`: Update a deployment.
86
-
87
- ### DNS
88
-
89
- - `gcdns`: A convenience command group for all dns-related commands.
90
- - `gcdnsz`: List managed DNS zones.
91
- - `gcdnsc`: List or apply DNS record sets changes.
92
- - `gcdnsd`: Delete a managed DNS zone.
93
- - `gcdnsi`: Create a new managed DNS zone.
94
- - `gcdnsk`: List and manage DNSSEC keys for a zone.
95
- - `gcdnsl`: List record sets in a managed zone.
96
- - `gcdnsr`: Start a transaction to add, update, or remove record sets.
97
- - `gcdnss`: Execute a transaction to add, update, or remove record sets.
98
- - `gcdnst`: Abort a transaction to add, update, or remove record sets.
99
-
100
- ### Functions
101
-
102
- - `gcf`: A convenience command group for all functions-related commands.
103
-
104
- ### Cloud Build
105
-
106
- - `gcb`: A convenience command group for all Cloud Build-related commands.
107
- - `gcbh`: List all builds in a project.
108
- - `gcbb`: Submit a build to Cloud Build.
109
-
110
- ### Cloud Run
111
-
112
- - `gcr`: A convenience command group for all Cloud Run-related commands.
113
- - `gcrd`: Deploy a container to Cloud Run.
114
- - `gcrs`: List, describe, and manage services on Cloud Run.
115
- - `gcru`: Update an existing Cloud Run service.
116
- - `gcrf`: Display logs for a Cloud Run service.
117
-
118
- ### Cloud Storage
119
-
120
- - `gcs`: A convenience command group for all Cloud Storage-related commands.
121
- - `gcsc`: Copy files and objects to/from Cloud Storage.
122
- - `gcscp`: Copy files and objects to/from Cloud Storage using parallel processing.
123
- - `gcsd`: Display the total size of a bucket or object.
124
- - `gcsl`:List contents of a bucket or folder.
125
- - `gcspm`: Set metadata for objects in Cloud Storage.
126
-
127
- ### BigQuery
128
-
129
- - `gcbq`: A convenience command group for all BigQuery-related commands.
130
- - `gcbql`: List all datasets in a project.
131
- - `gcbqs`: Show details about a specific dataset or table.
132
- - `gcbqd`: Delete a dataset or table.
133
- - `gcbqc`: Run a BigQuery SQL query.
134
-
135
- ### Cloud SQL
136
-
137
- - `gcsql`: A convenience command group for all Cloud SQL-related commands.
138
- - `gcsqlc`: Connect to a Cloud SQL instance.
139
- - `gcsqlc`: Create a new Cloud SQL instance.
140
- - `gcsqlr`: Describe a Cloud SQL instance.
141
- - `gcsqlu`: Update the password for a Cloud SQL user.
142
-
143
- ### Pub/Sub
144
-
145
- - `gcps`: A convenience command group for all Pub/Sub-related commands.
146
- - `gcpsp`: List, create, and manage Pub/Sub topics.
147
- - `gcpss`: List, create, and manage Pub/Sub subscriptions.
148
- - `gcpsp`: Publish a message to a Pub/Sub topic.
1
+ <!-- markdownlint-disable MD033 MD041 -->
2
+
3
+ <img src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
4
+ alt="dotfiles logo" width="261" align="right" />
5
+
6
+ <!-- markdownlint-enable MD033 MD041 -->
7
+
8
+ # Dotfiles (v0.2.465)
9
+
10
+ Simply designed to fit your shell life 🐚
11
+
12
+ ![Dotfiles banner][banner]
13
+
14
+ ## πŸ…ΆπŸ…ΎπŸ…ΎπŸ…ΆπŸ…»πŸ…΄ πŸ…²πŸ…»πŸ…ΎπŸ†„πŸ…³ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
15
+
16
+ This code provides a set of command aliases for managing various Google
17
+ Cloud services, such as Compute Engine, Identity and Access Management,
18
+ and Cloud SQL. These aliases help streamline the process of managing
19
+ Google Cloud resources by providing simple and memorable commands for
20
+ common use cases.
21
+
22
+ - `gca` authenticates with Google Cloud.
23
+ - `gcb` accesses beta commands.
24
+ - `gcb` manages Google Cloud Build.
25
+ - `gcca` manages Compute Engine IP addresses.
26
+ - `gccc` creates a new virtual machine instance.
27
+ - `gcco` connects to a virtual machine instance by using SSH.
28
+ - `gcd` sets the default project to the current directory name.
29
+ - `gcdb` manages Google Cloud Datastore.
30
+ - `gcdp` manages Google Cloud Dataproc.
31
+ - `gce` manages Google Cloud Endpoints.
32
+ - `gcem` manages Google Cloud Eventarc.
33
+ - `gcf` manages Google Cloud Functions.
34
+ - `gci` manages Google Cloud Compute Engine instances.
35
+ - `gcic` manages Google Cloud Identity and Access Management.
36
+ - `gcir` manages Google Cloud IoT Core.
37
+ - `gck` lists all configurations.
38
+ - `gcki` manages Google Cloud KMS.
39
+ - `gcla` manages Google Cloud Logging.
40
+ - `gcma` manages Google Cloud Monitoring.
41
+ - `gcn` manages Google Cloud Networks.
42
+ - `gcp` manages Google Cloud projects.
43
+ - `gcpd` deletes a Google Cloud project.
44
+ - `gcpha` displays details for a Compute Engine IP address.
45
+ - `gcps` manages Google Cloud Pub/Sub.
46
+ - `gcr` deletes a container image from Google Container Registry.
47
+ - `gcrm` manages Google Cloud resources.
48
+ - `gcro` manages Google Cloud Run.
49
+ - `gcs` manages Google Cloud Kubernetes Engine clusters.
50
+ - `gcsa` sets the account for the current configuration.
51
+ - `gcsc` manages Google Cloud Source Repositories.
52
+ - `gcso` opens the Google Cloud Console for the current project.
53
+ - `gcsq` manages Google Cloud SQL.
54
+ - `gcss` manages Google Cloud Storage.
55
+ - `gcst` enables or disables Google Cloud services.
56
+ - `gct` manages Google Cloud Tasks.
57
+ - `gcu` manages Google Cloud App Engine.
58
+
59
+ [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg