@sebastienrousseau/dotfiles 0.2.466 β 0.2.468
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 +19 -15
- package/dist/Makefile +2 -2
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/dotfiles.d.ts +2 -2
- package/dist/bin/dotfiles.d.ts.map +1 -1
- package/dist/bin/dotfiles.js +1 -2
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +1 -2
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/filesizes.txt +85 -87
- package/dist/lib/README.md +9 -5
- package/dist/lib/aliases/README.md +8 -4
- package/dist/lib/aliases/archives/README.md +29 -26
- package/dist/lib/aliases/archives/archives.aliases.sh +148 -145
- package/dist/lib/aliases/cd/README.md +46 -44
- package/dist/lib/aliases/cd/cd.aliases.sh +63 -29
- package/dist/lib/aliases/chmod/README.md +8 -4
- package/dist/lib/aliases/chmod/chmod.aliases.sh +60 -42
- package/dist/lib/aliases/clear/README.md +8 -4
- package/dist/lib/aliases/clear/clear.aliases.sh +57 -28
- package/dist/lib/aliases/configuration/README.md +8 -4
- package/dist/lib/aliases/configuration/configuration.aliases.sh +56 -30
- package/dist/lib/aliases/default/README.md +8 -4
- package/dist/lib/aliases/default/default.aliases.sh +99 -86
- package/dist/lib/aliases/dig/README.md +8 -4
- package/dist/lib/aliases/dig/dig.aliases.sh +3 -3
- package/dist/lib/aliases/disk-usage/README.md +8 -4
- package/dist/lib/aliases/disk-usage/du.aliases.sh +2 -2
- package/dist/lib/aliases/editor/README.md +8 -4
- package/dist/lib/aliases/editor/editor.aliases.sh +3 -3
- package/dist/lib/aliases/find/README.md +8 -4
- package/dist/lib/aliases/find/find.aliases.sh +3 -3
- package/dist/lib/aliases/gcloud/README.md +8 -4
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +3 -3
- package/dist/lib/aliases/git/README.md +8 -4
- package/dist/lib/aliases/git/git.aliases.sh +2 -2
- package/dist/lib/aliases/gnu/README.md +8 -4
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +1 -1
- package/dist/lib/aliases/heroku/README.md +8 -4
- package/dist/lib/aliases/heroku/heroku.aliases.sh +2 -2
- package/dist/lib/aliases/interactive/README.md +29 -17
- package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -17
- package/dist/lib/aliases/jekyll/README.md +8 -4
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +3 -3
- package/dist/lib/aliases/list/README.md +8 -4
- package/dist/lib/aliases/list/list.aliases.sh +2 -2
- package/dist/lib/aliases/macOS/README.md +8 -4
- package/dist/lib/aliases/macOS/macos.aliases.sh +2 -2
- package/dist/lib/aliases/make/README.md +8 -4
- package/dist/lib/aliases/make/make.aliases.sh +2 -2
- package/dist/lib/aliases/mkdir/README.md +8 -4
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
- package/dist/lib/aliases/npm/README.md +8 -4
- package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
- package/dist/lib/aliases/permission/README.md +8 -4
- package/dist/lib/aliases/permission/permission.aliases.sh +2 -2
- package/dist/lib/aliases/pnpm/README.md +8 -4
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +2 -2
- package/dist/lib/aliases/ps/README.md +8 -4
- package/dist/lib/aliases/ps/ps.aliases.sh +2 -2
- package/dist/lib/aliases/rsync/README.md +8 -4
- package/dist/lib/aliases/rsync/rsync.aliases.sh +2 -2
- package/dist/lib/aliases/rust/README.md +8 -4
- package/dist/lib/aliases/rust/rust.aliases.sh +23 -23
- package/dist/lib/aliases/subversion/README.md +8 -4
- package/dist/lib/aliases/subversion/subversion.aliases.sh +2 -2
- package/dist/lib/aliases/sudo/README.md +8 -4
- package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
- package/dist/lib/aliases/tmux/README.md +8 -4
- package/dist/lib/aliases/tmux/tmux.aliases.sh +2 -2
- package/dist/lib/aliases/update/README.md +8 -4
- package/dist/lib/aliases/update/update.aliases.sh +2 -2
- package/dist/lib/aliases/uuid/README.md +8 -4
- package/dist/lib/aliases/uuid/uuid.aliases.sh +2 -2
- package/dist/lib/aliases/wget/README.md +8 -4
- package/dist/lib/aliases/wget/wget.aliases.sh +2 -2
- package/dist/lib/aliases.sh +42 -12
- package/dist/lib/configurations/README.md +8 -4
- package/dist/lib/configurations/bash/bashrc +3 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +2 -2
- package/dist/lib/configurations/default/constants.sh +3 -3
- package/dist/lib/configurations/default/editor.sh +2 -2
- package/dist/lib/configurations/default/prompt.sh +2 -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 +2 -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/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +11 -11
- package/dist/lib/configurations.sh +27 -9
- package/dist/lib/functions/README.md +8 -4
- package/dist/lib/functions/cdls.sh +2 -2
- package/dist/lib/functions/curlheader.sh +2 -2
- package/dist/lib/functions/curlstatus.sh +2 -2
- package/dist/lib/functions/curltime.sh +3 -3
- package/dist/lib/functions/encode64.sh +2 -2
- package/dist/lib/functions/environment.sh +2 -2
- package/dist/lib/functions/extract.sh +2 -2
- package/dist/lib/functions/freespace.sh +2 -2
- package/dist/lib/functions/genpwd.sh +4 -4
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/hostinfo.sh +2 -2
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +2 -2
- package/dist/lib/functions/keygen.sh +2 -2
- package/dist/lib/functions/last.sh +2 -2
- package/dist/lib/functions/logout.sh +2 -2
- package/dist/lib/functions/lowercase.sh +2 -2
- package/dist/lib/functions/matrix.sh +2 -2
- package/dist/lib/functions/mount_read_only.sh +2 -2
- package/dist/lib/functions/myproc.sh +2 -2
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/ql.sh +2 -2
- package/dist/lib/functions/rd.sh +2 -2
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +2 -2
- package/dist/lib/functions/showhiddenfiles.sh +2 -2
- package/dist/lib/functions/size.sh +2 -2
- package/dist/lib/functions/stopwatch.sh +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/view-source.sh +2 -2
- package/dist/lib/functions/vscode.sh +2 -2
- package/dist/lib/functions/whoisport.sh +2 -2
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +27 -10
- package/dist/lib/history.sh +58 -21
- package/dist/lib/paths/ant/ant.paths.sh +2 -2
- package/dist/lib/paths/default/default.paths.sh +2 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
- package/dist/lib/paths/java/java.paths.sh +2 -2
- package/dist/lib/paths/maven/maven.paths.sh +2 -2
- package/dist/lib/paths/node/node.paths.sh +2 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/lib/paths/python/python.paths.sh +2 -2
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +2 -2
- package/dist/lib/paths.sh +28 -12
- package/dist/scripts/backup.sh +2 -2
- package/dist/scripts/banner.sh +2 -2
- package/dist/scripts/build.sh +2 -2
- package/dist/scripts/clean.sh +2 -2
- package/dist/scripts/compile.sh +2 -2
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +2 -2
- package/dist/scripts/download.sh +2 -2
- package/dist/scripts/help.sh +2 -2
- package/dist/scripts/ssh.sh +2 -2
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +6 -5
- package/dist/lib/configurations/tmux/vi +0 -9
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
#
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
3
|
+
################################################################################
|
|
4
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
7
5
|
# Script: configurations.sh
|
|
8
|
-
# Version: 0.2.
|
|
6
|
+
# Version: 0.2.468
|
|
7
|
+
# Author: @wwdseb
|
|
8
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
9
|
+
# Description: Script to manage shell configurations
|
|
9
10
|
# Website: https://dotfiles.io
|
|
11
|
+
# License: MIT
|
|
12
|
+
################################################################################
|
|
10
13
|
|
|
11
14
|
## π
²π
Ύπ
½π
΅π
Έπ
Άπππ
°ππ
Έπ
Ύπ
½π
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
# Function: load_custom_configurations
|
|
16
|
+
#
|
|
17
|
+
# Description:
|
|
18
|
+
# Loads custom shell configurations from the specified directory.
|
|
19
|
+
#
|
|
20
|
+
# Arguments:
|
|
21
|
+
# None
|
|
22
|
+
#
|
|
23
|
+
# Further Reading:
|
|
24
|
+
# ShellCheck Documentation: https://github.com/koalaman/shellcheck
|
|
25
|
+
|
|
26
|
+
load_custom_configurations() {
|
|
27
|
+
for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
|
|
28
|
+
# shellcheck source=/dev/null
|
|
29
|
+
source "${config}"
|
|
30
|
+
done
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
load_custom_configurations
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<!-- markdownlint-disable MD033 MD041 -->
|
|
1
|
+
<!-- markdownlint-disable MD033 MD041 MD043 -->
|
|
2
2
|
|
|
3
|
-
<img
|
|
4
|
-
|
|
3
|
+
<img
|
|
4
|
+
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
|
|
5
|
+
alt="dotfiles logo"
|
|
6
|
+
width="261"
|
|
7
|
+
align="right"
|
|
8
|
+
/>
|
|
5
9
|
|
|
6
10
|
<!-- markdownlint-enable MD033 MD041 -->
|
|
7
11
|
|
|
8
|
-
# Dotfiles (v0.2.
|
|
12
|
+
# Dotfiles (v0.2.468)
|
|
9
13
|
|
|
10
14
|
Simply designed to fit your shell life π
|
|
11
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# Function to combine cd and ls.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
## curlheader: Function to return only a specific response header or all response headers for a given URL.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
## curlstatus: Function to return only the HTTP status code for a given URL.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# https://dotfiles.io
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
# Description: Mac OS X Dotfiles - Simply designed to fit your shell life.
|
|
11
11
|
#
|
|
12
12
|
# Made with β₯ in London, UK by @wwdseb
|
|
13
|
-
# Copyright (c) 2015-
|
|
13
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
14
14
|
# Licensed under the MIT license
|
|
15
15
|
#
|
|
16
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# encode64: Function to encode a string to base64.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# environment: Function to detect the current environment
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# extract: Function to extract most know archives with one command
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# Erases purgeable disk space with 0s on the selected disk
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# Function to generates a strong random password of 27 characters
|
|
9
9
|
#!/usr/bin/env bash
|
|
10
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
10
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - https://dotfiles.io
|
|
11
11
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
12
|
-
# Copyright (c) 2015-
|
|
12
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
13
13
|
# License: MIT
|
|
14
14
|
|
|
15
15
|
# genpwd: Function to generates a strong random password of 20 characters (similar to Apple)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# goto: Function to change to the directory inputed
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# Hide hidden system and dotfile files
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# hostinfo: Function to display useful host related informaton
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# hstats: Function to display Ze Shell history stats informaton
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# httpdebug: Function to download a web page and show info on what took time
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# keygen: Function to generates SSH key
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# last: List the modified files within 60 minutes.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# logout: Function to logout from OS X via the Terminal
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# lowercase: Function to move filenames or directory names to lowercase
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# matrix: Function to Enable Matrix Effect in the terminal
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# mount_read_only: Function to mount a read-only disk image as read-write
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# myproc: Function to list processes owned by an user
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# ----------------------------------------------------------------------------
|
package/dist/lib/functions/ql.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# ql: Function to open any file in MacOS Quicklook Preview
|
package/dist/lib/functions/rd.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# rd: Function to remove a directory and its files
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# remove_disk: spin down unneeded disk
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# ren: Function to rename files extension.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# Show hidden system and dotfile files
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# size: Function to check a file size
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# stopwatch: Function for a stopwatch
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# uppercase: Function to move filenames or directory names to uppercase
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# view-source: Function to view the source of a website.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# vsc: Function to open a file in Visual Studio Code.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# whoisport: Function to find what is currently using a port.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
4
|
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-
|
|
5
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
# zipf: Function to create a ZIP archive of a folder
|
package/dist/lib/functions.sh
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
#
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
3
|
+
################################################################################
|
|
4
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
7
5
|
# Script: functions.sh
|
|
8
|
-
# Version: 0.2.
|
|
6
|
+
# Version: 0.2.468
|
|
7
|
+
# Author: @wwdseb
|
|
8
|
+
# Copyright (c) 2015-2024. All rights reserved
|
|
9
|
+
# Description: Script to load custom executable functions
|
|
9
10
|
# Website: https://dotfiles.io
|
|
11
|
+
# License: MIT
|
|
12
|
+
################################################################################
|
|
13
|
+
|
|
14
|
+
# Function: load_custom_functions
|
|
15
|
+
#
|
|
16
|
+
# Description:
|
|
17
|
+
# Loads custom executable functions from the specified directory.
|
|
18
|
+
#
|
|
19
|
+
# Arguments:
|
|
20
|
+
# None
|
|
21
|
+
#
|
|
22
|
+
# Further Reading:
|
|
23
|
+
# ShellCheck Documentation: https://github.com/koalaman/shellcheck
|
|
24
|
+
|
|
25
|
+
load_custom_functions() {
|
|
26
|
+
for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
|
|
27
|
+
# shellcheck source=/dev/null
|
|
28
|
+
source "${function}"
|
|
29
|
+
done
|
|
30
|
+
}
|
|
10
31
|
|
|
11
|
-
|
|
12
|
-
for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
|
|
13
|
-
# shellcheck source=/dev/null
|
|
14
|
-
source "${function}"
|
|
15
|
-
done
|
|
32
|
+
load_custom_functions
|