@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
package/dist/lib/history.sh
CHANGED
|
@@ -1,52 +1,91 @@
|
|
|
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: history.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 history configuration and display
|
|
9
10
|
# Website: https://dotfiles.io
|
|
11
|
+
# License: MIT
|
|
12
|
+
################################################################################
|
|
13
|
+
|
|
14
|
+
# Function: dotfiles_history
|
|
15
|
+
#
|
|
16
|
+
# Description:
|
|
17
|
+
# Manages shell history configuration and display.
|
|
18
|
+
#
|
|
19
|
+
# Options:
|
|
20
|
+
# -c Clears the history file and removes duplicates.
|
|
21
|
+
# -l Lists history events. Accepts arguments similar to `fc` command.
|
|
22
|
+
#
|
|
23
|
+
# Further Reading:
|
|
24
|
+
# Zsh History Documentation: https://www.zsh.org/mla/users/2007/msg00366.html
|
|
25
|
+
# Bash History Builtins Documentation: https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#Bash-Builtins
|
|
10
26
|
|
|
11
|
-
# History wrapper
|
|
12
27
|
function dotfiles_history {
|
|
13
28
|
local clear_flag list_flag
|
|
14
29
|
zparseopts -E c=clear_flag l=list_flag
|
|
15
30
|
|
|
16
31
|
if [[ -n ${clear_flag} ]]; then
|
|
17
|
-
#
|
|
32
|
+
# Clear the history file and remove duplicates
|
|
18
33
|
fc -W
|
|
19
34
|
fc -R
|
|
20
|
-
echo "
|
|
35
|
+
echo "History file deleted and duplicates removed. Reload the session to see its effects." >&2
|
|
21
36
|
elif [[ -n ${list_flag} ]] || [[ $# -ne 0 ]]; then
|
|
22
37
|
# If -l flag is provided or arguments are passed, run as if calling `fc` directly
|
|
23
38
|
fc_output=$(builtin fc "$@")
|
|
24
39
|
printf '%s\n' "$(tput setaf 5)$(tput sgr0)$(tput setaf 2)$(echo "${fc_output//$'\e'/$(tput setaf 2)}" | sed -E "s/^([[:space:]]*[0-9]+)/$(tput setaf 2)\1$(tput sgr0)/")" || true
|
|
25
40
|
else
|
|
26
|
-
#
|
|
41
|
+
# Ensure the history file has no duplicates and show all history events starting from 1
|
|
27
42
|
fc -W # Remove duplicates from the history file
|
|
28
43
|
fc_output=$(builtin fc -li 1)
|
|
29
44
|
printf '%s\n' "$(tput setaf 5)$(tput sgr0)$(tput setaf 2)$(echo "${fc_output//$'\e'/$(tput setaf 2)}" | sed -E "s/^([[:space:]]*[0-9]+)/$(tput setaf 2)\1$(tput sgr0)/")" || true
|
|
30
45
|
fi
|
|
31
46
|
}
|
|
32
47
|
|
|
33
|
-
#
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
# Function: configure_history
|
|
49
|
+
#
|
|
50
|
+
# Description:
|
|
51
|
+
# Configures shell history settings and aliases.
|
|
52
|
+
#
|
|
53
|
+
# Further Reading:
|
|
54
|
+
# Zsh Options Documentation: https://zsh.sourceforge.io/Doc/Release/Options.html
|
|
55
|
+
# Bash shopt Documentation: https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
|
|
56
|
+
|
|
57
|
+
function configure_history() {
|
|
58
|
+
|
|
59
|
+
fc -W
|
|
60
|
+
|
|
61
|
+
# Alias to list recent commands
|
|
62
|
+
alias h='dotfiles_history'
|
|
63
|
+
|
|
64
|
+
# Alias to view history
|
|
65
|
+
alias history='dotfiles_history'
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
# Zsh Config
|
|
70
|
+
# ---------------------------------------------------------
|
|
71
|
+
# Explanation of Zsh options:
|
|
72
|
+
# - hist_ignore_space: Removes command lines from the history list when the first character on the line is a space.
|
|
73
|
+
# - hist_no_store: Removes the history command from the history list when invoked.
|
|
74
|
+
# - hist_reduce_blanks: Removes superfluous blanks from each command line being added to the history list.
|
|
41
75
|
|
|
42
76
|
export HISTFILE="${HOME}/.zsh_history" # History file
|
|
43
77
|
export HISTCONTROL="ignoreboth" # Ignore duplicate commands and commands that start with a space
|
|
44
78
|
export HISTSIZE="10000" # Number of commands to save in memory
|
|
45
79
|
export SAVEHIST="1000" # Number of commands to save on disk
|
|
46
80
|
|
|
81
|
+
# Bash Config
|
|
82
|
+
# ---------------------------------------------------------
|
|
83
|
+
# Explanation of Bash shopts:
|
|
84
|
+
# - histappend: Append to the history file, don't overwrite it.
|
|
85
|
+
# - histverify: Verify commands from history before executing them.
|
|
86
|
+
# - nocaseglob: Case insensitive globbing.
|
|
87
|
+
|
|
47
88
|
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
48
|
-
# echo "Running shell is zsh"
|
|
49
|
-
# Specifying some history options
|
|
50
89
|
setopt always_to_end # Move cursor to the end of a completed word.
|
|
51
90
|
setopt append_history # Sessions will append their history list to the history file, rather than replace it.
|
|
52
91
|
setopt auto_cd # cd to a directory if it's given without a command.
|
|
@@ -74,8 +113,6 @@ if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
|
74
113
|
setopt transient_rprompt # Display the right prompt only when the cursor is on the rightmost column.
|
|
75
114
|
|
|
76
115
|
elif [[ -n "${BASH_VERSION}" ]]; then
|
|
77
|
-
# echo "Running shell is bash"
|
|
78
|
-
# Shopt settings
|
|
79
116
|
shopt -s autocd # autocd - automatically cd to a directory when it is the only argument to a command
|
|
80
117
|
shopt -s cdspell # cdspell - spell check the path when changing directories.
|
|
81
118
|
shopt -s checkhash # checkhash - check hash table for commands before running them.
|
|
@@ -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
|
## π
°π
½π π
·π
Ύπ
Όπ
΄
|
|
@@ -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
|
## π
Ώπ
°ππ
·π
|
|
@@ -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
|
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
@@ -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
|
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
@@ -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
|
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
@@ -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
|
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
@@ -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
|
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
@@ -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
|
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
@@ -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
|
# π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
@@ -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
|
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
@@ -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/paths.sh
CHANGED
|
@@ -1,17 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
3
|
+
################################################################################
|
|
4
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
5
|
+
# Script: configurations.sh
|
|
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
|
+
################################################################################
|
|
13
|
+
|
|
14
|
+
## π
²π
Ύπ
½π
΅π
Έπ
Άπππ
°ππ
Έπ
Ύπ
½π
|
|
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
|
|
10
25
|
|
|
11
|
-
|
|
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
|
+
}
|
|
12
32
|
|
|
13
|
-
|
|
14
|
-
for file in "${HOME}"/.dotfiles/lib/paths/[!.#]*/*.sh; do
|
|
15
|
-
# shellcheck source=/dev/null
|
|
16
|
-
. "${file}"
|
|
17
|
-
done
|
|
33
|
+
load_custom_configurations
|
package/dist/scripts/backup.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
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/banner.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
|
## π
±π
°π
½π
½π
΄π - Display banner.
|
package/dist/scripts/build.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
|
# shellcheck disable=SC1091
|
package/dist/scripts/clean.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
|
## π
²π
»π
΄π
°π
½ - Clean up.
|
package/dist/scripts/compile.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
|
## π
²π
Ύπ
Όπ
Ώπ
Έπ
»π
΄ π
³π
Ύππ
΅π
Έπ
»π
΄π - Compile dotfiles.
|
package/dist/scripts/copy.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
|
## π
²π
Ύπ
Ώπ - Copy the dotfiles on your system.
|
package/dist/scripts/dotfiles.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
|
## π
Έπ
Όπ
Ώπ
Ύπππ - Importing constants and functions.
|
package/dist/scripts/download.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
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/help.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
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/ssh.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
|
## πππ
· - Generate a new SSH key and add it to the ssh-agent
|
package/dist/scripts/unpack.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
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/package.json
CHANGED
|
@@ -26,14 +26,15 @@
|
|
|
26
26
|
],
|
|
27
27
|
"description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^18.
|
|
30
|
-
"compressing": "^1.
|
|
29
|
+
"@types/node": "^18.19.17",
|
|
30
|
+
"compressing": "^1.10.0",
|
|
31
31
|
"filesizes": "^0.1.2",
|
|
32
32
|
"fs-extra": "11.1.1",
|
|
33
33
|
"husky": "^8.0.3",
|
|
34
34
|
"jsmin": "^1.0.1",
|
|
35
|
-
"rimraf": "^5.0.
|
|
36
|
-
"typescript": "^5.
|
|
35
|
+
"rimraf": "^5.0.5",
|
|
36
|
+
"typescript": "^5.3.3",
|
|
37
|
+
"winston": "^3.11.0"
|
|
37
38
|
},
|
|
38
39
|
"directories": {
|
|
39
40
|
"bin": "./bin",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
72
73
|
},
|
|
73
74
|
"types": "./dist/bin/index.d.ts",
|
|
74
|
-
"version": "0.2.
|
|
75
|
+
"version": "0.2.468",
|
|
75
76
|
"scripts": {
|
|
76
77
|
"build": "pnpm run backup && pnpm run copy && pnpm run assemble",
|
|
77
78
|
"backup": "chmod 755 \"./scripts/backup.sh\" && sh ./scripts/backup.sh backup",
|