@sebastienrousseau/dotfiles 0.2.468 β 0.2.469
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 +5 -5
- package/dist/Makefile +126 -43
- 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/filesizes.txt +146 -144
- package/dist/lib/README.md +79 -5
- package/dist/lib/aliases/README.md +44 -42
- package/dist/lib/aliases/archives/README.md +120 -34
- package/dist/lib/aliases/archives/archives.aliases.sh +106 -149
- package/dist/lib/aliases/cd/README.md +119 -38
- package/dist/lib/aliases/cd/cd.aliases.sh +37 -59
- package/dist/lib/aliases/chmod/README.md +146 -95
- package/dist/lib/aliases/chmod/chmod.aliases.sh +71 -55
- package/dist/lib/aliases/clear/README.md +2 -2
- package/dist/lib/aliases/clear/clear.aliases.sh +4 -4
- package/dist/lib/aliases/configuration/README.md +2 -2
- package/dist/lib/aliases/configuration/configuration.aliases.sh +3 -6
- package/dist/lib/aliases/default/README.md +2 -2
- package/dist/lib/aliases/default/default.aliases.sh +3 -3
- package/dist/lib/aliases/dig/README.md +2 -2
- package/dist/lib/aliases/dig/dig.aliases.sh +4 -4
- package/dist/lib/aliases/disk-usage/README.md +2 -2
- package/dist/lib/aliases/disk-usage/du.aliases.sh +2 -2
- package/dist/lib/aliases/editor/README.md +2 -2
- package/dist/lib/aliases/editor/editor.aliases.sh +4 -4
- package/dist/lib/aliases/find/README.md +2 -2
- package/dist/lib/aliases/find/find.aliases.sh +4 -4
- package/dist/lib/aliases/gcloud/README.md +2 -2
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +4 -4
- package/dist/lib/aliases/git/README.md +2 -2
- package/dist/lib/aliases/git/git.aliases.sh +3 -3
- package/dist/lib/aliases/gnu/README.md +2 -2
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +2 -2
- package/dist/lib/aliases/heroku/README.md +2 -2
- package/dist/lib/aliases/heroku/heroku.aliases.sh +3 -3
- package/dist/lib/aliases/interactive/README.md +2 -2
- package/dist/lib/aliases/interactive/interactive.aliases.sh +3 -3
- package/dist/lib/aliases/list/README.md +112 -23
- package/dist/lib/aliases/list/list.aliases.sh +130 -84
- package/dist/lib/aliases/macOS/README.md +2 -2
- package/dist/lib/aliases/macOS/macos.aliases.sh +3 -3
- package/dist/lib/aliases/make/README.md +2 -2
- package/dist/lib/aliases/make/make.aliases.sh +3 -3
- package/dist/lib/aliases/mkdir/README.md +2 -2
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +3 -3
- package/dist/lib/aliases/npm/README.md +2 -2
- package/dist/lib/aliases/npm/npm.aliases.sh +3 -3
- package/dist/lib/aliases/permission/README.md +2 -2
- package/dist/lib/aliases/permission/permission.aliases.sh +3 -3
- package/dist/lib/aliases/pnpm/README.md +2 -2
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
- package/dist/lib/aliases/ps/README.md +2 -2
- package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
- package/dist/lib/aliases/python/python.aliases.sh +141 -0
- package/dist/lib/aliases/rsync/README.md +2 -2
- package/dist/lib/aliases/rsync/rsync.aliases.sh +3 -3
- package/dist/lib/aliases/rust/README.md +165 -44
- package/dist/lib/aliases/rust/rust.aliases.sh +109 -117
- package/dist/lib/aliases/subversion/README.md +2 -2
- package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
- package/dist/lib/aliases/sudo/README.md +2 -2
- package/dist/lib/aliases/sudo/sudo.aliases.sh +3 -3
- package/dist/lib/aliases/tmux/README.md +2 -2
- package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
- package/dist/lib/aliases/update/README.md +2 -2
- package/dist/lib/aliases/update/update.aliases.sh +307 -66
- package/dist/lib/aliases/uuid/README.md +2 -2
- package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
- package/dist/lib/aliases/wget/README.md +2 -2
- package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
- package/dist/lib/aliases.sh +2 -2
- package/dist/lib/configurations/README.md +2 -2
- package/dist/lib/configurations/bash/bashrc +163 -35
- package/dist/lib/configurations/curl/curlrc +3 -6
- package/dist/lib/configurations/default/color.sh +3 -3
- package/dist/lib/configurations/default/constants.sh +4 -4
- package/dist/lib/configurations/default/editor.sh +3 -3
- package/dist/lib/configurations/default/prompt.sh +20 -11
- package/dist/lib/configurations/input/inputrc +3 -3
- package/dist/lib/configurations/nano/nanorc +3 -3
- package/dist/lib/configurations/profile/profile +3 -3
- package/dist/lib/configurations/prompt/prompt.sh +81 -0
- package/dist/lib/configurations/tmux/default +3 -3
- package/dist/lib/configurations/tmux/display +3 -3
- package/dist/lib/configurations/tmux/linux +3 -3
- package/dist/lib/configurations/tmux/navigation +3 -3
- package/dist/lib/configurations/tmux/panes +3 -3
- package/dist/lib/configurations/tmux/theme +4 -4
- package/dist/lib/configurations/tmux/tmux +3 -3
- package/dist/lib/configurations/vim/vimrc +191 -71
- package/dist/lib/configurations/wget/wgetrc +3 -3
- package/dist/lib/configurations/zsh/zshrc +3 -4
- package/dist/lib/configurations.sh +19 -7
- package/dist/lib/functions/README.md +68 -54
- package/dist/lib/functions/apihealth.sh +277 -0
- package/dist/lib/functions/apilatency.sh +157 -0
- package/dist/lib/functions/apiload.sh +165 -0
- package/dist/lib/functions/backup.sh +143 -0
- package/dist/lib/functions/cdls.sh +52 -6
- package/dist/lib/functions/curlheader.sh +66 -10
- package/dist/lib/functions/curlstatus.sh +64 -7
- package/dist/lib/functions/curltime.sh +56 -14
- package/dist/lib/functions/encode64.sh +87 -7
- package/dist/lib/functions/environment.sh +65 -25
- package/dist/lib/functions/extract.sh +79 -27
- package/dist/lib/functions/freespace.sh +55 -9
- package/dist/lib/functions/genpwd.sh +93 -29
- package/dist/lib/functions/goto.sh +59 -8
- package/dist/lib/functions/hexdump.sh +96 -0
- package/dist/lib/functions/hiddenfiles.sh +77 -0
- package/dist/lib/functions/hostinfo.sh +92 -21
- package/dist/lib/functions/hstats.sh +69 -5
- package/dist/lib/functions/httpdebug.sh +109 -5
- package/dist/lib/functions/kebabcase.sh +61 -0
- package/dist/lib/functions/keygen.sh +188 -25
- package/dist/lib/functions/last.sh +106 -5
- package/dist/lib/functions/logout.sh +114 -6
- package/dist/lib/functions/lowercase.sh +49 -17
- package/dist/lib/functions/matrix.sh +205 -30
- package/dist/lib/functions/mount_read_only.sh +3 -3
- package/dist/lib/functions/myproc.sh +3 -3
- package/dist/lib/functions/prependpath.sh +3 -3
- package/dist/lib/functions/ql.sh +3 -3
- package/dist/lib/functions/rd.sh +3 -3
- package/dist/lib/functions/remove_disk.sh +3 -3
- package/dist/lib/functions/ren.sh +68 -8
- package/dist/lib/functions/sentencecase.sh +63 -0
- package/dist/lib/functions/showhiddenfiles.sh +3 -3
- package/dist/lib/functions/size.sh +6 -5
- package/dist/lib/functions/snakecase.sh +61 -0
- package/dist/lib/functions/stopwatch.sh +3 -3
- package/dist/lib/functions/sysinfo.sh +145 -0
- package/dist/lib/functions/titlecase.sh +65 -0
- package/dist/lib/functions/uppercase.sh +51 -19
- package/dist/lib/functions/view-source.sh +3 -3
- package/dist/lib/functions/vscode.sh +3 -3
- package/dist/lib/functions/whoisport.sh +3 -3
- package/dist/lib/functions/zipf.sh +3 -3
- package/dist/lib/functions.sh +21 -7
- package/dist/lib/history.sh +36 -88
- package/dist/lib/paths/README.md +52 -0
- package/dist/lib/paths/custom.paths.sh +40 -0
- package/dist/lib/paths/default.paths.sh +37 -0
- package/dist/lib/paths.sh +27 -14
- package/dist/scripts/backup.sh +3 -3
- package/dist/scripts/banner.sh +3 -3
- package/dist/scripts/build.sh +3 -3
- package/dist/scripts/clean.sh +3 -3
- package/dist/scripts/compile.sh +3 -3
- package/dist/scripts/copy.sh +3 -3
- package/dist/scripts/dotfiles.sh +3 -3
- package/dist/scripts/download.sh +3 -3
- package/dist/scripts/help.sh +3 -3
- package/dist/scripts/ssh.sh +3 -3
- package/dist/scripts/unpack.sh +3 -3
- package/package.json +10 -10
- package/dist/lib/aliases/jekyll/README.md +0 -41
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +0 -54
- package/dist/lib/functions/filehead.sh +0 -4
- package/dist/lib/functions/hidehiddenfiles.sh +0 -14
- package/dist/lib/paths/ant/ant.paths.sh +0 -15
- package/dist/lib/paths/default/default.paths.sh +0 -19
- package/dist/lib/paths/homebrew/homebrew.paths.sh +0 -27
- package/dist/lib/paths/java/java.paths.sh +0 -19
- package/dist/lib/paths/maven/maven.paths.sh +0 -18
- package/dist/lib/paths/node/node.paths.sh +0 -15
- package/dist/lib/paths/nvm/nvm.paths.sh +0 -23
- package/dist/lib/paths/pnpm/pnpm.paths.sh +0 -15
- package/dist/lib/paths/python/python.paths.sh +0 -36
- package/dist/lib/paths/ruby/ruby.paths.sh +0 -25
- package/dist/lib/paths/tmux/tmux.paths.sh +0 -12
package/dist/lib/history.sh
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
################################################################################
|
|
4
4
|
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
5
5
|
# Script: history.sh
|
|
6
|
-
# Version: 0.2.
|
|
7
|
-
# Author:
|
|
8
|
-
# Copyright (c) 2015-
|
|
6
|
+
# Version: 0.2.469
|
|
7
|
+
# Author: Sebastien Rousseau
|
|
8
|
+
# Copyright (c) 2015-2025. All rights reserved
|
|
9
9
|
# Description: Script to manage shell history configuration and display
|
|
10
10
|
# Website: https://dotfiles.io
|
|
11
11
|
# License: MIT
|
|
@@ -24,22 +24,27 @@
|
|
|
24
24
|
# Zsh History Documentation: https://www.zsh.org/mla/users/2007/msg00366.html
|
|
25
25
|
# Bash History Builtins Documentation: https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#Bash-Builtins
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
local clear_flag list_flag
|
|
29
|
-
|
|
27
|
+
dotfiles_history() {
|
|
28
|
+
local clear_flag="" list_flag=""
|
|
29
|
+
|
|
30
|
+
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
31
|
+
zparseopts -E c=clear_flag l=list_flag || true
|
|
32
|
+
else
|
|
33
|
+
clear_flag=$( [[ "$1" == "-c" ]] && echo "1" || echo "" )
|
|
34
|
+
list_flag=$( [[ "$1" == "-l" ]] && echo "1" || echo "" )
|
|
35
|
+
fi
|
|
30
36
|
|
|
31
37
|
if [[ -n ${clear_flag} ]]; then
|
|
32
|
-
# Clear the history file and remove duplicates
|
|
33
38
|
fc -W
|
|
34
39
|
fc -R
|
|
35
40
|
echo "History file deleted and duplicates removed. Reload the session to see its effects." >&2
|
|
36
41
|
elif [[ -n ${list_flag} ]] || [[ $# -ne 0 ]]; then
|
|
37
|
-
|
|
42
|
+
local fc_output
|
|
38
43
|
fc_output=$(builtin fc "$@")
|
|
39
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
|
|
40
45
|
else
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
fc -W
|
|
47
|
+
local fc_output
|
|
43
48
|
fc_output=$(builtin fc -li 1)
|
|
44
49
|
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
|
|
45
50
|
fi
|
|
@@ -54,89 +59,32 @@ function dotfiles_history {
|
|
|
54
59
|
# Zsh Options Documentation: https://zsh.sourceforge.io/Doc/Release/Options.html
|
|
55
60
|
# Bash shopt Documentation: https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
62
|
+
configure_history() {
|
|
59
63
|
fc -W
|
|
60
64
|
|
|
61
|
-
# Alias to list recent commands
|
|
62
65
|
alias h='dotfiles_history'
|
|
63
|
-
|
|
64
|
-
# Alias to view history
|
|
65
66
|
alias history='dotfiles_history'
|
|
66
|
-
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
#
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
export
|
|
78
|
-
export
|
|
79
|
-
export
|
|
69
|
+
# Apply shell-specific configurations
|
|
70
|
+
apply_shell_configurations() {
|
|
71
|
+
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
72
|
+
setopt hist_ignore_space hist_no_store hist_reduce_blanks hist_expire_dups_first hist_save_no_dups append_history
|
|
73
|
+
export HISTFILE="${HOME}/.zsh_history"
|
|
74
|
+
export HISTSIZE="10000"
|
|
75
|
+
export SAVEHIST="1000"
|
|
76
|
+
elif [[ -n "${BASH_VERSION}" ]]; then
|
|
77
|
+
export HISTFILE="${HOME}/.bash_history"
|
|
78
|
+
export HISTCONTROL="ignoreboth"
|
|
79
|
+
export HISTSIZE="10000"
|
|
80
|
+
shopt -s histappend histverify nocaseglob dotglob
|
|
81
|
+
else
|
|
82
|
+
echo "Unsupported shell: ${SHELL}" >&2
|
|
83
|
+
exit 1
|
|
84
|
+
fi
|
|
85
|
+
}
|
|
80
86
|
|
|
81
|
-
#
|
|
87
|
+
# Main Execution
|
|
82
88
|
# ---------------------------------------------------------
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
# - histverify: Verify commands from history before executing them.
|
|
86
|
-
# - nocaseglob: Case insensitive globbing.
|
|
87
|
-
|
|
88
|
-
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
89
|
-
setopt always_to_end # Move cursor to the end of a completed word.
|
|
90
|
-
setopt append_history # Sessions will append their history list to the history file, rather than replace it.
|
|
91
|
-
setopt auto_cd # cd to a directory if it's given without a command.
|
|
92
|
-
setopt auto_list # Automatically list choices on ambiguous completion.
|
|
93
|
-
setopt auto_menu # Show completion menu on a successive tab press.
|
|
94
|
-
setopt auto_param_keys # Automatically complements parentheses
|
|
95
|
-
setopt auto_param_slash # If completed parameter is a directory, add a trailing slash.
|
|
96
|
-
setopt auto_pushd # Automatically push when cd
|
|
97
|
-
setopt auto_resume # Resume if you execute the same command name as the suspended process
|
|
98
|
-
setopt bang_hist # Perform textual history expansion
|
|
99
|
-
setopt complete_in_word # Complete from both ends of a word.
|
|
100
|
-
setopt correct # Enable command correction prompts
|
|
101
|
-
setopt extended_history # Save each commandβs beginning timestamp (in seconds since the epoch) and the duration (in seconds) to the history file.
|
|
102
|
-
setopt hist_beep # Beep in ZLE when a widget attempts to access a history entry which isnβt there.
|
|
103
|
-
setopt hist_expire_dups_first # Cause the oldest history event that has a duplicate to be lost before losing a unique event from the list.
|
|
104
|
-
setopt hist_ignore_space # Remove command lines from the history list when the first character on the line is a space, or when one of the expanded aliases contains a leading space.
|
|
105
|
-
setopt hist_no_store # Remove the history (fc -l) command from the history list when invoked.
|
|
106
|
-
setopt hist_reduce_blanks # Remove superfluous blanks from each command line being added to the history list.
|
|
107
|
-
setopt hist_save_no_dups # When writing out the history file, older commands that duplicate newer ones are omitted.
|
|
108
|
-
setopt hist_verify # Whenever the user enters a line with history expansion, donβt execute the line directly; instead, perform history expansion and reload the line into the editing buffer.
|
|
109
|
-
setopt list_packed # Display with complementary candidates packed
|
|
110
|
-
setopt list_types # Mark the file type in the completion candidate list
|
|
111
|
-
setopt pushd_ignore_dups # Donβt push multiple copies of the same directory onto the directory stack.
|
|
112
|
-
setopt share_history # Imports new commands from the history file, and also causes the typed commands to be appended to the history file
|
|
113
|
-
setopt transient_rprompt # Display the right prompt only when the cursor is on the rightmost column.
|
|
114
|
-
|
|
115
|
-
elif [[ -n "${BASH_VERSION}" ]]; then
|
|
116
|
-
shopt -s autocd # autocd - automatically cd to a directory when it is the only argument to a command
|
|
117
|
-
shopt -s cdspell # cdspell - spell check the path when changing directories.
|
|
118
|
-
shopt -s checkhash # checkhash - check hash table for commands before running them.
|
|
119
|
-
shopt -s checkjobs # checkjobs - check for stopped jobs after each command and report them to the user.
|
|
120
|
-
shopt -s checkwinsize # checkwinsize - check the window size after each command and, if necessary, update the values of LINES and COLUMNS.
|
|
121
|
-
shopt -s cmdhist # cmdhist - save multi-line commands as one entry in history.
|
|
122
|
-
shopt -s dirspell # dirspell - spell check the path when changing directories.
|
|
123
|
-
shopt -s dotglob # dotglob - include dotfiles in globbing.
|
|
124
|
-
shopt -s extglob # extglob - extended globbing.
|
|
125
|
-
shopt -s globstar # globstar - allow ** to match multiple directories.
|
|
126
|
-
shopt -s histappend # histappend - append to the history file, don't overwrite it.
|
|
127
|
-
shopt -s histverify # histverify - verify commands from history before executing them.
|
|
128
|
-
shopt -s hostcomplete # hostcomplete - complete hostnames when using the ssh command.
|
|
129
|
-
shopt -s lithist # lithist - save multi-line commands as one entry in history.
|
|
130
|
-
shopt -s huponexit # huponexit - send SIGHUP to jobs when the shell exits.
|
|
131
|
-
shopt -s no_empty_cmd_completion # no_empty_cmd_completion - don't complete empty commands.
|
|
132
|
-
shopt -s nocaseglob # nocaseglob - case insensitive globbing.
|
|
133
|
-
shopt -s nocasematch # nocasematch - case insensitive matching.
|
|
134
|
-
shopt -s nullglob # nullglob - if no matches are found, the pattern expands to nothing.
|
|
135
|
-
shopt -s progcomp # progcomp - programmable completion.
|
|
136
|
-
shopt -s promptvars # promptvars - allow prompt strings to contain shell variables.
|
|
137
|
-
shopt -s sourcepath # sourcepath - search the PATH for the directory containing a sourced script before using the current directory.
|
|
138
|
-
|
|
139
|
-
else
|
|
140
|
-
echo "Unsupported shell: ${SHELL}"
|
|
141
|
-
exit 1
|
|
142
|
-
fi
|
|
89
|
+
configure_history
|
|
90
|
+
apply_shell_configurations
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<img
|
|
2
|
+
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
|
|
3
|
+
alt="dotfiles logo"
|
|
4
|
+
width="66"
|
|
5
|
+
align="right"
|
|
6
|
+
/>
|
|
7
|
+
|
|
8
|
+
# Dotfiles Path Configuration Scripts
|
|
9
|
+
|
|
10
|
+
Simply designed to fit your shell life π
|
|
11
|
+
|
|
12
|
+
![Dotfiles banner][banner]
|
|
13
|
+
|
|
14
|
+
This repository includes two scripts designed to manage and customize the system `PATH` variable for enhanced environment configuration. The scripts are organized and detailed below.
|
|
15
|
+
|
|
16
|
+
## π Scripts List
|
|
17
|
+
|
|
18
|
+
<!-- markdownlint-disable MD013-->
|
|
19
|
+
|
|
20
|
+
### Path Configuration
|
|
21
|
+
|
|
22
|
+
| Script | Description | Usage |
|
|
23
|
+
| :---------------- | :----------------------------------------------- | :----------------------------- |
|
|
24
|
+
| `custom.paths.sh` | Configure custom paths for frameworks and tools. | `source custom.paths.sh` |
|
|
25
|
+
| `default.paths.sh`| Set default paths for common system utilities. | `source default.paths.sh` |
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
#### `custom.paths.sh`
|
|
30
|
+
|
|
31
|
+
- **System Paths:** Adds essential directories like `/usr/local/bin`, `/usr/bin`, etc.
|
|
32
|
+
- **Frameworks & Applications:** Adds paths for frameworks like Apple binaries, TeX Live, Cargo, Go, and Node.js.
|
|
33
|
+
- **Application-Specific Paths:** Configures paths for tools like Topaz Photo AI, Little Snitch, and iTerm.
|
|
34
|
+
- **Deduplication:** Ensures no duplicate entries in the `PATH` variable.
|
|
35
|
+
|
|
36
|
+
#### `default.paths.sh`
|
|
37
|
+
|
|
38
|
+
- **System Paths:** Sets up basic system directories like `/usr/local/bin`, `/usr/local/sbin`, `/usr/bin`, etc.
|
|
39
|
+
- **Homebrew Paths:** Includes paths for Homebrew binaries and sbin.
|
|
40
|
+
- **Ruby Paths:** Adds paths for Ruby binaries and gem directories, checking installation methods.
|
|
41
|
+
|
|
42
|
+
### Usage
|
|
43
|
+
|
|
44
|
+
| Command | Description |
|
|
45
|
+
| :-------------------------- | :------------------------------ |
|
|
46
|
+
| `source custom.paths.sh` | Apply custom path configuration.|
|
|
47
|
+
| `source default.paths.sh` | Apply default path configuration.|
|
|
48
|
+
| `echo $PATH` | Verify the current `PATH`. |
|
|
49
|
+
|
|
50
|
+
<!-- markdownlint-enable MD013-->
|
|
51
|
+
|
|
52
|
+
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. All rights reserved
|
|
6
|
+
# License: MIT
|
|
7
|
+
|
|
8
|
+
## π
Ώπ
°ππ
·π
|
|
9
|
+
|
|
10
|
+
# System paths
|
|
11
|
+
# Adding essential system directories to PATH
|
|
12
|
+
export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/sbin:${PATH}"
|
|
13
|
+
|
|
14
|
+
# Frameworks and Applications
|
|
15
|
+
# Add Apple binaries and TeX Live to PATH
|
|
16
|
+
export PATH="/Library/Apple/usr/bin:/Library/TeX/texbin:${PATH}"
|
|
17
|
+
|
|
18
|
+
# Add Cargo binaries to PATH (check version with: cargo --version)
|
|
19
|
+
export PATH="${HOME}/.cargo/bin:${PATH}"
|
|
20
|
+
|
|
21
|
+
# Add Go binaries to PATH (check version with: go version)
|
|
22
|
+
export PATH="${HOME}/go/bin:${PATH}"
|
|
23
|
+
|
|
24
|
+
# Add Node.js global modules binaries to PATH (check version with: node --version)
|
|
25
|
+
export PATH="${HOME}/.node_modules/bin:${PATH}"
|
|
26
|
+
|
|
27
|
+
# Application-specific paths
|
|
28
|
+
export PATH="/Applications/Topaz\ Photo\ AI.app/Contents/Resources/bin:/Applications/Little\ Snitch.app/Contents/Components:/Applications/iTerm.app/Contents/Resources/utilities:${PATH}"
|
|
29
|
+
|
|
30
|
+
# Deduplicate PATH entries
|
|
31
|
+
deduplicate_path() {
|
|
32
|
+
PATH=$(echo "$PATH" | awk -v RS=':' '!seen[$0]++ {ORS=(NR>1?":":"")} {print}')
|
|
33
|
+
export PATH
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
# Call the deduplication function
|
|
37
|
+
PATH=$(echo "$PATH" | awk -v RS=':' '!seen[$0]++ {ORS=(NR>1?":":"")} {print}')
|
|
38
|
+
export PATH
|
|
39
|
+
|
|
40
|
+
deduplicate_path
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. All rights reserved
|
|
6
|
+
# License: MIT
|
|
7
|
+
|
|
8
|
+
## π
Ώπ
°ππ
·π
|
|
9
|
+
|
|
10
|
+
### Add 'PATH' entries.
|
|
11
|
+
|
|
12
|
+
# System paths
|
|
13
|
+
export PATH=/usr/local/bin:"${PATH}"
|
|
14
|
+
export PATH=/usr/local/sbin:"${PATH}"
|
|
15
|
+
export PATH=/usr/bin:"${PATH}"
|
|
16
|
+
export PATH=/bin:"${PATH}"
|
|
17
|
+
export PATH=/sbin:"${PATH}"
|
|
18
|
+
|
|
19
|
+
# Homebrew paths
|
|
20
|
+
export PATH=/opt/homebrew/bin:"${PATH}"
|
|
21
|
+
export PATH=/opt/homebrew/sbin:"${PATH}"
|
|
22
|
+
|
|
23
|
+
# Ruby paths
|
|
24
|
+
|
|
25
|
+
# Add Ruby homebrew binaries to PATH (check version with: ruby --version)
|
|
26
|
+
if command -v /opt/homebrew/opt/ruby/bin/ruby >/dev/null; then
|
|
27
|
+
export PATH="/opt/homebrew/opt/ruby/bin/:${PATH}"
|
|
28
|
+
elif command -v /usr/bin/ruby >/dev/null; then
|
|
29
|
+
export PATH="/usr/bin/:${PATH}"
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
# Add Ruby gem binaries to PATH (check version with: gem --version)
|
|
33
|
+
export PATH="${HOME}/.gem/ruby/bin:${PATH}"
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
package/dist/lib/paths.sh
CHANGED
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
################################################################################
|
|
4
4
|
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
5
|
-
# Script:
|
|
6
|
-
# Version: 0.2.
|
|
7
|
-
# Author:
|
|
8
|
-
# Copyright (c) 2015-
|
|
9
|
-
# Description: Script to
|
|
5
|
+
# Script: paths.sh
|
|
6
|
+
# Version: 0.2.469
|
|
7
|
+
# Author: Sebastien Rousseau
|
|
8
|
+
# Copyright (c) 2015-2025. All rights reserved
|
|
9
|
+
# Description: Script to load custom paths
|
|
10
10
|
# Website: https://dotfiles.io
|
|
11
11
|
# License: MIT
|
|
12
12
|
################################################################################
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
# Function: load_custom_configurations
|
|
14
|
+
# Function: load_paths
|
|
16
15
|
#
|
|
17
16
|
# Description:
|
|
18
|
-
# Loads
|
|
17
|
+
# Loads all the paths from the specified directory.
|
|
19
18
|
#
|
|
20
19
|
# Arguments:
|
|
21
20
|
# None
|
|
@@ -23,11 +22,25 @@
|
|
|
23
22
|
# Further Reading:
|
|
24
23
|
# ShellCheck Documentation: https://github.com/koalaman/shellcheck
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
load_paths() {
|
|
26
|
+
local paths_dir="${HOME}/.dotfiles/lib/paths"
|
|
27
|
+
|
|
28
|
+
# Check if the directory exists
|
|
29
|
+
if [[ -d "$paths_dir" ]]; then
|
|
30
|
+
for path_file in "$paths_dir"/*.sh; do
|
|
31
|
+
if [[ -f "$path_file" ]]; then
|
|
32
|
+
# shellcheck source=/dev/null
|
|
33
|
+
source "$path_file" || {
|
|
34
|
+
echo "Error: Failed to source $path_file" >&2
|
|
35
|
+
return 1
|
|
36
|
+
}
|
|
37
|
+
fi
|
|
38
|
+
done
|
|
39
|
+
else
|
|
40
|
+
echo "Warning: Paths directory $paths_dir does not exist." >&2
|
|
41
|
+
fi
|
|
31
42
|
}
|
|
32
43
|
|
|
33
|
-
|
|
44
|
+
# Main Execution
|
|
45
|
+
# ---------------------------------------------------------
|
|
46
|
+
load_paths
|
package/dist/scripts/backup.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. 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.
|
|
4
|
-
# Made with β₯ in London, UK by
|
|
5
|
-
# Copyright (c) 2015-
|
|
3
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.469) - <https://dotfiles.io>
|
|
4
|
+
# Made with β₯ in London, UK by Sebastien Rousseau
|
|
5
|
+
# Copyright (c) 2015-2025. All rights reserved
|
|
6
6
|
# License: MIT
|
|
7
7
|
|
|
8
8
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/package.json
CHANGED
|
@@ -26,15 +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": "
|
|
30
|
-
"compressing": "
|
|
31
|
-
"filesizes": "
|
|
32
|
-
"fs-extra": "11.
|
|
33
|
-
"husky": "
|
|
29
|
+
"@types/node": "22.10.2",
|
|
30
|
+
"compressing": "1.10.1",
|
|
31
|
+
"filesizes": "0.1.2",
|
|
32
|
+
"fs-extra": "11.2.0",
|
|
33
|
+
"husky": "9.1.7",
|
|
34
34
|
"jsmin": "^1.0.1",
|
|
35
|
-
"rimraf": "
|
|
36
|
-
"typescript": "
|
|
37
|
-
"winston": "
|
|
35
|
+
"rimraf": "6.0.1",
|
|
36
|
+
"typescript": "5.7.2",
|
|
37
|
+
"winston": "3.17.0"
|
|
38
38
|
},
|
|
39
39
|
"directories": {
|
|
40
40
|
"bin": "./bin",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"scripts": "./scripts"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": "^
|
|
45
|
+
"node": "^23.4.0"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"dist/"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
73
73
|
},
|
|
74
74
|
"types": "./dist/bin/index.d.ts",
|
|
75
|
-
"version": "0.2.
|
|
75
|
+
"version": "0.2.469",
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "pnpm run backup && pnpm run copy && pnpm run assemble",
|
|
78
78
|
"backup": "chmod 755 \"./scripts/backup.sh\" && sh ./scripts/backup.sh backup",
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<!-- markdownlint-disable MD033 MD041 MD043 -->
|
|
2
|
-
|
|
3
|
-
<img
|
|
4
|
-
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
|
|
5
|
-
alt="dotfiles logo"
|
|
6
|
-
width="261"
|
|
7
|
-
align="right"
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
<!-- markdownlint-enable MD033 MD041 -->
|
|
11
|
-
|
|
12
|
-
# Dotfiles (v0.2.468)
|
|
13
|
-
|
|
14
|
-
Simply designed to fit your shell life π
|
|
15
|
-
|
|
16
|
-
![Dotfiles banner][banner]
|
|
17
|
-
|
|
18
|
-
## π
Ήπ
΄π
Ίππ
»π
» π
°π
»π
Έπ
°ππ
΄π
|
|
19
|
-
|
|
20
|
-
This code provides a set of aliases for
|
|
21
|
-
[Jekyll](https://jekyllrb.com/).
|
|
22
|
-
|
|
23
|
-
### 1. Jekyll Core aliases
|
|
24
|
-
|
|
25
|
-
#### 1.1 Jekyll development aliases
|
|
26
|
-
|
|
27
|
-
- `jkb` Performs a one off build your site to ./_site
|
|
28
|
-
- `jkc` Removes all generated files: destination folder, metadata file,
|
|
29
|
-
Sass and Jekyll caches
|
|
30
|
-
- `jkd` Does a development build of the site to '_site' and runs a local
|
|
31
|
-
development server
|
|
32
|
-
- `jkl` Does a development build of the site to '_site' and runs a local
|
|
33
|
-
development server
|
|
34
|
-
- `jko` Open local development server
|
|
35
|
-
|
|
36
|
-
#### 1.2 Jekyll release aliases
|
|
37
|
-
|
|
38
|
-
- `jkp` Does a production build of the site to '_site' and runs a local
|
|
39
|
-
development server
|
|
40
|
-
|
|
41
|
-
[banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2024. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
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-2024. 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'
|
|
54
|
-
fi
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.468) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2024. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
# Hide hidden system and dotfile files
|
|
9
|
-
hidehiddenfiles() {
|
|
10
|
-
defaults write com.apple.Finder AppleShowAllFiles NO
|
|
11
|
-
osascript -e 'tell application "Finder" to quit'
|
|
12
|
-
sleep 0.25
|
|
13
|
-
osascript -e 'tell application "Finder" to activate'
|
|
14
|
-
}
|