@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.
- package/README.md +118 -281
- package/dist/Makefile +2 -2
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/constants.js.map +1 -1
- package/dist/filesizes.txt +170 -144
- package/dist/lib/README.md +6 -1
- package/dist/lib/aliases/README.md +47 -0
- package/dist/lib/aliases/archives/README.md +39 -67
- package/dist/lib/aliases/archives/archives.aliases.sh +128 -60
- package/dist/lib/aliases/cd/README.md +26 -9
- package/dist/lib/aliases/cd/cd.aliases.sh +1 -4
- package/dist/lib/aliases/chmod/README.md +48 -13
- package/dist/lib/aliases/chmod/chmod.aliases.sh +1 -1
- package/dist/lib/aliases/clear/README.md +33 -38
- package/dist/lib/aliases/clear/clear.aliases.sh +35 -33
- package/dist/lib/aliases/configuration/README.md +26 -37
- package/dist/lib/aliases/configuration/configuration.aliases.sh +40 -36
- package/dist/lib/aliases/default/README.md +26 -52
- package/dist/lib/aliases/default/default.aliases.sh +105 -44
- package/dist/lib/aliases/dig/README.md +23 -40
- package/dist/lib/aliases/dig/dig.aliases.sh +26 -29
- package/dist/lib/aliases/disk-usage/README.md +32 -0
- package/dist/lib/aliases/disk-usage/du.aliases.sh +84 -0
- package/dist/lib/aliases/editor/README.md +35 -33
- package/dist/lib/aliases/editor/editor.aliases.sh +13 -39
- package/dist/lib/aliases/find/README.md +42 -29
- package/dist/lib/aliases/find/find.aliases.sh +52 -26
- package/dist/lib/aliases/gcloud/README.md +59 -148
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +327 -138
- package/dist/lib/aliases/git/README.md +149 -0
- package/dist/lib/aliases/git/git.aliases.sh +535 -131
- package/dist/lib/aliases/gnu/README.md +85 -0
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +143 -109
- package/dist/lib/aliases/heroku/README.md +426 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +1047 -288
- package/dist/lib/aliases/interactive/README.md +43 -0
- package/dist/lib/aliases/interactive/interactive.aliases.sh +48 -9
- package/dist/lib/aliases/jekyll/README.md +37 -0
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +49 -10
- package/dist/lib/aliases/list/README.md +38 -0
- package/dist/lib/aliases/list/list.aliases.sh +81 -30
- package/dist/lib/aliases/macos/README.md +38 -0
- package/dist/lib/aliases/macos/macos.aliases.sh +65 -0
- package/dist/lib/aliases/make/README.md +28 -0
- package/dist/lib/aliases/make/make.aliases.sh +30 -10
- package/dist/lib/aliases/mkdir/README.md +26 -0
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +24 -8
- package/dist/lib/aliases/npm/README.md +37 -0
- package/dist/lib/aliases/npm/npm.aliases.sh +54 -17
- package/dist/lib/aliases/permission/README.md +43 -0
- package/dist/lib/aliases/permission/permission.aliases.sh +73 -0
- package/dist/lib/aliases/pnpm/README.md +49 -0
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +70 -36
- package/dist/lib/aliases/ps/README.md +25 -0
- package/dist/lib/aliases/ps/ps.aliases.sh +14 -6
- package/dist/lib/aliases/rsync/README.md +21 -0
- package/dist/lib/aliases/rsync/rsync.aliases.sh +10 -4
- package/dist/lib/aliases/rust/README.md +57 -0
- package/dist/lib/aliases/rust/rust.aliases.sh +116 -39
- package/dist/lib/aliases/subversion/README.md +62 -0
- package/dist/lib/aliases/subversion/subversion.aliases.sh +4 -3
- package/dist/lib/aliases/sudo/README.md +23 -0
- package/dist/lib/aliases/sudo/sudo.aliases.sh +15 -6
- package/dist/lib/aliases/tmux/README.md +27 -0
- package/dist/lib/aliases/tmux/tmux.aliases.sh +29 -10
- package/dist/lib/aliases/update/README.md +34 -0
- package/dist/lib/aliases/update/update.aliases.sh +57 -26
- package/dist/lib/aliases/uuid/README.md +20 -0
- package/dist/lib/aliases/uuid/uuid.aliases.sh +13 -4
- package/dist/lib/aliases/wget/README.md +23 -0
- package/dist/lib/aliases/wget/wget.aliases.sh +15 -6
- package/dist/lib/aliases.sh +4 -3
- package/dist/lib/configurations/README.md +13 -2
- package/dist/lib/configurations/bash/bashrc +4 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +3 -2
- package/dist/lib/configurations/default/constants.sh +4 -3
- package/dist/lib/configurations/default/editor.sh +3 -2
- package/dist/lib/configurations/default/prompt.sh +3 -2
- package/dist/lib/configurations/input/inputrc +2 -2
- package/dist/lib/configurations/nano/nanorc +2 -2
- package/dist/lib/configurations/profile/profile +2 -2
- package/dist/lib/configurations/tmux/default +2 -2
- package/dist/lib/configurations/tmux/display +6 -2
- package/dist/lib/configurations/tmux/linux +2 -2
- package/dist/lib/configurations/tmux/navigation +2 -2
- package/dist/lib/configurations/tmux/panes +2 -2
- package/dist/lib/configurations/tmux/theme +3 -3
- package/dist/lib/configurations/tmux/tmux +2 -2
- package/dist/lib/configurations/tmux/vi +2 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +2 -2
- package/dist/lib/configurations.sh +4 -3
- package/dist/lib/functions/README.md +69 -2
- package/dist/lib/functions/cdls.sh +3 -2
- package/dist/lib/functions/curlheader.sh +3 -2
- package/dist/lib/functions/curlstatus.sh +17 -0
- package/dist/lib/functions/curltime.sh +4 -3
- package/dist/lib/functions/encode64.sh +3 -2
- package/dist/lib/functions/environment.sh +3 -2
- package/dist/lib/functions/extract.sh +3 -2
- package/dist/lib/functions/filehead.sh +1 -1
- package/dist/lib/functions/freespace.sh +21 -0
- package/dist/lib/functions/genpwd.sh +33 -7
- package/dist/lib/functions/goto.sh +3 -2
- package/dist/lib/functions/hidehiddenfiles.sh +3 -2
- package/dist/lib/functions/hostinfo.sh +3 -2
- package/dist/lib/functions/hstats.sh +3 -2
- package/dist/lib/functions/httpdebug.sh +3 -2
- package/dist/lib/functions/keygen.sh +20 -13
- package/dist/lib/functions/last.sh +3 -2
- package/dist/lib/functions/logout.sh +3 -2
- package/dist/lib/functions/lowercase.sh +3 -2
- package/dist/lib/functions/matrix.sh +15 -14
- package/dist/lib/functions/mount_read_only.sh +3 -2
- package/dist/lib/functions/myproc.sh +4 -3
- package/dist/lib/functions/prependpath.sh +3 -2
- package/dist/lib/functions/ql.sh +3 -2
- package/dist/lib/functions/rd.sh +3 -2
- package/dist/lib/functions/remove_disk.sh +3 -2
- package/dist/lib/functions/ren.sh +3 -2
- package/dist/lib/functions/showhiddenfiles.sh +3 -2
- package/dist/lib/functions/size.sh +3 -2
- package/dist/lib/functions/stopwatch.sh +4 -3
- package/dist/lib/functions/uppercase.sh +3 -2
- package/dist/lib/functions/view-source.sh +3 -2
- package/dist/lib/functions/vscode.sh +3 -2
- package/dist/lib/functions/whoisport.sh +3 -2
- package/dist/lib/functions/zipf.sh +3 -2
- package/dist/lib/functions.sh +4 -3
- package/dist/lib/history.sh +4 -4
- package/dist/lib/paths/ant/ant.paths.sh +3 -2
- package/dist/lib/paths/default/default.paths.sh +3 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +3 -2
- package/dist/lib/paths/java/java.paths.sh +3 -2
- package/dist/lib/paths/maven/maven.paths.sh +3 -2
- package/dist/lib/paths/node/node.paths.sh +3 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +3 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +3 -2
- package/dist/lib/paths/python/python.paths.sh +3 -2
- package/dist/lib/paths/ruby/ruby.paths.sh +3 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +3 -2
- package/dist/lib/paths.sh +4 -3
- package/dist/scripts/backup.sh +3 -2
- package/dist/scripts/banner.sh +3 -2
- package/dist/scripts/build.sh +3 -2
- package/dist/scripts/clean.sh +3 -2
- package/dist/scripts/compile.sh +3 -2
- package/dist/scripts/copy.sh +3 -2
- package/dist/scripts/dotfiles.sh +3 -2
- package/dist/scripts/download.sh +3 -2
- package/dist/scripts/help.sh +3 -2
- package/dist/scripts/ssh.sh +3 -2
- package/dist/scripts/unpack.sh +3 -2
- package/package.json +7 -7
- package/dist/lib/aliases/du/README.md +0 -35
- package/dist/lib/aliases/du/du.aliases.sh +0 -37
- package/dist/lib/functions/changediskpwd.tmp +0 -19
- package/dist/lib/functions/code.tmp +0 -18
- package/dist/lib/functions/countdown.tmp +0 -34
- package/dist/lib/functions/headers.tmp +0 -4
- package/dist/lib/functions/history-all.tmp +0 -8
- package/dist/lib/functions/macos.sh +0 -47
- package/dist/lib/functions/mcd.tmp +0 -19
- package/dist/lib/functions/print.tmp +0 -14
- package/dist/lib/functions/rm.tmp +0 -14
- package/dist/lib/functions/rps.tmp +0 -104
- package/dist/lib/functions/trash.tmp +0 -14
- package/dist/lib/functions/tree.tmp +0 -14
- package/dist/lib/functions/uuidgen.tmp +0 -28
|
@@ -0,0 +1,43 @@
|
|
|
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 interactive aliases for common command line
|
|
17
|
+
operations. The aliases are designed to simplify and enhance the user
|
|
18
|
+
experience by adding interactive prompts before executing potentially
|
|
19
|
+
destructive operations.
|
|
20
|
+
|
|
21
|
+
### File manipulation aliases
|
|
22
|
+
|
|
23
|
+
- `cp` Copy files and directories.
|
|
24
|
+
- `del` Remove a file or directory.
|
|
25
|
+
- `ln` Create a symbolic link.
|
|
26
|
+
- `mv` Move files interactively (ask before overwrite) and verbose.
|
|
27
|
+
- `rm` Prompts for every file before removing.
|
|
28
|
+
- `zap` Remove files interactively (ask before overwrite).
|
|
29
|
+
|
|
30
|
+
### Trash manipulation alias
|
|
31
|
+
|
|
32
|
+
- `bin` Remove all files in the trash.
|
|
33
|
+
|
|
34
|
+
### Other interactive aliases
|
|
35
|
+
|
|
36
|
+
- `chmod` Change permissions of a file or directory.
|
|
37
|
+
- `chown` Change the owner and group of a file or directory.
|
|
38
|
+
- `diff` Compare two files and show the differences.
|
|
39
|
+
- `grep` Search for a pattern in a file or output.
|
|
40
|
+
- `mkdir` Create a new directory and display a message on success.
|
|
41
|
+
- `touch` Create a new file and display a message on success.
|
|
42
|
+
|
|
43
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,14 +1,53 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
4
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
5
6
|
# License: MIT
|
|
6
7
|
|
|
7
8
|
# π
Έπ
½ππ
΄ππ
°π
²ππ
Έπ
π
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
alias
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
|
|
10
|
+
# File manipulation aliases
|
|
11
|
+
|
|
12
|
+
# cp: Copy files and directories.
|
|
13
|
+
alias cp="cp -vi"
|
|
14
|
+
|
|
15
|
+
# del: Remove a file or directory.
|
|
16
|
+
alias del="rm -rfvi"
|
|
17
|
+
|
|
18
|
+
# ln: interactive symbolic link
|
|
19
|
+
alias ln='ln -vi'
|
|
20
|
+
|
|
21
|
+
# mv: Move files interactively (ask before overwrite) and verbose.
|
|
22
|
+
alias mv='mv -vi'
|
|
23
|
+
|
|
24
|
+
# rm: Prompts for every file before removing.
|
|
25
|
+
alias rm='rm -vi'
|
|
26
|
+
|
|
27
|
+
# zap: Remove files interactively (ask before overwrite).
|
|
28
|
+
alias zap='rm -vi'
|
|
29
|
+
|
|
30
|
+
# Trash manipulation alias
|
|
31
|
+
|
|
32
|
+
# bin: Remove all files in the trash.
|
|
33
|
+
alias bin='rm -fr ${HOME}/.Trash'
|
|
34
|
+
|
|
35
|
+
# Other interactive aliases
|
|
36
|
+
|
|
37
|
+
# chmod: Change permissions of a file or directory.
|
|
38
|
+
alias chmod='chmod -v'
|
|
39
|
+
|
|
40
|
+
# chown: Change the owner and group of a file or directory.
|
|
41
|
+
alias chown='chown -v'
|
|
42
|
+
|
|
43
|
+
# diff: Compare two files and show the differences.
|
|
44
|
+
alias diff='diff -u'
|
|
45
|
+
|
|
46
|
+
# grep: Search for a pattern in a file or output.
|
|
47
|
+
alias grep='grep -n -i'
|
|
48
|
+
|
|
49
|
+
# mkdir: Create a new directory and display a message on success.
|
|
50
|
+
alias mkdir='mkdir -pv'
|
|
51
|
+
|
|
52
|
+
# touch: Create a new file and display a message on success.
|
|
53
|
+
alias touch='touch -v'
|
|
@@ -0,0 +1,37 @@
|
|
|
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 aliases for
|
|
17
|
+
[Jekyll](https://jekyllrb.com/).
|
|
18
|
+
|
|
19
|
+
### 1. Jekyll Core aliases
|
|
20
|
+
|
|
21
|
+
#### 1.1 Jekyll development aliases
|
|
22
|
+
|
|
23
|
+
- `jkb` Performs a one off build your site to ./_site
|
|
24
|
+
- `jkc` Removes all generated files: destination folder, metadata file,
|
|
25
|
+
Sass and Jekyll caches
|
|
26
|
+
- `jkd` Does a development build of the site to '_site' and runs a local
|
|
27
|
+
development server
|
|
28
|
+
- `jkl` Does a development build of the site to '_site' and runs a local
|
|
29
|
+
development server
|
|
30
|
+
- `jko` Open local development server
|
|
31
|
+
|
|
32
|
+
#### 1.2 Jekyll release aliases
|
|
33
|
+
|
|
34
|
+
- `jkp` Does a production build of the site to '_site' and runs a local
|
|
35
|
+
development server
|
|
36
|
+
|
|
37
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,15 +1,54 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
4
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
5
6
|
# License: MIT
|
|
6
7
|
|
|
7
|
-
# π
Ήπ
΄π
Ίππ
»π
» π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
if command -v
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
# π
Ήπ
΄π
Ίππ
»π
» π
°π
»π
Έπ
°ππ
΄π
|
|
9
|
+
if command -v jekyll &>/dev/null; then
|
|
10
|
+
# Sections:
|
|
11
|
+
#
|
|
12
|
+
# 1. Jekyll Core aliases.
|
|
13
|
+
# 1.1 Jekyll development aliases.
|
|
14
|
+
# 1.2 Jekyll release aliases.
|
|
15
|
+
#
|
|
16
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
17
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
18
|
+
# Licensed under the MIT license
|
|
19
|
+
#
|
|
20
|
+
|
|
21
|
+
## ------------------------------------------------------------------
|
|
22
|
+
## 1. Jekyll Core aliases.
|
|
23
|
+
## ------------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
## ------------------------------------------------------------------
|
|
26
|
+
## 1.1 Jekyll development aliases.
|
|
27
|
+
## ------------------------------------------------------------------
|
|
28
|
+
|
|
29
|
+
# jkb: Performs a one off build your site to ./_site.
|
|
30
|
+
alias jkb='JEKYLL_ENV=development bundle exec jekyll build'
|
|
31
|
+
|
|
32
|
+
# jkc: Removes all generated files: destination folder, metadata file,
|
|
33
|
+
# Sass and Jekyll caches.
|
|
34
|
+
alias jkc='JEKYLL_ENV=development bundle exec jekyll clean'
|
|
35
|
+
|
|
36
|
+
# jkd: Does a development build of the site to '_site' and runs a
|
|
37
|
+
# local development server.
|
|
38
|
+
alias jkd='JEKYLL_ENV=development bundle exec jekyll serve --watch --trace'
|
|
39
|
+
|
|
40
|
+
# jkl: Does a development build of the site to '_site' and runs a
|
|
41
|
+
# local development server.
|
|
42
|
+
alias jkl='JEKYLL_ENV=development bundle exec jekyll serve --livereload'
|
|
43
|
+
|
|
44
|
+
# jko: Open local development server.
|
|
45
|
+
alias jko="open http://localhost:4000/"
|
|
46
|
+
|
|
47
|
+
## ------------------------------------------------------------------
|
|
48
|
+
## 1.2 Jekyll release aliases.
|
|
49
|
+
## ------------------------------------------------------------------
|
|
50
|
+
|
|
51
|
+
# jkp: Does a production build of the site to '_site' and runs a local
|
|
52
|
+
# development server.
|
|
53
|
+
alias jkp='JEKYLL_ENV=production bundle exec jekyll serve --watch --trace'
|
|
15
54
|
fi
|
|
@@ -0,0 +1,38 @@
|
|
|
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 aliases for listing files.
|
|
17
|
+
|
|
18
|
+
- `l` List files with size, show type, human readable.
|
|
19
|
+
- `l1` Display one file per line.
|
|
20
|
+
- `la` List all files, show type, human readable.
|
|
21
|
+
- `labc` List all files in alphabetical order.
|
|
22
|
+
- `ldir` List directories only.
|
|
23
|
+
- `ldot` List hidden files.
|
|
24
|
+
- `left` List files by date, most recent last.
|
|
25
|
+
- `lf` List files only.
|
|
26
|
+
- `lk` Sort by size, largest first.
|
|
27
|
+
- `lla` List full path of all files in current directory.
|
|
28
|
+
- `locale` List all available locales.
|
|
29
|
+
- `lp` List all open ports.
|
|
30
|
+
- `lr` Recursive list, show type, human readable.
|
|
31
|
+
- `ls` Colorize the output.
|
|
32
|
+
- `lS` Order files by size, largest first.
|
|
33
|
+
- `lt` List contents of directories in a tree-like format.
|
|
34
|
+
- `lx` Sort by extension.
|
|
35
|
+
- `lz` Sort by size, smallest first.
|
|
36
|
+
- `right` List files by date, most recent first.
|
|
37
|
+
|
|
38
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,35 +1,86 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
4
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
5
6
|
# License: MIT
|
|
6
7
|
|
|
7
8
|
# π
»π
Έππ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
9
|
+
|
|
10
|
+
# List hidden files.
|
|
11
|
+
alias 'l.'='ls -dlhF .* | grep -v "^d"'
|
|
12
|
+
|
|
13
|
+
# Size, show type, human readable.
|
|
14
|
+
alias l='ls -lFh'
|
|
15
|
+
|
|
16
|
+
# Display one file per line.
|
|
17
|
+
alias l1='ls -1'
|
|
18
|
+
|
|
19
|
+
# All files, show type, human readable.
|
|
20
|
+
alias la='ls -lAFh'
|
|
21
|
+
|
|
22
|
+
# List all files in alphabetical order.
|
|
23
|
+
alias labc='ls -lap'
|
|
24
|
+
|
|
25
|
+
# Count the number of lines in the file.
|
|
26
|
+
alias lc='wc -l'
|
|
27
|
+
|
|
28
|
+
# List files by time, newest first.
|
|
29
|
+
alias lct='ls -lcrh'
|
|
30
|
+
|
|
31
|
+
# Sort by date, oldest first.
|
|
32
|
+
alias ld='ls -ltrh'
|
|
33
|
+
|
|
34
|
+
# List directories only.
|
|
35
|
+
alias ldir="ls -l | egrep '^d'"
|
|
36
|
+
|
|
37
|
+
# List hidden files.
|
|
38
|
+
alias ldot="l."
|
|
39
|
+
|
|
40
|
+
# List files by date, most recent last.
|
|
41
|
+
alias left='ls -t -1'
|
|
42
|
+
|
|
43
|
+
# List files by date, most recent first.
|
|
44
|
+
alias right='ls -t -1r'
|
|
45
|
+
|
|
46
|
+
# List files only.
|
|
47
|
+
alias lf="ls -l | egrep -v '^d'"
|
|
48
|
+
|
|
49
|
+
# Sort by size, largest first.
|
|
50
|
+
alias lk='ls -lSrh'
|
|
51
|
+
|
|
52
|
+
# Long list, show almost all, show type, human readable.
|
|
53
|
+
alias ll='la'
|
|
54
|
+
|
|
55
|
+
# List full path of all files in current directory.
|
|
56
|
+
alias lla='ls -l -d $PWD/*'
|
|
57
|
+
|
|
58
|
+
# locale: List all available locales.
|
|
59
|
+
alias locale='locale -a | grep UTF-8'
|
|
60
|
+
|
|
61
|
+
# List all open ports.
|
|
62
|
+
alias lp='sudo lsof -i -T -n'
|
|
63
|
+
|
|
64
|
+
# Recursive list, show type, human readable.
|
|
65
|
+
alias lr='ls -lRh'
|
|
66
|
+
|
|
67
|
+
# Colorize the output.
|
|
68
|
+
alias ls='ls --color'
|
|
69
|
+
|
|
70
|
+
# Order Files Based on Last Modified Time and size.
|
|
71
|
+
alias lS='ls -1FSsh'
|
|
72
|
+
|
|
73
|
+
# List contents of directories in a tree-like format.
|
|
74
|
+
alias lt="tree"
|
|
75
|
+
|
|
76
|
+
# Sort by date, oldest first.
|
|
77
|
+
alias lu='ls -lurh'
|
|
78
|
+
|
|
79
|
+
# Wide list, show almost all, show type, human readable.
|
|
80
|
+
alias lw='ls -xAh'
|
|
81
|
+
|
|
82
|
+
# Sort by extension.
|
|
83
|
+
alias lx='ls | sort -k 1,1 -t .'
|
|
84
|
+
|
|
85
|
+
# Sort by size, smallest first.
|
|
86
|
+
alias lz='ls -lSr'
|
|
@@ -0,0 +1,38 @@
|
|
|
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 aliases for macOS.
|
|
17
|
+
|
|
18
|
+
- `clds` Recursively delete .DS_Store files.
|
|
19
|
+
- `clls` Clean up LaunchServices to remove duplicates in the
|
|
20
|
+
'Open With' menu.
|
|
21
|
+
- `finderHideHidden` Hide hidden files in Finder.
|
|
22
|
+
- `finderShowHidden` Show hidden files in Finder.
|
|
23
|
+
- `hideDesktopIcons` Hide all icons on the Desktop.
|
|
24
|
+
- `iphone` Open the device simulators.
|
|
25
|
+
- `lockScreen` Lock the screen of the mac.
|
|
26
|
+
- `ofd` Open the current directory in a Finder window.
|
|
27
|
+
- `purge` Purging Xcode DerivedData.
|
|
28
|
+
- `safariSafeMode` Launch Safari in Safe Mode.
|
|
29
|
+
- `showDesktopIcons` Show all icons on the Desktop.
|
|
30
|
+
- `screensaverDesktop` Run a screensaver on the Desktop.
|
|
31
|
+
- `trash` Empty the Trash on all mounted volumes and the main HDD.
|
|
32
|
+
- `vp` Verify macOS Permissions.
|
|
33
|
+
- `vv` Verify macOS Volume.
|
|
34
|
+
- `wifiOn` Turn on Wi-Fi.
|
|
35
|
+
- `wifiOff` Turn off Wi-Fi.
|
|
36
|
+
- `xcode` Launch XCode app in macOS.
|
|
37
|
+
|
|
38
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
+
# License: MIT
|
|
7
|
+
|
|
8
|
+
# π
Όπ
°π
²π
Ύπ π
°π
»π
Έπ
°ππ
΄π
|
|
9
|
+
|
|
10
|
+
# Recursively delete .DS_Store files.
|
|
11
|
+
alias clds='find . -type f -name "*.DS_Store" -ls -delete'
|
|
12
|
+
|
|
13
|
+
# Clean up LaunchServices to remove duplicates in the 'Open With' menu.
|
|
14
|
+
alias clls='/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder'
|
|
15
|
+
|
|
16
|
+
# Empty the Trash on all mounted volumes and the main HDD.
|
|
17
|
+
alias emptytrash='rm -rf ~/.Trash/*'
|
|
18
|
+
|
|
19
|
+
# Hide hidden files in Finder.
|
|
20
|
+
alias finderHideHidden='defaults write com.apple.finder ShowAllFiles FALSE'
|
|
21
|
+
|
|
22
|
+
# Show hidden files in Finder.
|
|
23
|
+
alias finderShowHidden='defaults write com.apple.finder ShowAllFiles TRUE'
|
|
24
|
+
|
|
25
|
+
# Hide the Desktop icons.
|
|
26
|
+
alias hideDesktopIcons='defaults write com.apple.finder CreateDesktop false && killall Finder'
|
|
27
|
+
|
|
28
|
+
# Open the device simulators.
|
|
29
|
+
alias iphone='open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app'
|
|
30
|
+
|
|
31
|
+
# Lock the screen (when going AFK).
|
|
32
|
+
alias lockScreen='/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend'
|
|
33
|
+
|
|
34
|
+
# Disable .DS_Store files on network volumes
|
|
35
|
+
alias noDS='defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true'
|
|
36
|
+
|
|
37
|
+
# Open the current directory in a Finder window.
|
|
38
|
+
alias ofd='open $PWD'
|
|
39
|
+
|
|
40
|
+
# Purging Xcode DerivedData.
|
|
41
|
+
alias purge='rm -rf ~/library/Developer/Xcode/DerivedData/*'
|
|
42
|
+
|
|
43
|
+
# Launch Safari in Safe Mode.
|
|
44
|
+
alias safariSafeMode='open -a Safari --args -safe-mode'
|
|
45
|
+
|
|
46
|
+
# Show the Desktop icons.
|
|
47
|
+
alias showDesktopIcons='defaults write com.apple.finder CreateDesktop true && killall Finder'
|
|
48
|
+
|
|
49
|
+
# Run a screensaver on the Desktop.
|
|
50
|
+
alias screensaverDesktop='/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background'
|
|
51
|
+
|
|
52
|
+
# vp: Verify macOS Permissions.
|
|
53
|
+
alias vp='diskutil verifyPermissions /'
|
|
54
|
+
|
|
55
|
+
# vv: Verify macOS Volume.
|
|
56
|
+
alias vv='diskutil verifyvolume /'
|
|
57
|
+
|
|
58
|
+
# Turn Wi-Fi on.
|
|
59
|
+
alias wifiOn='networksetup -setairportpower en0 on'
|
|
60
|
+
|
|
61
|
+
# Turn Wi-Fi off.
|
|
62
|
+
alias wifiOff='networksetup -setairportpower en0 off'
|
|
63
|
+
|
|
64
|
+
# xcode: Launch XCode app in macOS.
|
|
65
|
+
alias xcode='open -a xcode'
|
|
@@ -0,0 +1,28 @@
|
|
|
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 aliases for the `make` command.
|
|
17
|
+
|
|
18
|
+
- `mk` - Make.
|
|
19
|
+
- `mkc` - Make clean.
|
|
20
|
+
- `mkd` - Make doc.
|
|
21
|
+
- `mkf` - Make format.
|
|
22
|
+
- `mkh` - Make help.
|
|
23
|
+
- `mki` - Make install.
|
|
24
|
+
- `mka` - Make all.
|
|
25
|
+
- `mkr` - Make run.
|
|
26
|
+
- `mkt` - Make test.
|
|
27
|
+
|
|
28
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,15 +1,35 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
4
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
5
6
|
# License: MIT
|
|
6
7
|
|
|
7
8
|
# π
Όπ
°π
Ίπ
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
alias
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
alias
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
|
|
10
|
+
# mk - make
|
|
11
|
+
alias mk='make'
|
|
12
|
+
|
|
13
|
+
# mkc - make clean
|
|
14
|
+
alias mkc='make clean'
|
|
15
|
+
|
|
16
|
+
# mkd - make doc
|
|
17
|
+
alias mkd='make doc'
|
|
18
|
+
|
|
19
|
+
# mkf - make format
|
|
20
|
+
alias mkf='make format'
|
|
21
|
+
|
|
22
|
+
# mkh - make help
|
|
23
|
+
alias mkh='make help'
|
|
24
|
+
|
|
25
|
+
# mki - make install
|
|
26
|
+
alias mki='make install'
|
|
27
|
+
|
|
28
|
+
# mka - make all
|
|
29
|
+
alias mka='make all'
|
|
30
|
+
|
|
31
|
+
# mkr - make run
|
|
32
|
+
alias mkr='make run'
|
|
33
|
+
|
|
34
|
+
# mkt - make test
|
|
35
|
+
alias mkt='make test'
|
|
@@ -0,0 +1,26 @@
|
|
|
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 aliases for the `mkdir` command.
|
|
17
|
+
|
|
18
|
+
- `mcd` Make directory and cd into it.
|
|
19
|
+
- `mde` Make example directory with current date.
|
|
20
|
+
- `md` Make directory.
|
|
21
|
+
- `mdd` Make directory with date.
|
|
22
|
+
- `mdn` Make notes directory with current date.
|
|
23
|
+
- `mdw` Make work directory with current date.
|
|
24
|
+
- `mdt` Make directory with time.
|
|
25
|
+
|
|
26
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
#
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
4
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
5
6
|
# License: MIT
|
|
6
7
|
|
|
7
8
|
# π
Όπ
°π
Ίπ
΄π
³π
Έπ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
alias
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
alias
|
|
9
|
+
|
|
10
|
+
# Make directory and cd into it.
|
|
11
|
+
alias mcd='mkdir -pv && cd'
|
|
12
|
+
|
|
13
|
+
# Make example directory with current date.
|
|
14
|
+
alias mde='mkdir -pv "$(date +%Y%m%d)-example"'
|
|
15
|
+
|
|
16
|
+
# Make directory.
|
|
17
|
+
alias md='mkdir -v'
|
|
18
|
+
|
|
19
|
+
# Make directory with date.
|
|
20
|
+
alias mdd='mkdir -pv $(date +%Y%m%d) && cd $(date +%Y%m%d)'
|
|
21
|
+
|
|
22
|
+
# Make notes directory with current date.
|
|
23
|
+
alias mdn='mkdir -pv "$(date +%Y%m%d)-notes"'
|
|
24
|
+
|
|
25
|
+
# Make work directory with current date.
|
|
26
|
+
alias mdw='mkdir -pv "$(date +%Y%m%d)-work"'
|
|
27
|
+
|
|
28
|
+
# Make directory with time.
|
|
29
|
+
alias mdt='mkdir -pv $(date +%H%M%S)'
|
|
@@ -0,0 +1,37 @@
|
|
|
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 aliases for
|
|
17
|
+
[npm](https://www.npmjs.com/) package manager.
|
|
18
|
+
|
|
19
|
+
- `npa` Audit npm packages.
|
|
20
|
+
- `npb` Build npm script.
|
|
21
|
+
- `npc` Cache npm package.
|
|
22
|
+
- `npd` Dev npm script.
|
|
23
|
+
- `npg` Global npm package.
|
|
24
|
+
- `npi` Install npm package.
|
|
25
|
+
- `npl` List npm packages.
|
|
26
|
+
- `npp` Publish npm package.
|
|
27
|
+
- `nprm` Remove npm package.
|
|
28
|
+
- `npr` Run npm script.
|
|
29
|
+
- `nprw` Run npm script watch.
|
|
30
|
+
- `nps` Start npm script.
|
|
31
|
+
- `npsv` Serve npm script.
|
|
32
|
+
- `npt` Test npm script.
|
|
33
|
+
- `npu` Update npm package.
|
|
34
|
+
- `npx` Exec npm package.
|
|
35
|
+
- `npy` Why npm package.
|
|
36
|
+
|
|
37
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|