@sebastienrousseau/dotfiles 0.2.462 β 0.2.463
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 +2 -2
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/filesizes.txt +114 -92
- package/dist/lib/aliases/archives/README.md +84 -0
- package/dist/lib/aliases/archives/archives.aliases.sh +63 -19
- package/dist/lib/aliases/cd/README.md +46 -0
- package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
- package/dist/lib/aliases/chmod/README.md +70 -0
- package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
- package/dist/lib/aliases/clear/README.md +38 -0
- package/dist/lib/aliases/clear/clear.aliases.sh +36 -19
- package/dist/lib/aliases/configuration/README.md +46 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +39 -8
- package/dist/lib/aliases/default/README.md +62 -0
- package/dist/lib/aliases/default/default.aliases.sh +59 -35
- package/dist/lib/aliases/dig/README.md +50 -0
- package/dist/lib/aliases/dig/dig.aliases.sh +37 -10
- package/dist/lib/aliases/du/README.md +35 -0
- package/dist/lib/aliases/du/du.aliases.sh +37 -0
- package/dist/lib/aliases/editor/README.md +47 -0
- package/dist/lib/aliases/editor/editor.aliases.sh +36 -3
- package/dist/lib/aliases/find/README.md +29 -0
- package/dist/lib/aliases/find/find.aliases.sh +29 -19
- package/dist/lib/aliases/gcloud/README.md +148 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +142 -120
- package/dist/lib/aliases/git/git.aliases.sh +128 -522
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +288 -1028
- package/dist/lib/aliases/interactive/interactive.aliases.sh +2 -2
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +9 -47
- package/dist/lib/aliases/list/list.aliases.sh +30 -28
- package/dist/lib/aliases/make/make.aliases.sh +2 -2
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
- package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
- package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
- package/dist/lib/aliases/rsync/rsync.aliases.sh +6 -4
- package/dist/lib/aliases/rust/rust.aliases.sh +4 -4
- package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
- package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
- package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
- package/dist/lib/aliases/update/update.aliases.sh +7 -7
- package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
- package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
- package/dist/lib/aliases.sh +6 -3
- package/dist/lib/configurations/bash/bashrc +4 -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/tmux/vi +5 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +4 -3
- package/dist/lib/configurations.sh +6 -3
- package/dist/lib/functions/cdls.sh +2 -2
- package/dist/lib/functions/changediskpwd.tmp +3 -3
- package/dist/lib/functions/code.tmp +3 -3
- package/dist/lib/functions/countdown.tmp +2 -2
- package/dist/lib/functions/curlheader.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/genpwd.sh +2 -2
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/history-all.tmp +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/macos.sh +2 -2
- package/dist/lib/functions/matrix.sh +5 -5
- package/dist/lib/functions/mcd.tmp +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/print.tmp +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/rm.tmp +2 -2
- package/dist/lib/functions/rps.tmp +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/trash.tmp +2 -2
- package/dist/lib/functions/tree.tmp +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/uuidgen.tmp +1 -1
- 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 +6 -3
- package/dist/lib/history.sh +24 -21
- package/dist/lib/paths/ant/ant.paths.sh +4 -4
- 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 +5 -4
- package/dist/lib/paths/maven/maven.paths.sh +6 -5
- 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 +21 -16
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
- package/dist/lib/paths.sh +6 -3
- 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 +7 -7
- package/dist/lib/aliases/diskusage/diskusage.aliases.sh +0 -16
- package/dist/lib/aliases/gnu/gnucoreutls-aliases.sh +0 -111
- package/dist/lib/aliases/navigation/navigation.aliases.sh +0 -23
- package/dist/lib/aliases/permission/permission.aliases.sh +0 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
|
@@ -16,13 +16,14 @@ USER_LANGUAGE="en_GB.UTF-8" # default language.
|
|
|
16
16
|
|
|
17
17
|
## π
΄ππ
Ώπ
Ύπππ - Export the variables.
|
|
18
18
|
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
19
|
-
export DOTFILES_VERSION='0.2.
|
|
19
|
+
export DOTFILES_VERSION='0.2.463' # version of the dotfiles.
|
|
20
20
|
export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles.
|
|
21
21
|
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
22
22
|
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|
|
23
23
|
export LANG=${USER_LANGUAGE} # default language.
|
|
24
24
|
export LANGUAGE=${USER_LANGUAGE} # default language.
|
|
25
25
|
export LC_ALL=${USER_LANGUAGE} # default language.
|
|
26
|
+
export LC_CTYPE=${USER_LANGUAGE} # default language.
|
|
26
27
|
export OS_ARCH # machine hardware name.
|
|
27
28
|
export OS_NAME # operating system name.
|
|
28
29
|
export OS_VERSION # operating system version number.
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets configurations for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: configurations.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
## π
²π
Ύπ
½π
΅π
Έπ
Άπππ
°ππ
Έπ
Ύπ
½π
|
|
8
11
|
for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Function to combine cd and ls.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# https://dotfiles.io
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# Description: Mac OS X Dotfiles - Simply designed to fit your shell life.
|
|
10
10
|
#
|
|
11
11
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
12
|
-
# Copyright (c) 2015-
|
|
12
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
13
13
|
# Licensed under the MIT license
|
|
14
14
|
#
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# https://dotfiles.io
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# Description: Mac OS X Dotfiles - Simply designed to fit your shell life.
|
|
10
10
|
#
|
|
11
11
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
12
|
-
# Copyright (c) 2015-
|
|
12
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
13
13
|
# Licensed under the MIT license
|
|
14
14
|
#
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# countdown: Function for countdown
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## curlheader: Function to return only a specific response header or all response headers for a given URL.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# https://dotfiles.io
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
# Description: Mac OS X Dotfiles - Simply designed to fit your shell life.
|
|
10
10
|
#
|
|
11
11
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
12
|
-
# Copyright (c) 2015-
|
|
12
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
13
13
|
# Licensed under the MIT license
|
|
14
14
|
#
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# encode64: Function to encode a string to base64.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# environment: Function to detect the current environment
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# extract: Function to extract most know archives with one command
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# genpwd: Function to generates a strong random password of 20 characters (similar to Apple)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# goto: Function to change to the directory inputed
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Hide hidden system and dotfile files
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# history-all: Function to display the full view of the history command
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# hostinfo: Function to display useful host related informaton
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# hstats: Function to display Ze Shell history stats informaton
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# httpdebug: Function to download a web page and show info on what took time
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# keygen: Function to generates SSH key
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# last: List the modified files within 60 minutes.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# logout: Function to logout from OS X via the Terminal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# lowercase: Function to move filenames or directory names to lowercase
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# π
Όπ
°π
²π
Ύπ π
Ώπ
»ππ
Άπ
Έπ
½π
Ά π
°π
»π
Έπ
°ππ
΄π
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# matrix: Function to Enable Matrix Effect in the terminal
|
|
8
8
|
matrix() {
|
|
9
|
-
|
|
9
|
+
printf '\e[1;40m'
|
|
10
10
|
clear
|
|
11
|
-
while
|
|
12
|
-
echo $LINES $COLUMNS $((RANDOM % COLUMNS)) $((RANDOM % 72))
|
|
11
|
+
while : || true; do
|
|
12
|
+
echo "${LINES} ${COLUMNS} $((RANDOM % COLUMNS)) $((RANDOM % 72))"
|
|
13
13
|
sleep 0.05
|
|
14
14
|
done | awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}'
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# mcd: Function to combine mkdir and cd.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# mount_read_only: Function to mount a read-only disk image as read-write
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# myproc: Function to list processes owned by an user
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ----------------------------------------------------------------------------
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# print: Function to display the argument given
|
package/dist/lib/functions/ql.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ql: Function to open any file in MacOS Quicklook Preview
|
package/dist/lib/functions/rd.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# rd: Function to remove a directory and its files
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# remove_disk: spin down unneeded disk
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ren: Function to rename files extension.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# rm: Function to make 'rm' move files to the trash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Adapted from https://github.com/Ananta-Gupta/Rock-Paper-Scissors
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Show hidden system and dotfile files
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# size: Function to check a file size
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# stopwatch: Function for a stopwatch
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# trash: Function to moves a file to the MacOS trash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# tree: Function to generates a tree view from the current directory
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# uppercase: Function to move filenames or directory names to uppercase
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.452) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# uuid: Function to generate a UUID (Universally Unique IDentifier)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# view-source: Function to view the source of a website.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# vsc: Function to open a file in Visual Studio Code.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# whoisport: Function to find what is currently using a port.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# zipf: Function to create a ZIP archive of a folder
|
package/dist/lib/functions.sh
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets functions for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: functions.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
# Load custom executable functions
|
|
8
11
|
for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
|