@sebastienrousseau/dotfiles 0.2.463 β 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 +34 -8
- 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 +20 -26
- package/dist/lib/paths/ant/ant.paths.sh +9 -10
- 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 +12 -13
- 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 -7
- 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
|
@@ -1,50 +1,127 @@
|
|
|
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
|
# π
²π
°ππ
Άπ
Ύ π
°π
»π
Έπ
°ππ
΄π
|
|
9
|
+
|
|
8
10
|
if command -v 'cargo' >/dev/null; then
|
|
9
|
-
|
|
10
|
-
alias
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
alias
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
alias
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
alias
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
alias
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
alias
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
alias
|
|
29
|
-
|
|
30
|
-
|
|
11
|
+
# c: Cargo shortcut.
|
|
12
|
+
alias cg='cargo'
|
|
13
|
+
|
|
14
|
+
# cgb: Cargo build.
|
|
15
|
+
alias cgb='cg build'
|
|
16
|
+
|
|
17
|
+
# cgbh: Cargo bench.
|
|
18
|
+
alias cgbh='cg bench'
|
|
19
|
+
|
|
20
|
+
# cbr: Cargo build release.
|
|
21
|
+
alias cgbr='cg build --release'
|
|
22
|
+
|
|
23
|
+
# cgc: Cargo check.
|
|
24
|
+
alias cgc='cg check'
|
|
25
|
+
|
|
26
|
+
# cgcl: Cargo clean.
|
|
27
|
+
alias cgcl='cg clean'
|
|
28
|
+
|
|
29
|
+
# cgcy: Cargo clippy.
|
|
30
|
+
alias cgcy='cg clippy'
|
|
31
|
+
|
|
32
|
+
# cgd: Cargo doc.
|
|
33
|
+
alias cgd='cg doc --open'
|
|
34
|
+
|
|
35
|
+
# cgdr: Cargo doc release.
|
|
36
|
+
alias cgdr='cg doc --release'
|
|
37
|
+
|
|
38
|
+
# cgf: Cargo format.
|
|
39
|
+
alias cgf='cg fmt'
|
|
40
|
+
|
|
41
|
+
# cgi: Cargo install.
|
|
42
|
+
alias cgi='cg install'
|
|
43
|
+
|
|
44
|
+
# cginit: Cargo init.
|
|
45
|
+
alias cginit='cg init'
|
|
46
|
+
|
|
47
|
+
# cgn: Cargo new.
|
|
48
|
+
alias cgn='cg new'
|
|
49
|
+
|
|
50
|
+
# cgp: Cargo publish.
|
|
51
|
+
alias cgp='cg publish'
|
|
52
|
+
|
|
53
|
+
# cgr: Cargo run.
|
|
54
|
+
alias cgr='cg run'
|
|
55
|
+
|
|
56
|
+
# cgrr: Cargo run release.
|
|
57
|
+
alias cgrr='cg run --release'
|
|
58
|
+
|
|
59
|
+
# cgs: Cargo search.
|
|
60
|
+
alias cgs='cg search'
|
|
61
|
+
|
|
62
|
+
# cgt: Cargo test.
|
|
63
|
+
alias cgt='cg test'
|
|
64
|
+
|
|
65
|
+
# cgtr: Cargo test release.
|
|
66
|
+
alias cgtr='cg test --release'
|
|
67
|
+
|
|
68
|
+
# cgtt: Cargo tree.
|
|
69
|
+
alias cgtt='cg tree'
|
|
70
|
+
|
|
71
|
+
# cgu: Cargo update.
|
|
72
|
+
alias cgu='cg update'
|
|
73
|
+
|
|
74
|
+
# cgun: Cargo uninstall.
|
|
75
|
+
alias cgun='cg uninstall'
|
|
76
|
+
|
|
31
77
|
fi
|
|
32
78
|
|
|
33
79
|
# ππππππ
Ώ π
°π
»π
Έπ
°ππ
΄π
|
|
34
80
|
if command -v 'rustup' >/dev/null; then
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
alias
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
alias
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
alias
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
alias
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
alias
|
|
81
|
+
|
|
82
|
+
# Rustup update.
|
|
83
|
+
alias ru='rustup update'
|
|
84
|
+
|
|
85
|
+
# Rustup component add.
|
|
86
|
+
alias rca='rustup component add'
|
|
87
|
+
|
|
88
|
+
# Rustup component list.
|
|
89
|
+
alias rcl='rustup component list'
|
|
90
|
+
|
|
91
|
+
# Rustup component remove.
|
|
92
|
+
alias rcr='rustup component remove'
|
|
93
|
+
|
|
94
|
+
# Rustup default.
|
|
95
|
+
alias rde='rustup default'
|
|
96
|
+
|
|
97
|
+
# Run rustup nightly.
|
|
98
|
+
alias rnn='rustup run nightly'
|
|
99
|
+
|
|
100
|
+
# Run rustup stable.
|
|
101
|
+
alias rns='rustup run stable'
|
|
102
|
+
|
|
103
|
+
# Rustup target add.
|
|
104
|
+
alias rtaa='rustup target add'
|
|
105
|
+
|
|
106
|
+
# Rustup target list.
|
|
107
|
+
alias rtal='rustup target list'
|
|
108
|
+
|
|
109
|
+
# Rustup target remove.
|
|
110
|
+
alias rtar='rustup target remove'
|
|
111
|
+
|
|
112
|
+
# Rustup toolchain install.
|
|
113
|
+
alias rti='rustup toolchain install'
|
|
114
|
+
|
|
115
|
+
# Rustup toolchain list.
|
|
116
|
+
alias rtl='rustup toolchain list'
|
|
117
|
+
|
|
118
|
+
# Rustup toolchain uninstall.
|
|
119
|
+
alias rtu='rustup toolchain uninstall'
|
|
120
|
+
|
|
121
|
+
# Update rustup nightly.
|
|
122
|
+
alias ruc='rustup update nightly'
|
|
123
|
+
|
|
124
|
+
# Update rustup stable.
|
|
125
|
+
alias rus='rustup update stable'
|
|
126
|
+
|
|
50
127
|
fi
|
|
@@ -0,0 +1,62 @@
|
|
|
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 Subversion command line.
|
|
17
|
+
|
|
18
|
+
- `sad` Put new files and directories under version control.
|
|
19
|
+
- `sau` Manage cached authentication credentials.
|
|
20
|
+
- `sbl` Show when each line of a file was last (or next) changed.
|
|
21
|
+
- `scg` Associate (or dissociate) changelist CLNAME with the named
|
|
22
|
+
files.
|
|
23
|
+
- `sci` Send changes from your working copy to the repository.
|
|
24
|
+
- `scl` Either recover from an interrupted operation that left the
|
|
25
|
+
working copy locked, or remove unwanted files.
|
|
26
|
+
- `sco` Check out a working copy from a repository.
|
|
27
|
+
- `scp` Copy files and directories in a working copy or repository.
|
|
28
|
+
- `sct` Output the content of specified files or URLs.
|
|
29
|
+
- `sdi` Display local changes or differences between two revisions or
|
|
30
|
+
paths.
|
|
31
|
+
- `sdl` Remove files and directories from version control.
|
|
32
|
+
- `shp` Describe the usage of this program or its subcommands.
|
|
33
|
+
- `sin` Display information about a local or remote item.
|
|
34
|
+
- `sip` Commit an unversioned file or tree into the repository.
|
|
35
|
+
- `slg` Show the log messages for a set of revision(s) and/or path(s).
|
|
36
|
+
- `slk` Lock working copy paths or URLs in the repository, so that no
|
|
37
|
+
other user can commit changes to them.
|
|
38
|
+
- `sls` List directory entries in the repository.
|
|
39
|
+
- `smd` Create a new directory under version control.
|
|
40
|
+
- `smg` Merge changes into a working copy.
|
|
41
|
+
- `smgi` Display merge-related information.
|
|
42
|
+
- `smv` Move (rename) an item in a working copy or repository.
|
|
43
|
+
- `sp` Set the value of a property on files, dirs, or revisions.
|
|
44
|
+
- `spdl` Remove a property from files, dirs, or revisions.
|
|
45
|
+
- `spdt` Edit a property with an external editor.
|
|
46
|
+
- `spgt` Print the value of a property on files, dirs, or revisions.
|
|
47
|
+
- `sph` Apply a patch to a working copy.
|
|
48
|
+
- `spls` List all properties on files, dirs, or revisions.
|
|
49
|
+
- `srl` Relocate the working copy to point to a different repository
|
|
50
|
+
root URL.
|
|
51
|
+
- `srs` Resolve conflicts on working copy files or directories.
|
|
52
|
+
- `srsd` Remove 'conflicted' state on working copy files or directories.
|
|
53
|
+
- `srv` Restore pristine working copy state (undo local changes).
|
|
54
|
+
- `sst` Print the status of working copy files and directories.
|
|
55
|
+
- `ssw` Update the working copy to a different URL within the same
|
|
56
|
+
repository.
|
|
57
|
+
- `sulk` Unlock working copy paths or URLs.
|
|
58
|
+
- `sup` Bring changes from the repository into the working copy.
|
|
59
|
+
- `supg` Upgrade the metadata storage format for a working copy.
|
|
60
|
+
- `sxp` Create an unversioned copy of a tree.
|
|
61
|
+
|
|
62
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
if command -v 'svn' >/dev/null; then
|
|
9
10
|
alias sad='svn add' # sad: Put new files and directories under version control.
|
|
10
11
|
alias sau='svn auth' # sau: Manage cached authentication credentials.
|
|
@@ -0,0 +1,23 @@
|
|
|
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 `sudo` command.
|
|
17
|
+
|
|
18
|
+
- `root` Execute a command as the superuser.
|
|
19
|
+
- `s` Execute a command as the superuser.
|
|
20
|
+
- `su` Execute a command as the superuser.
|
|
21
|
+
- `sudo` Execute a command as the superuser.
|
|
22
|
+
|
|
23
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,11 +1,20 @@
|
|
|
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
|
-
|
|
9
|
+
|
|
10
|
+
# Execute a command as the superuser.
|
|
11
|
+
alias root='s'
|
|
12
|
+
|
|
13
|
+
# Execute a command as the superuser.
|
|
14
|
+
alias s='sudo -i'
|
|
15
|
+
|
|
16
|
+
# Execute a command as the superuser.
|
|
17
|
+
alias su='sudo su'
|
|
18
|
+
|
|
19
|
+
# Execute a command as the superuser.
|
|
20
|
+
alias sudo='s'
|
|
@@ -0,0 +1,27 @@
|
|
|
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 `tmux` command.
|
|
17
|
+
|
|
18
|
+
- `tm` Start tmux.
|
|
19
|
+
- `tma` Attach to a tmux session.
|
|
20
|
+
- `tmat` Attach to a tmux session with name.
|
|
21
|
+
- `tmks` Kill all tmux sessions.
|
|
22
|
+
- `tml` List tmux sessions.
|
|
23
|
+
- `tmn` Start a new tmux session.
|
|
24
|
+
- `tmns` Start a new tmux session with name.
|
|
25
|
+
- `tms` Start a new tmux session.
|
|
26
|
+
|
|
27
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,17 +1,36 @@
|
|
|
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
|
# ππ
Όππ π
°π
»π
Έπ
°ππ
΄π
|
|
9
|
+
|
|
8
10
|
if command -v 'tmux' >/dev/null; then
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
alias
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
alias
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
|
|
12
|
+
# Start tmux.
|
|
13
|
+
alias tm='tmux'
|
|
14
|
+
|
|
15
|
+
# Attach to a tmux session.
|
|
16
|
+
alias tma="tmux attach-session"
|
|
17
|
+
|
|
18
|
+
# Attach to a tmux session with name.
|
|
19
|
+
alias tmat="tmux attach-session -t"
|
|
20
|
+
|
|
21
|
+
# Kill all tmux sessions.
|
|
22
|
+
alias tmks='tmux kill-session -a'
|
|
23
|
+
|
|
24
|
+
# List tmux sessions.
|
|
25
|
+
alias tml='tmux list-sessions'
|
|
26
|
+
|
|
27
|
+
# Start a new tmux session.
|
|
28
|
+
alias tmn="tmux new-session"
|
|
29
|
+
|
|
30
|
+
# Start a new tmux session with name.
|
|
31
|
+
alias tmns="tmux new -s"
|
|
32
|
+
|
|
33
|
+
# Start a new tmux session.
|
|
34
|
+
alias tms='tmux new-session -s'
|
|
35
|
+
|
|
17
36
|
fi
|
|
@@ -0,0 +1,34 @@
|
|
|
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 updating various software on
|
|
17
|
+
macOS and Linux.
|
|
18
|
+
|
|
19
|
+
### macOS
|
|
20
|
+
|
|
21
|
+
- `upd` updates macOS software, Homebrew packages, Homebrew Casks, Mac
|
|
22
|
+
App Store apps, Rust stable toolchain, Ruby gems, Python packages,
|
|
23
|
+
and Node.js packages.
|
|
24
|
+
|
|
25
|
+
### Linux
|
|
26
|
+
|
|
27
|
+
- `open` opens a file or URL in the user's preferred application.
|
|
28
|
+
- `pbcopy` copies to clipboard.
|
|
29
|
+
- `pbpaste` pastes from clipboard.
|
|
30
|
+
- `upd` updates Linux packages, cleans up package cache, updates pnpm
|
|
31
|
+
packages, updates Rust stable toolchain, updates Ruby gems, updates
|
|
32
|
+
Python packages, and updates Node.js packages.
|
|
33
|
+
|
|
34
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,38 +1,69 @@
|
|
|
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
|
-
|
|
9
|
+
os_name="$(uname)"
|
|
10
|
+
|
|
11
|
+
if [[ "${os_name}" = "Darwin" ]]; then
|
|
12
|
+
alias upd="
|
|
13
|
+
echo \"β― Updating \${os_name}...\";
|
|
10
14
|
sudo softwareupdate -i -a;
|
|
15
|
+
echo 'β― Updating Homebrew...';
|
|
16
|
+
brew update && brew upgrade;
|
|
17
|
+
echo 'β― Updating pnpm packages...';
|
|
11
18
|
pnpm up;
|
|
19
|
+
echo 'β― Updating Rust stable toolchain...';
|
|
12
20
|
rustup update stable;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
brew doctor;
|
|
19
|
-
brew update;
|
|
20
|
-
brew upgrade;
|
|
21
|
-
brew cleanup;
|
|
21
|
+
echo 'β― Updating Homebrew Casks...';
|
|
22
|
+
brew cu -ayi || (brew tap buo/cask-upgrade && brew cu -ayi);
|
|
23
|
+
echo 'β― Cleaning up Homebrew...';
|
|
24
|
+
brew cleanup && brew doctor;
|
|
25
|
+
echo 'β― Updating Mac App Store apps...';
|
|
22
26
|
mas upgrade;
|
|
23
|
-
|
|
24
|
-
sudo gem cleanup;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
echo 'β― Updating Ruby gems...';
|
|
28
|
+
sudo gem update && sudo gem cleanup;
|
|
29
|
+
echo 'β― Updating Python packages...';
|
|
30
|
+
pip install --upgrade --user pip setuptools wheel;
|
|
31
|
+
update_outdated_pip_packages();
|
|
32
|
+
echo 'β― Updating Node.js packages...';
|
|
33
|
+
npm update -g;
|
|
34
|
+
echo 'β― Update complete!';
|
|
35
|
+
"
|
|
36
|
+
elif [[ "${os_name}" = "Linux" ]]; then
|
|
37
|
+
# Open a file or URL in the user's preferred application.
|
|
38
|
+
alias open="xdg-open >/dev/null 2>&1"
|
|
39
|
+
|
|
40
|
+
# Copy to clipboard.
|
|
41
|
+
alias pbcopy='xsel --clipboard --input'
|
|
42
|
+
|
|
43
|
+
# Paste from clipboard.
|
|
44
|
+
alias pbpaste='xsel --clipboard --output'
|
|
45
|
+
alias upd="
|
|
46
|
+
echo \"β― Updating \${os_name}...\";
|
|
47
|
+
sudo apt update && sudo apt upgrade -y;
|
|
48
|
+
echo 'β― Cleaning up package cache...';
|
|
49
|
+
sudo apt autoremove -y && sudo apt clean;
|
|
50
|
+
echo 'β― Updating pnpm packages...';
|
|
33
51
|
pnpm up;
|
|
52
|
+
echo 'β― Updating Rust stable toolchain...';
|
|
34
53
|
rustup update stable;
|
|
35
|
-
|
|
36
|
-
sudo gem cleanup;
|
|
37
|
-
|
|
54
|
+
echo 'β― Updating Ruby gems...';
|
|
55
|
+
sudo gem update && sudo gem cleanup;
|
|
56
|
+
echo 'β― Updating Python packages...';
|
|
57
|
+
pip install --upgrade --user pip setuptools wheel;
|
|
58
|
+
update_outdated_pip_packages();
|
|
59
|
+
echo 'β― Updating Node.js packages...';
|
|
60
|
+
npm update -g;
|
|
61
|
+
echo 'β― Update complete!';
|
|
62
|
+
"
|
|
38
63
|
fi
|
|
64
|
+
|
|
65
|
+
function update_outdated_pip_packages() {
|
|
66
|
+
pip list --user --outdated --format=columns |
|
|
67
|
+
awk 'NR>2 {print $1}' |
|
|
68
|
+
xargs -I{} pip install -U --user "{}" || true
|
|
69
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 `uuidgen` command.
|
|
17
|
+
|
|
18
|
+
- `uuid` Generate a UUID and copy it to the clipboard.
|
|
19
|
+
|
|
20
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,10 +1,19 @@
|
|
|
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
|
-
|
|
9
|
+
|
|
10
|
+
# uuid: Generate a UUID and copy it to the clipboard.
|
|
11
|
+
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
12
|
+
if command -v 'uuidgen' >/dev/null; then
|
|
13
|
+
# macOS
|
|
14
|
+
alias uuid="uuidgen | tr -d '\n' | tr '[:upper:]' '[:lower:]' | pbcopy && pbpaste && echo"
|
|
15
|
+
fi
|
|
16
|
+
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
17
|
+
# Linux
|
|
18
|
+
alias uuid="uuid | tr '[:upper:]' '[:lower:]' | xsel -ib && xsel -ob && echo"
|
|
10
19
|
fi
|
|
@@ -0,0 +1,23 @@
|
|
|
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 `wget` command.
|
|
17
|
+
|
|
18
|
+
- `wg` wget.
|
|
19
|
+
- `wgc` wget with continue.
|
|
20
|
+
- `wge` wget with robots=off.
|
|
21
|
+
- `wget` wget with continue.
|
|
22
|
+
|
|
23
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,13 +1,22 @@
|
|
|
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
|
if command -v 'wget' >/dev/null; then
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
alias
|
|
12
|
-
|
|
10
|
+
|
|
11
|
+
# wget.
|
|
12
|
+
alias wg='wget'
|
|
13
|
+
|
|
14
|
+
# wget with continue.
|
|
15
|
+
alias wgc='wg'
|
|
16
|
+
|
|
17
|
+
# wget with robots=off.
|
|
18
|
+
alias wge='wg -e robots=off'
|
|
19
|
+
|
|
20
|
+
# wget with continue.
|
|
21
|
+
alias wget='wget -c'
|
|
13
22
|
fi
|
package/dist/lib/aliases.sh
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.465) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by @wwdseb
|
|
3
5
|
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
-
# Description: Sets aliases for the current shell.
|
|
5
6
|
# License: MIT
|
|
6
7
|
# Script: aliases.sh
|
|
7
|
-
# Version: 0.2.
|
|
8
|
+
# Version: 0.2.465
|
|
8
9
|
# Website: https://dotfiles.io
|
|
9
10
|
|
|
10
11
|
## π
°π
»π
Έπ
°ππ
΄π
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- markdownlint-disable MD033 MD041 -->
|
|
2
2
|
|
|
3
|
-
|
|
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
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,6 +1,7 @@
|
|
|
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
|
|
|
@@ -16,7 +17,7 @@ USER=$(whoami) # current user name.
|
|
|
16
17
|
|
|
17
18
|
## π
΄ππ
Ώπ
Ύπππ - Export the variables.
|
|
18
19
|
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
19
|
-
export DOTFILES_VERSION='0.2.
|
|
20
|
+
export DOTFILES_VERSION='0.2.465' # version of the dotfiles.
|
|
20
21
|
export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles.
|
|
21
22
|
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
22
23
|
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|