@sebastienrousseau/dotfiles 0.2.462 β†’ 0.2.463

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 (142) hide show
  1. package/README.md +5 -5
  2. package/dist/Makefile +2 -2
  3. package/dist/bin/constants.d.ts +2 -2
  4. package/dist/bin/constants.js +1 -1
  5. package/dist/filesizes.txt +114 -92
  6. package/dist/lib/aliases/archives/README.md +84 -0
  7. package/dist/lib/aliases/archives/archives.aliases.sh +63 -19
  8. package/dist/lib/aliases/cd/README.md +46 -0
  9. package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
  10. package/dist/lib/aliases/chmod/README.md +70 -0
  11. package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
  12. package/dist/lib/aliases/clear/README.md +38 -0
  13. package/dist/lib/aliases/clear/clear.aliases.sh +36 -19
  14. package/dist/lib/aliases/configuration/README.md +46 -0
  15. package/dist/lib/aliases/configuration/configuration.aliases.sh +39 -8
  16. package/dist/lib/aliases/default/README.md +62 -0
  17. package/dist/lib/aliases/default/default.aliases.sh +59 -35
  18. package/dist/lib/aliases/dig/README.md +50 -0
  19. package/dist/lib/aliases/dig/dig.aliases.sh +37 -10
  20. package/dist/lib/aliases/du/README.md +35 -0
  21. package/dist/lib/aliases/du/du.aliases.sh +37 -0
  22. package/dist/lib/aliases/editor/README.md +47 -0
  23. package/dist/lib/aliases/editor/editor.aliases.sh +36 -3
  24. package/dist/lib/aliases/find/README.md +29 -0
  25. package/dist/lib/aliases/find/find.aliases.sh +29 -19
  26. package/dist/lib/aliases/gcloud/README.md +148 -0
  27. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +142 -120
  28. package/dist/lib/aliases/git/git.aliases.sh +128 -522
  29. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
  30. package/dist/lib/aliases/heroku/heroku.aliases.sh +288 -1028
  31. package/dist/lib/aliases/interactive/interactive.aliases.sh +2 -2
  32. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +9 -47
  33. package/dist/lib/aliases/list/list.aliases.sh +30 -28
  34. package/dist/lib/aliases/make/make.aliases.sh +2 -2
  35. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
  36. package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
  37. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
  38. package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
  39. package/dist/lib/aliases/rsync/rsync.aliases.sh +6 -4
  40. package/dist/lib/aliases/rust/rust.aliases.sh +4 -4
  41. package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
  42. package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
  43. package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
  44. package/dist/lib/aliases/update/update.aliases.sh +7 -7
  45. package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
  46. package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
  47. package/dist/lib/aliases.sh +6 -3
  48. package/dist/lib/configurations/bash/bashrc +4 -3
  49. package/dist/lib/configurations/curl/curlrc +2 -2
  50. package/dist/lib/configurations/default/color.sh +2 -2
  51. package/dist/lib/configurations/default/constants.sh +3 -3
  52. package/dist/lib/configurations/default/editor.sh +2 -2
  53. package/dist/lib/configurations/default/prompt.sh +2 -2
  54. package/dist/lib/configurations/input/inputrc +2 -2
  55. package/dist/lib/configurations/nano/nanorc +2 -2
  56. package/dist/lib/configurations/profile/profile +2 -2
  57. package/dist/lib/configurations/tmux/default +2 -2
  58. package/dist/lib/configurations/tmux/display +2 -2
  59. package/dist/lib/configurations/tmux/linux +2 -2
  60. package/dist/lib/configurations/tmux/navigation +2 -2
  61. package/dist/lib/configurations/tmux/panes +2 -2
  62. package/dist/lib/configurations/tmux/theme +3 -3
  63. package/dist/lib/configurations/tmux/tmux +2 -2
  64. package/dist/lib/configurations/tmux/vi +5 -2
  65. package/dist/lib/configurations/vim/vimrc +1 -1
  66. package/dist/lib/configurations/wget/wgetrc +2 -2
  67. package/dist/lib/configurations/zsh/zshrc +4 -3
  68. package/dist/lib/configurations.sh +6 -3
  69. package/dist/lib/functions/cdls.sh +2 -2
  70. package/dist/lib/functions/changediskpwd.tmp +3 -3
  71. package/dist/lib/functions/code.tmp +3 -3
  72. package/dist/lib/functions/countdown.tmp +2 -2
  73. package/dist/lib/functions/curlheader.sh +2 -2
  74. package/dist/lib/functions/curltime.sh +3 -3
  75. package/dist/lib/functions/encode64.sh +2 -2
  76. package/dist/lib/functions/environment.sh +2 -2
  77. package/dist/lib/functions/extract.sh +2 -2
  78. package/dist/lib/functions/genpwd.sh +2 -2
  79. package/dist/lib/functions/goto.sh +2 -2
  80. package/dist/lib/functions/hidehiddenfiles.sh +2 -2
  81. package/dist/lib/functions/history-all.tmp +2 -2
  82. package/dist/lib/functions/hostinfo.sh +2 -2
  83. package/dist/lib/functions/hstats.sh +2 -2
  84. package/dist/lib/functions/httpdebug.sh +2 -2
  85. package/dist/lib/functions/keygen.sh +2 -2
  86. package/dist/lib/functions/last.sh +2 -2
  87. package/dist/lib/functions/logout.sh +2 -2
  88. package/dist/lib/functions/lowercase.sh +2 -2
  89. package/dist/lib/functions/macos.sh +2 -2
  90. package/dist/lib/functions/matrix.sh +5 -5
  91. package/dist/lib/functions/mcd.tmp +2 -2
  92. package/dist/lib/functions/mount_read_only.sh +2 -2
  93. package/dist/lib/functions/myproc.sh +2 -2
  94. package/dist/lib/functions/prependpath.sh +2 -2
  95. package/dist/lib/functions/print.tmp +2 -2
  96. package/dist/lib/functions/ql.sh +2 -2
  97. package/dist/lib/functions/rd.sh +2 -2
  98. package/dist/lib/functions/remove_disk.sh +2 -2
  99. package/dist/lib/functions/ren.sh +2 -2
  100. package/dist/lib/functions/rm.tmp +2 -2
  101. package/dist/lib/functions/rps.tmp +2 -2
  102. package/dist/lib/functions/showhiddenfiles.sh +2 -2
  103. package/dist/lib/functions/size.sh +2 -2
  104. package/dist/lib/functions/stopwatch.sh +2 -2
  105. package/dist/lib/functions/trash.tmp +2 -2
  106. package/dist/lib/functions/tree.tmp +2 -2
  107. package/dist/lib/functions/uppercase.sh +2 -2
  108. package/dist/lib/functions/uuidgen.tmp +1 -1
  109. package/dist/lib/functions/view-source.sh +2 -2
  110. package/dist/lib/functions/vscode.sh +2 -2
  111. package/dist/lib/functions/whoisport.sh +2 -2
  112. package/dist/lib/functions/zipf.sh +2 -2
  113. package/dist/lib/functions.sh +6 -3
  114. package/dist/lib/history.sh +24 -21
  115. package/dist/lib/paths/ant/ant.paths.sh +4 -4
  116. package/dist/lib/paths/default/default.paths.sh +2 -2
  117. package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
  118. package/dist/lib/paths/java/java.paths.sh +5 -4
  119. package/dist/lib/paths/maven/maven.paths.sh +6 -5
  120. package/dist/lib/paths/node/node.paths.sh +2 -2
  121. package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
  122. package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
  123. package/dist/lib/paths/python/python.paths.sh +21 -16
  124. package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
  125. package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
  126. package/dist/lib/paths.sh +6 -3
  127. package/dist/scripts/backup.sh +2 -2
  128. package/dist/scripts/banner.sh +2 -2
  129. package/dist/scripts/build.sh +2 -2
  130. package/dist/scripts/clean.sh +2 -2
  131. package/dist/scripts/compile.sh +2 -2
  132. package/dist/scripts/copy.sh +2 -2
  133. package/dist/scripts/dotfiles.sh +2 -2
  134. package/dist/scripts/download.sh +2 -2
  135. package/dist/scripts/help.sh +2 -2
  136. package/dist/scripts/ssh.sh +2 -2
  137. package/dist/scripts/unpack.sh +2 -2
  138. package/package.json +7 -7
  139. package/dist/lib/aliases/diskusage/diskusage.aliases.sh +0 -16
  140. package/dist/lib/aliases/gnu/gnucoreutls-aliases.sh +0 -111
  141. package/dist/lib/aliases/navigation/navigation.aliases.sh +0 -23
  142. package/dist/lib/aliases/permission/permission.aliases.sh +0 -28
@@ -1,42 +1,86 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets aliases for archives.
5
5
  # License: MIT
6
+ # Script: archives.aliases.sh
7
+ # Version: 0.2.463
8
+ # Website: https://dotfiles.io
6
9
 
7
10
  # πŸ…°πŸ†πŸ…²πŸ…·πŸ…ΈπŸ†…πŸ…΄πŸ†‚ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- if command -v 7z &>/dev/null; then
11
+ if command -v '7z' >/dev/null; then
9
12
  alias c7z='7z a' # c7z: Compress a whole directory (including subdirectories) to a 7z file.
10
13
  alias e7z='7z x' # e7z: Extract a whole directory (including subdirectories) from a 7z file.
14
+ alias l7z='7z l' # l7z: List contents of a 7z archive.
15
+ alias t7z='7z t' # t7z: Test integrity of a 7z archive.
16
+ alias x7z='7z x' # x7z: Extract files with full paths from a 7z archive.
11
17
  fi
12
18
 
13
- if command -v tar &>/dev/null; then
19
+ if command -v 'bzip2' >/dev/null; then
14
20
  alias cbz2='tar -cvjf' # cbz2: Compress a file to a bz2 file.
15
- alias ctar='tar -cvf' # ctar: Compress a whole directory (including subdirectories) to a tar file.
16
- alias etar='tar -xvf' # etar: Extract a whole directory (including subdirectories) from a tar file.
17
- alias cgz='tar -zcvf' # cgz: Compress a file to a gz file.
18
- alias cxz='tar -cvJf' # cxz: Compress a whole directory (including subdirectories) to a xz file.
19
21
  alias ebz2='tar -xvjf' # ebz2: Extract a file from a bz2 file.
20
- alias egz='tar -xvzf' # egz: Extract a file from a gz file.
21
- alias exz='tar -xvJf' # exz: Extract a whole directory (including subdirectories) from a xz file.
22
22
  fi
23
23
 
24
- if command -v jar &>/dev/null; then
24
+ if command -v 'gzip' >/dev/null; then
25
+ alias cgz='tar -zcvf' # cgz: Compress a file to a gz file.
26
+ alias egz='tar -xvzf' # egz: Extract a file from a gz file.
27
+ fi
28
+
29
+ if command -v 'jar' >/dev/null; then
25
30
  alias cjar='jar -cvf' # cjar: Compress a whole directory (including subdirectories) to a jar file.
26
31
  alias ejar='jar -xvf' # ejar: Extract a whole directory (including subdirectories) from a jar file.
27
32
  fi
28
33
 
29
- if command -v xz &>/dev/null; then
34
+ if command -v 'lzma' >/dev/null; then
35
+ alias clzma='xz -zcvf' # clzma: Compress a file to a lzma file.
36
+ alias elzma='xz -zxvf' # elzma: Extract a file from a lzma file.
37
+ fi
38
+
39
+ if command -v 'rar' >/dev/null; then
40
+ alias crar='rar a' # crar: Compress a file to a rar file.
41
+ alias erar='rar x' # erar: Extract a file from a rar file.
42
+ fi
43
+
44
+ if command -v 'tar' >/dev/null; then
45
+ alias ctar='tar -cvf' # ctar: Compress a whole directory (including subdirectories) to a tar file.
46
+ alias etar='tar -xvf' # etar: Extract a whole directory (including subdirectories) from a tar file.
47
+ alias t7z='tar -cvf' # t7z: Compress a whole directory (including subdirectories) to a 7z file.
48
+ alias tbz='tar -cvjf' # tbz: Compress a whole directory (including subdirectories) to a bzip2 file.
49
+ alias tgz='tar -cvzf' # tgz: Compress a whole directory (including subdirectories) to a tar.gz file.
50
+ alias txz='tar -cJf' # txz: Compress a whole directory (including subdirectories) to a xz file.
51
+ alias txzstd='tar -c --zstd -f' # txzstd: Compress a whole directory (including subdirectories) to a zstd file.
52
+ alias tz='tar -cvzf' # tz: Compress a whole directory (including subdirectories) to a gzip file.
53
+ alias unzip='tar -xvzf' # unzip: Extract a whole directory (including subdirectories) from a zip file.
54
+ alias x7z='tar -xvf' # x7z: Extract a whole directory (including subdirectories) from a 7z file.
55
+ alias xbz='tar -xvjf' # xbz: Extract a whole directory (including subdirectories) from a bzip2 file.
56
+ alias xgz='tar -xvzf' # xgz: Extract a whole directory (including subdirectories) from a tar.gz file.
57
+ alias xxz='tar -xvJf' # xxz: Extract a whole directory (including subdirectories) from a xz file.
58
+ alias xxzstd='tar -x --zstd -f' # xxzstd: Extract a whole directory (including subdirectories) from a zstd file.
59
+ alias xz='tar -xvzf' # xz: Extract a whole directory (including subdirectories) from a gzip file.
60
+ alias zip='tar -cvzf' # zip: Compress a whole directory (including subdirectories) to a zip file.
61
+ fi
62
+
63
+ if command -v 'xz' >/dev/null; then
30
64
  alias cxz='xz -zcvf' # cxz: Compress a whole directory (including subdirectories) to a xz file.
31
65
  alias exz='xz -zxvf' # exz: Extract a whole directory (including subdirectories) from a xz file.
66
+ alias tlz='tar -cJf' # tlz: Compress a whole directory (including subdirectories) to a lz file.
67
+ alias xlz='tar -xvf' # xlz: Extract a whole directory (including subdirectories) from a lz file.
32
68
  fi
33
69
 
34
- if command -v zip &>/dev/null; then
35
- alias cz='zip -r' # czip: Compress a whole directory (including subdirectories) to a zip file.
36
- alias ez='unzip' # ezip: Extract a whole directory (including subdirectories) from a zip file.
70
+ if command -v 'zip' >/dev/null; then
71
+ alias cz='zip -r' # cz: Compress a whole directory (including subdirectories) to a zip file.
72
+ alias ez='unzip' # ez: Extract a whole directory (including subdirectories) from a zip file.
73
+ alias tbz='tar -cvjf' # tbz: Compress a whole directory (including subdirectories) to a bzip2 file.
74
+ alias txz='tar -cJf' # txz: Compress a whole directory (including subdirectories) to a xz file.
75
+ alias tz='tar -cvzf' # tz: Compress a whole directory (including subdirectories) to a gzip file.
76
+ alias xbz='tar -xvjf' # xbz: Extract a whole directory (including subdirectories) from a bzip2 file.
77
+ alias xxz='tar -xvJf' # xxz: Extract a whole directory (including subdirectories) from a xz file.
78
+ alias xz='tar -xvzf' # xz: Extract a whole directory (including subdirectories) from a gzip file.
37
79
  fi
38
80
 
39
- if command -v zstd &>/dev/null; then
40
- alias czstd='zstd -zcvf' # czstd: Compress a whole directory (including subdirectories) to a zstd file.
41
- alias ezstd='zstd -zxvf' # ezstd: Extract a whole directory (including subdirectories) from a zstd file.
81
+ if command -v 'zstd' >/dev/null; then
82
+ alias czstd='zstd -zcvf' # czstd: Compress a whole directory (including subdirectories) to a zstd file.
83
+ alias ezstd='zstd -zxvf' # ezstd: Extract a whole directory (including subdirectories) from a zstd file.
84
+ alias tzstd='tar -I zstd -cvf' # tzstd: Compress a whole directory (including subdirectories) to a tar.zst file.
85
+ alias xzstd='tar -I zstd -xvf' # xzstd: Extract a whole directory (including subdirectories) from a tar.zst file.
42
86
  fi
@@ -0,0 +1,46 @@
1
+ # CD Aliases
2
+
3
+ These aliases provide shortcuts for the cd command to help you quickly
4
+ navigate your file system. To use them, add the following lines to your
5
+ .bashrc or .bash_profile file.
6
+
7
+ ## Aliases
8
+
9
+ ### Navigation
10
+
11
+ - `/`: Go to root directory.
12
+ - `-`: Go to previous directory.
13
+ - `.., ..., ...., .....`: Go up one, two, three, or four directories, respectively.
14
+ - `~`: Go to home directory.
15
+
16
+ ### Directories
17
+
18
+ - `app`: Go to the Applications directory and list its contents.
19
+ - `cod`: Go to the Code directory and list its contents.
20
+ - `des`: Go to the Desktop directory and list its contents.
21
+ - `doc`: Go to the Documents directory and list its contents.
22
+ - `dot`: Go to the .dotfiles directory and list its contents.
23
+ - `dow`: Go to the Downloads directory and list its contents.
24
+ - `hom`: Go to the home directory and list its contents.
25
+ - `mus`: Go to the Music directory and list its contents.
26
+ - `pic`: Go to the Pictures directory and list its contents.
27
+ - `vid`: Go to the Videos directory and list its contents.
28
+
29
+ ### System Directories
30
+
31
+ - `etc`: Go to the etc directory and list its contents.
32
+ - `var`: Go to the var directory and list its contents.
33
+ - `tmp`: Go to the tmp directory and list its contents.
34
+
35
+ ### Frequently used directories
36
+
37
+ - `app`: Shortcut to go to the Applications directory and list its contents.
38
+ - `cod`: Shortcut to go to the Code directory and list its contents.
39
+ - `des`: Shortcut to go to the Desktop directory and list its contents.
40
+ - `doc`: Shortcut to go to the Documents directory and list its contents.
41
+ - `dot`: Shortcut to go to the .dotfiles directory and list its contents.
42
+ - `dow`: Shortcut to go to the Downloads directory and list its contents.
43
+ - `hom`: Shortcut to go to the home directory and list its contents.
44
+ - `mus`: Shortcut to go to the Music directory and list its contents.
45
+ - `pic`: Shortcut to go to the Pictures directory and list its contents.
46
+ - `vid`: Shortcut to go to the Videos directory and list its contents.
@@ -0,0 +1,42 @@
1
+ #!/usr/bin/env bash
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets aliases for the `cd` command.
5
+ # License: MIT
6
+ # Script: cd.aliases.sh
7
+ # Version: 0.2.463
8
+ # Website: https://dotfiles.io
9
+
10
+ # πŸ…²πŸ…³ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
11
+
12
+ # Shortcut to go to root directory
13
+ alias /='cd /'
14
+
15
+ # Shortcut to go to previous directory
16
+ alias -- -='cd -'
17
+
18
+ # Shortcuts to go to parent directories
19
+ alias .....='cd ../../../../'
20
+ alias ....='cd ../../'
21
+ alias ...='cd ../'
22
+ alias ..='cd ..'
23
+
24
+ # Shortcuts to go to specific directories
25
+ alias '~'='cd ~'
26
+
27
+ # Shortcuts to go to frequently used directories
28
+ alias app='cd "${HOME}/Applications"; ls' # app: Shortcut to go to the Applications directory and list its contents.
29
+ alias cod='cd "${HOME}/Code"; ls' # cod: Shortcut to go to the Code directory and list its contents.
30
+ alias des='cd "${HOME}/Desktop"; ls' # des: Shortcut to go to the Desktop directory and list its contents.
31
+ alias doc='cd "${HOME}/Documents"; ls' # doc: Shortcut to go to the Documents directory and list its contents.
32
+ alias dot='cd "${HOME}/.dotfiles"; ls' # dot: Shortcut to go to the .dotfiles directory and list its contents.
33
+ alias dow='cd "${HOME}/Downloads"; ls' # dow: Shortcut to go to the Downloads directory and list its contents.
34
+ alias hom='cd "${HOME}"; ls' # hom: Shortcut to go to the home directory and list its contents.
35
+ alias mus='cd "${HOME}/Music"; ls' # mus: Shortcut to go to the Music directory and list its contents.
36
+ alias pic='cd "${HOME}/Pictures"; ls' # pic: Shortcut to go to the Pictures directory and list its contents.
37
+ alias vid='cd "${HOME}/Videos"; ls' # vid: Shortcut to go to the Videos directory and list its contents.
38
+
39
+ # Shortcuts to navigate to system directories
40
+ alias etc='cd /etc; ls' # etc: Shortcut to go to the etc directory and list its contents.
41
+ alias var='cd /var; ls' # var: Shortcut to go to the var directory and list its contents.
42
+ alias tmp='cd /tmp; ls' # tmp: Shortcut to go to the tmp directory and list its contents.
@@ -0,0 +1,70 @@
1
+ # CHMOD Aliases
2
+
3
+ These aliases provide shortcuts for the chmod command to help you
4
+ quickly change the permissions of files and directories. To use them,
5
+ add the following lines to your .bashrc or .bash_profile file.
6
+
7
+ ## Aliases
8
+
9
+ ### Change permissions
10
+
11
+ - `000`: (chmod a-rwx) sets permissions so that, (U)ser / owner can't read, can't write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
12
+ - `400`: (chmod a-rw) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
13
+ - `444`: (chmod a-r) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
14
+ - `600`: (chmod a+rwx,u-x,g-rwx,o-rwx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
15
+ - `644`: (chmod a+rwx,u-x,g-wx,o-wx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can't write and can't execute. (O)thers can read, can't write and can't execute.
16
+ - `666`: (chmod a+rwx,u-x,g-x,o-x) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can write and can't execute. (O)thers can read, can write and can't execute.
17
+ - `755`: (chmod a+rwx,g-w,o-w) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can't write and can execute. (O)thers can read, can't write and can execute.
18
+ - `764`: (chmod a+rwx,g-x,o-wx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can't execute. (O)thers can read, can't write and can't execute.
19
+ - `777`: (chmod a+rwx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can execute. (O)thers can read, can write and can execute.
20
+
21
+ ### Change ownership
22
+
23
+ - `chgrp`: Change group ownership of files or directories.
24
+ - `chgrpr`: Change group ownership of files or directories recursively.
25
+ - `chgrpu`: Change group ownership of files or directories recursively to the current user.
26
+ - `chmod`: Change file mode bits.
27
+ - `chmodr`: Change file mode bits recursively.
28
+ - `chmodu`: Change file mode bits recursively to the current user.
29
+ - `chmox`: Make a file executable.
30
+ - `chown`: Change file owner and group.
31
+ - `chownr`: Change file owner and group recursively.
32
+ - `chownu`: Change file owner and group recursively to the current user.
33
+
34
+ ### Set permissions for specific file types
35
+
36
+ - `755d`: Set permissions of all directories to rwxr-xr-x.
37
+ - `644f`: Set permissions of all files to rw-r--r--.
38
+
39
+ ### Set permissions for specific user types
40
+
41
+ - `u+x`: Add execute permission for the owner of the file.
42
+ - `u-x`: Remove execute permission for the owner of the file.
43
+ - `u+w`: Add write permission for the owner of the file.
44
+ - `u-w`: Remove write permission for the owner of the file.
45
+ - `u+r`: Add read permission for the owner of the file.
46
+ - `u-r`: Remove read permission for the owner of the file.
47
+ - `g+x`: Add execute permission for the group owner of the file.
48
+ - `g-x`: Remove execute permission for the group owner of the file.
49
+ - `g+w`: Add write permission for the group owner of the file.
50
+ - `g-w`: Remove write permission for the group owner of the file.
51
+ - `g+r`: Add read permission for the group owner of the file.
52
+ - `g-r`: Remove read permission for the group owner of the file.
53
+ - `o+x`: Add execute permission for others.
54
+ - `o-x`: Remove execute permission for others.
55
+ - `o+w`: Add write permission for others.
56
+ - `o-w`: Remove write permission for others.
57
+ - `o+r`: Add read permission for others.
58
+ - `o-r`: Remove read permission for others.
59
+
60
+ ### Set permissions based on octal notation
61
+
62
+ - `000`: Set permissions to ----------
63
+ - `400`: Set permissions to r--------
64
+ - `444`: Set permissions to r--r--r--
65
+ - `600`: Set permissions to rw-------
66
+ - `644`: Set permissions to rw-r--r--.
67
+ - `664`: Set permissions to rw-rw-r--.
68
+ - `755`: Set permissions to rwxr-xr-x.
69
+ - `775`: Set permissions to rwxrwxr-x.
70
+ - `777`: Set permissions to rwxrwxrwx.
@@ -0,0 +1,73 @@
1
+ #!/usr/bin/env bash
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets aliases for the `chmod` command.
5
+ # License: MIT
6
+ # Script: chmod.aliases.sh
7
+ # Version: 0.2.463
8
+ # Website: https://dotfiles.io
9
+
10
+ # πŸ…²πŸ…·πŸ…ΌπŸ…ΎπŸ…³ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
11
+ if command -v 'chmod' >/dev/null; then
12
+
13
+ # Shortcuts to change permissions
14
+ alias 000='chmod -R 000' # 000: (chmod a-rwx) sets permissions so that, (U)ser / owner can't read, can't write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
15
+ alias 400='chmod -R 400' # 400: (chmod a-rw) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
16
+ alias 444='chmod -R 444' # 444: (chmod a-r) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
17
+ alias 600='chmod -R 600' # 600: (chmod a+rwx,u-x,g-rwx,o-rwx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
18
+ alias 644='chmod -R 644' # 644: (chmod a+rwx,u-x,g-wx,o-wx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can't write and can't execute. (O)thers can read, can't write and can't execute.
19
+ alias 666='chmod -R 666' # 666: (chmod a+rwx,u-x,g-x,o-x) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can write and can't execute. (O)thers can read, can write and can't execute.
20
+ alias 755='chmod -R 755' # 755: (chmod a+rwx,g-w,o-w) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can't write and can execute. (O)thers can read, can't write and can execute.
21
+ alias 764='chmod -R 764' # 764: (chmod a+rwx,g-x,o-wx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can't execute. (O)thers can read, can't write and can't execute.
22
+ alias 777='chmod -R 777' # 777: (chmod a+rwx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can execute. (O)thers can read, can write and can execute.
23
+
24
+ # Shortcuts to change ownership
25
+ alias chgrp='chgrp -v' # chgrp: Change group ownership of files or directories.
26
+ alias chgrpr='chgrp -Rv' # chgrpr: Change group ownership of files or directories recursively.
27
+ alias chgrpu='chgrp -Rv ${USER}' # chgrpu: Change group ownership of files or directories recursively to the current user.
28
+ alias chmod='chmod -v' # chmod: Change file mode bits.
29
+ alias chmodr='chmod -Rv' # chmodr: Change file mode bits recursively.
30
+ alias chmodu='chmod -Rv u+rwX' # chmodu: Change file mode bits recursively to the current user.
31
+ alias chmox='chmod +x' # chmox: Make a file executable.
32
+ alias chown='chown -v' # chown: Change file owner and group.
33
+ alias chownr='chown -Rv' # chownr: Change file owner and group recursively.
34
+ alias chownu='chown -Rv ${USER}' # chownu: Change file owner and group recursively to the current user.
35
+
36
+ # Shortcuts to set permissions for specific file types
37
+ alias 755d='find . -type d -exec chmod 755 {} \;' # 755d: Set permissions of all directories to rwxr-xr-x.
38
+ alias 644f='find . -type f -exec chmod 644 {} \;' # 644f: Set permissions of all files to rw-r--r--.
39
+
40
+ # Shortcuts to set permissions for specific user types
41
+ alias u+x='chmod u+x' # u+x: Add execute permission for the owner of the file.
42
+ alias u-x='chmod u-x' # u-x: Remove execute permission for the owner of the file.
43
+ alias u+w='chmod u+w' # u+w: Add write permission for the owner of the file.
44
+ alias u-w='chmod u-w' # u-w: Remove write permission for the owner of the file.
45
+ alias u+r='chmod u+r' # u+r: Add read permission for the owner of the file.
46
+ alias u-r='chmod u-r' # u-r: Remove read permission for the owner of the file.
47
+
48
+ alias g+x='chmod g+x' # g+x: Add execute permission for the group owner of the file.
49
+ alias g-x='chmod g-x' # g-x: Remove execute permission for the group owner of the file.
50
+ alias g+w='chmod g+w' # g+w: Add write permission for the group owner of the file.
51
+ alias g-w='chmod g-w' # g-w: Remove write permission for the group owner of the file.
52
+ alias g+r='chmod g+r' # g+r: Add read permission for the group owner of the file.
53
+ alias g-r='chmod g-r' # g-r: Remove read permission for the group owner of the file.
54
+
55
+ alias o+x='chmod o+x' # o+x: Add execute permission for others.
56
+ alias o-x='chmod o-x' # o-x: Remove execute permission for others.
57
+ alias o+w='chmod o+w' # o+w: Add write permission for others.
58
+ alias o-w='chmod o-w' # o-w: Remove write permission for others.
59
+ alias o+r='chmod o+r' # o+r: Add read permission for others.
60
+ alias o-r='chmod o-r' # o-r: Remove read permission for others.
61
+
62
+ # Shortcuts to set permissions based on octal notation
63
+ alias 000='chmod 000' # 000: Set permissions to ----------
64
+ alias 400='chmod 400' # 400: Set permissions to r--------
65
+ alias 444='chmod 444' # 444: Set permissions to r--r--r--
66
+ alias 600='chmod 600' # 600: Set permissions to rw-------
67
+ alias 644='chmod 644' # 644: Set permissions to rw-r--r--.
68
+ alias 664='chmod 664' # 664: Set permissions to rw-rw-r--.
69
+ alias 755='chmod 755' # 755: Set permissions to rwxr-xr-x.
70
+ alias 775='chmod 775' # 775: Set permissions to rwxrwxr-x.
71
+ alias 777='chmod 777' # 777: Set permissions to rwxrwxrwx.
72
+
73
+ fi
@@ -0,0 +1,38 @@
1
+ # CLEAR aliases
2
+
3
+ These aliases provide shortcuts for the `clear` command. They are useful
4
+ for clearing the terminal screen. The `clear` command is a built-in
5
+ command in Bash, so these aliases are available in all Bash shells. To
6
+ use them, add the following lines to your `.bashrc` or `.bash_profile`
7
+ file.
8
+
9
+ ## Aliases
10
+
11
+ - `c`: Clear the terminal screen.
12
+ - `cl`: Clear the terminal screen.
13
+ - `cla`: Clear the terminal screen and print an empty line.
14
+ - `clc`: Clear the terminal screen and print the contents of the current directory.
15
+ - `clcat`: Clear the terminal screen and print the contents of the current directory.
16
+ - `cld`: Clear the terminal screen and change to the specified directory.
17
+ - `cldi`: Clear the terminal screen and move up one directory level.
18
+ - `cle`: Clear the terminal screen and exit the terminal.
19
+ - `clg`: Clear the terminal screen and print the current Git status.
20
+ - `clh`: Clear the terminal screen and print the command history.
21
+ - `clhist`: Clear the terminal screen and print the command history.
22
+ - `cli`: Clear the terminal screen and start a new shell as the root user.
23
+ - `clj`: Clear the terminal screen and print the current jobs.
24
+ - `clk`: Clear the terminal screen and kill all processes matching the specified name.
25
+ - `clp`: Clear the terminal screen and print the current working directory.
26
+ - `clpwd`: Clear the terminal screen and print the current working directory.
27
+ - `clq`: Clear the terminal screen and exit the terminal.
28
+ - `clr`: Clear the terminal screen.
29
+ - `cls`: Clear the terminal screen.
30
+ - `clt`: Clear the terminal screen and print the directory tree.
31
+ - `cltree`: Clear the terminal screen and print the directory tree.
32
+ - `clu`: Clear the terminal screen, move up one directory level, and print the new working directory.
33
+ - `clup`: Clear the terminal screen and move up two directory levels.
34
+ - `clv`: Clear the terminal screen and print the current virtualenvwrapper information.
35
+ - `ct`: Clear the terminal screen and print the directory tree.
36
+ - `ctree`: Clear the terminal screen and print the directory tree.
37
+ - `cpl`: Clear the terminal screen and print the current working directory and the contents of the current directory.
38
+ - `cplt`: Clear the terminal screen and print the current working directory and the directory tree.- `
@@ -1,23 +1,40 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets aliases for the `clear` command.
5
5
  # License: MIT
6
+ # Script: clear.aliases.sh
7
+ # Version: 0.2.463
8
+ # Website: https://dotfiles.io
6
9
 
7
10
  # πŸ…²πŸ…»πŸ…΄πŸ…°πŸ† πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- alias c="clear" # c: Clear the terminal screen.
9
- alias cl="c" # cl: Clear the terminal screen.
10
- alias clc="clear && cat" # clc: Clear the terminal screen and print the contents of the current directory.
11
- alias clcat="clc" # clcat: Clear the terminal screen and print the contents of the current directory.
12
- alias clh="clear && history" # clh: Clear the terminal screen and print the command history.
13
- alias clhist="clh" # clhist: Clear the terminal screen and print the command history.
14
- alias clp="clear && pwd" # clp: Clear the terminal screen and print the current working directory.
15
- alias clpwd="clp" # clpwd: Clear the terminal screen and print the current working directory.
16
- alias clr="c" # clr: Clear the terminal screen.
17
- alias cls="c" # cls: Clear the terminal screen.
18
- alias clt="clear && tree" # clt: Clear the terminal screen and print the directory tree.
19
- alias cltree="clt" # cltree: Clear the terminal screen and print the directory tree.
20
- alias ct="clear && tree ./" # ct: Clear the terminal screen and print the directory tree.
21
- alias ctree="ct" # ctree: Clear the terminal screen and print the directory tree.
22
- alias cpl="clear && pwd && echo '' && ls -a && echo ''" # cpl: Clear the terminal screen and print the current working directory and the contents of the current directory.
23
- alias cplt="clear && pwd && echo '' && tree ./ && echo ''" # cplt: Clear the terminal screen and print the current working directory and the directory tree.
11
+ if command -v 'clear' >/dev/null; then
12
+ alias c="clear" # c: Clear the terminal screen.
13
+ alias cl="c" # cl: Clear the terminal screen.
14
+ alias cla="clear && echo ''" # cla: Clear the terminal screen and print an empty line.
15
+ alias clc="clear && cat" # clc: Clear the terminal screen and print the contents of the current directory.
16
+ alias clcat="clc" # clcat: Clear the terminal screen and print the contents of the current directory.
17
+ alias cld="clear && cd" # cld: Clear the terminal screen and change to the specified directory.
18
+ alias cldi="clear && cd .." # cldi: Clear the terminal screen and move up one directory level.
19
+ alias cle="clear && exit" # cle: Clear the terminal screen and exit the terminal.
20
+ alias clg="clear && git status" # clg: Clear the terminal screen and print the current Git status.
21
+ alias clh="clear && history" # clh: Clear the terminal screen and print the command history.
22
+ alias clhist="clh" # clhist: Clear the terminal screen and print the command history.
23
+ alias cli="clear && sudo -i" # cli: Clear the terminal screen and start a new shell as the root user.
24
+ alias clj="clear && jobs" # clj: Clear the terminal screen and print the current jobs.
25
+ alias clk="clear && killall" # clk: Clear the terminal screen and kill all processes matching the specified name.
26
+ alias clp="clear && pwd" # clp: Clear the terminal screen and print the current working directory.
27
+ alias clpwd="clp" # clpwd: Clear the terminal screen and print the current working directory.
28
+ alias clq="clear && exit" # clq: Clear the terminal screen and exit the terminal.
29
+ alias clr="c" # clr: Clear the terminal screen.
30
+ alias cls="c" # cls: Clear the terminal screen.
31
+ alias clt="clear && tree" # clt: Clear the terminal screen and print the directory tree.
32
+ alias cltree="clt" # cltree: Clear the terminal screen and print the directory tree.
33
+ alias clu="clear && cd .. && pwd" # clu: Clear the terminal screen, move up one directory level, and print the new working directory.
34
+ alias clup="clear && cd ../.." # clup: Clear the terminal screen and move up two directory levels.
35
+ alias clv="clear && virtualenvwrapper" # clv: Clear the terminal screen and print the current virtualenvwrapper information.
36
+ alias ct="clear && tree ./" # ct: Clear the terminal screen and print the directory tree.
37
+ alias ctree="ct" # ctree: Clear the terminal screen and print the directory tree.
38
+ alias cpl="clear && pwd && echo '' && ls -a && echo ''" # cpl: Clear the terminal screen and print the current working directory and the contents of the current directory.
39
+ alias cplt="clear && pwd && echo '' && tree ./ && echo ''" # cplt: Clear the terminal screen and print the current working directory and the directory tree.
40
+ fi
@@ -0,0 +1,46 @@
1
+ # Configuration aliases
2
+
3
+ These aliases provide configuration shortcuts. They are useful for
4
+ configuring the terminal. To use them, add the following lines to your
5
+ `.bashrc` or `.bash_profile` file.
6
+
7
+ ## Aliases
8
+
9
+ ### Bash aliases
10
+
11
+ - `brc`: Open the Bash configuration file in the default text editor.
12
+ - `brhp`: Open the Bash profile file in the default text editor.
13
+ - `benv`: Open the Bash environment file in the default text editor.
14
+ - `bali`: Open the Bash aliases file in the default text editor.
15
+ - `bhist`: Open the Bash history file in the default text editor.
16
+ - `binput`: Open the Bash input file in the default text editor.
17
+ - `bhlp`: Open the Bash help file in the default text editor.
18
+
19
+ ### Git aliases
20
+
21
+ - `gco`: Open the Git configuration file in the default text editor.
22
+ - `gign`: Open the Git ignore file in the default text editor.
23
+ - `glog`: Open the Git log file in the default text editor.
24
+ - `gmsg`: Open the Git commit message file in the default text editor.
25
+
26
+ ### Nano aliases
27
+
28
+ - `n`: Open Nano text editor.
29
+ - `nano`: Open Nano text editor with automatic line wrapping.
30
+ - `nanow`: Open Nano text editor with settings for editing whitespace.
31
+
32
+ ### Zsh aliases
33
+
34
+ - `zrc`: Open the Zsh configuration file in the default text editor.
35
+ - `zenv`: Open the Zsh environment file in the default text editor.
36
+ - `zali`: Open the Zsh aliases file in the default text editor.
37
+ - `zfunc`: Open the Zsh functions file in the default text editor.
38
+ - `zhlp`: Open the Zsh help file in the default text editor.
39
+
40
+ ### Vim aliases
41
+
42
+ - `vimrc`: Open the Vim configuration file in the default text editor.
43
+ - `vimft`: Open the Vim filetype file in the default text editor.
44
+ - `vimftd`: Open the Vim ftdetect directory in the default file manager.
45
+ - `vimftpl`: Open the Vim ftplugin directory in the default file manager.
46
+ - `vimplt`: Open the Vim plugin directory in the default file manager.
@@ -1,12 +1,43 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets configuration aliases.
5
5
  # License: MIT
6
+ # Script: configuration.aliases.sh
7
+ # Version: 0.2.463
8
+ # Website: https://dotfiles.io
6
9
 
7
10
  # πŸ…²πŸ…ΎπŸ…½πŸ…΅πŸ…ΈπŸ…ΆπŸ†„πŸ†πŸ…°πŸ†ƒπŸ…ΈπŸ…ΎπŸ…½ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- alias bshp='${=EDITOR} $HOME/.bash_profile' # bshp: Open the Bash profile in the default text editor.
9
- alias bshrc='${=EDITOR} $HOME/.bashrc' # bshrc: Open the Bash configuration file in the default text editor.
10
- alias gcfg='${=EDITOR} $HOME/.gitconfig' # gcfg: Open the Git configuration file in the default text editor.
11
- alias gign='${=EDITOR} $HOME/.gitignore' # gign: Open the Git ignore file in the default text editor.
12
- alias zshrc='${=EDITOR} $HOME/.zshrc' # zshrc: Open the Zsh configuration file in the default text editor.
11
+ # Bash aliases
12
+ alias brc='${=EDITOR} ~/.bashrc' # brc: Open the Bash configuration file in the default text editor.
13
+ alias brhp='${=EDITOR} ~/.bash_profile' # brhp: Open the Bash profile file in the default text editor.
14
+ alias benv='${=EDITOR} ~/.bash_env' # benv: Open the Bash environment file in the default text editor.
15
+ alias bali='${=EDITOR} ~/.bash_aliases' # bali: Open the Bash aliases file in the default text editor.
16
+ alias bhist='${=EDITOR} ~/.bash_history' # bhist: Open the Bash history file in the default text editor.
17
+ alias binput='${=EDITOR} ~/.inputrc' # binput: Open the Bash input file in the default text editor.
18
+ alias bhlp='${=EDITOR} ~/.bash_help' # bhlp: Open the Bash help file in the default text editor.
19
+
20
+ # Git aliases
21
+ alias gco='${=EDITOR} ~/.gitconfig' # gco: Open the Git configuration file in the default text editor.
22
+ alias gign='${=EDITOR} ~/.gitignore' # gign: Open the Git ignore file in the default text editor.
23
+ alias glog='${=EDITOR} ~/.git-log' # glog: Open the Git log file in the default text editor.
24
+ alias gmsg='${=EDITOR} ~/.gitmessage' # gmsg: Open the Git commit message file in the default text editor.
25
+
26
+ # Nano aliases
27
+ alias n="nano" # n: Open Nano text editor.
28
+ alias nano="nano -w" # nano: Open Nano text editor with automatic line wrapping.
29
+ alias nanow="nano -r -c -i -w -T 4" # nanow: Open Nano text editor with settings for editing whitespace.
30
+
31
+ # Zsh aliases
32
+ alias zrc='${=EDITOR} ~/.zshrc' # zrc: Open the Zsh configuration file in the default text editor.
33
+ alias zenv='${=EDITOR} ~/.zshenv' # zenv: Open the Zsh environment file in the default text editor.
34
+ alias zali='${=EDITOR} ~/.zsh_aliases' # zali: Open the Zsh aliases file in the default text editor.
35
+ alias zfunc='${=EDITOR} ~/.zsh_functions' # zfunc: Open the Zsh functions file in the default text editor.
36
+ alias zhlp='${=EDITOR} ~/.zsh_help' # zhlp: Open the Zsh help file in the default text editor.
37
+
38
+ # Vim aliases
39
+ alias vimrc='${=EDITOR} ~/.vimrc' # vimrc: Open the Vim configuration file in the default text editor.
40
+ alias vimft='${=EDITOR} ~/.vim/filetype.vim' # vimft: Open the Vim filetype file in the default text editor.
41
+ alias vimftd='${=EDITOR} ~/.vim/ftdetect/' # vimftd: Open the Vim ftdetect directory in the default file manager.
42
+ alias vimftpl='${=EDITOR} ~/.vim/ftplugin/' # vimftpl: Open the Vim ftplugin directory in the default file manager.
43
+ alias vimplt='${=EDITOR} ~/.vim/plugin/' # vimplt: Open the Vim plugin directory in the default file manager.
@@ -0,0 +1,62 @@
1
+ # Default aliases
2
+
3
+ These aliases provide default aliases. They are useful for configuring
4
+ the terminal. To use them, add the following lines to your `.bashrc` or
5
+ `.bash_profile` file.
6
+
7
+ ## Aliases
8
+
9
+ ### Directory aliases
10
+
11
+ - `ctf`: Count the number of files in the current directory.
12
+ - `p`: Print working directory.
13
+
14
+ ### Exit aliases
15
+
16
+ - `bye`: Exit the shell.
17
+ - `q`: Exit the shell.
18
+ - `quit`: Exit the shell.
19
+
20
+ ### Misc aliases
21
+
22
+ - `h`: Display command history.
23
+ - `ipinfo`: Get network interface parameters for en0.
24
+ - `path`: Display the $PATH variable on newlines.
25
+ - `please`: Run command as superuser.
26
+ - `spd`: Remove all log files in /private/var/log/asl/.
27
+ - `srv`: Start a simple HTTP server.
28
+ - `t`: Print last 10 lines of a file in real time.
29
+ - `x`: Exit the shell.
30
+
31
+ ### Package manager aliases
32
+
33
+ - `apt-get`: Append sudo to apt-get command.
34
+ - `aptitude`: Run command as superuser.
35
+ - `pacman`: Run command as superuser.
36
+ - `yum`: Run command as superuser.
37
+
38
+ ### System aliases
39
+
40
+ - `da`: Display the current date and time.
41
+ - `moon`: Get the moon phase.
42
+ - `nls`: Show only active network listeners.
43
+ - `now`: Show the current time.
44
+ - `op`: List of open ports.
45
+ - `ping`: Limit Ping to 5 ECHO_REQUEST packets.
46
+ - `ports`: List all listening ports.
47
+ - `top`: Display the top processes.
48
+ - `tree`: Display the directory tree.
49
+ - `wth`: Get the weather.
50
+ - `wk`: Display the current week number.
51
+
52
+ ### System control aliases
53
+
54
+ - `halt`: Halt the system.
55
+ - `poweroff`: Power off the system.
56
+ - `reboot`: Reboot the system.
57
+ - `shutdown`: Shut down the system.
58
+
59
+ ### Terminal control aliases
60
+
61
+ - `reload`: Reload the shell.
62
+ - `r`: Reload the shell.