From 8450078a73baf947ddd51362824ff430f18f5ea9 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Mon, 10 Oct 2022 19:17:33 +0100 Subject: [PATCH 01/22] 0.2.458 --- .editorconfig | 2 +- .gitignore | 2 +- .npmrc | 2 +- COPYRIGHT | 2 +- Makefile | 2 +- README.md | 8 ++++---- bin/backup.js | 2 +- bin/compile.sh | 2 +- bin/constants.js | 6 +++--- bin/copy.js | 2 +- bin/copy.sh | 2 +- bin/dotfiles.js | 2 +- bin/dotfiles.sh | 4 ++-- bin/download.js | 2 +- bin/index.js | 2 +- bin/transfer.js | 2 +- bin/unpack.js | 2 +- docs/README.md | 8 ++++---- package.json | 2 +- shell/aliases.sh | 2 +- shell/aliases/default/default.aliases.sh | 2 +- shell/aliases/gcloud/gcloud.aliases.sh | 2 +- shell/aliases/git/git.aliases.tmp | 2 +- shell/aliases/heroku/heroku.aliases.sh | 2 +- shell/aliases/jekyll/jekyll.aliases.sh | 2 +- shell/aliases/pnpm/pnpm.aliases.sh | 2 +- shell/aliases/subversion/subversion.aliases.sh | 2 +- shell/aliases/tmux/tmux.aliases.sh | 2 +- shell/configurations.sh | 2 +- shell/configurations/bash/bashrc | 4 ++-- shell/configurations/curl/curlrc | 2 +- shell/configurations/default/color.sh | 2 +- shell/configurations/default/editor.sh | 2 +- shell/configurations/default/prompt.sh | 2 +- shell/configurations/input/inputrc | 2 +- shell/configurations/profile/profile | 2 +- shell/configurations/tmux/tmux | 2 +- shell/configurations/vim/vimrc | 2 +- shell/configurations/wget/wgetrc | 2 +- shell/configurations/zsh/zshrc | 4 ++-- shell/exit.sh | 2 +- shell/functions.sh | 2 +- shell/functions/cdls.sh | 2 +- shell/functions/changediskpwd.tmp | 2 +- shell/functions/code.tmp | 2 +- shell/functions/countdown.tmp | 2 +- shell/functions/curlheader.sh | 2 +- shell/functions/curltime.sh | 2 +- shell/functions/encode64.sh | 2 +- shell/functions/environment.sh | 2 +- shell/functions/extract.sh | 2 +- shell/functions/genpwd.sh | 2 +- shell/functions/goto.sh | 2 +- shell/functions/hidehiddenfiles.sh | 2 +- shell/functions/history-all.tmp | 2 +- shell/functions/hostinfo.sh | 2 +- shell/functions/hstats.sh | 2 +- shell/functions/httpdebug.sh | 2 +- shell/functions/keygen.sh | 2 +- shell/functions/last.sh | 2 +- shell/functions/logout.sh | 2 +- shell/functions/lowercase.sh | 2 +- shell/functions/macos.sh | 2 +- shell/functions/matrix.sh | 2 +- shell/functions/mcd.sh | 2 +- shell/functions/mount_read_only.sh | 2 +- shell/functions/myproc.sh | 2 +- shell/functions/prependpath.sh | 2 +- shell/functions/print.tmp | 2 +- shell/functions/ql.sh | 2 +- shell/functions/rd.sh | 2 +- shell/functions/remove_disk.sh | 2 +- shell/functions/ren.sh | 2 +- shell/functions/rm.tmp | 2 +- shell/functions/rps.tmp | 2 +- shell/functions/showhiddenfiles.sh | 2 +- shell/functions/size.sh | 2 +- shell/functions/stopwatch.sh | 2 +- shell/functions/trash.tmp | 2 +- shell/functions/tree.tmp | 2 +- shell/functions/uppercase.sh | 2 +- shell/functions/view-source.sh | 2 +- shell/functions/vscode.sh | 2 +- shell/functions/whoisport.sh | 2 +- shell/functions/zipf.sh | 2 +- shell/history.sh | 2 +- shell/paths.sh | 2 +- shell/paths/ant/ant.paths.sh | 2 +- shell/paths/default/default.paths.sh | 2 +- shell/paths/homebrew/homebrew.paths.sh | 2 +- shell/paths/java/java.paths.sh | 2 +- shell/paths/maven/maven.paths.sh | 2 +- shell/paths/node/node.paths.sh | 2 +- shell/paths/nvm/nvm.paths.sh | 2 +- shell/paths/pnpm/pnpm.paths.sh | 2 +- shell/paths/python/python.paths.sh | 2 +- shell/paths/ruby/ruby.paths.sh | 2 +- shell/paths/tmux/tmux.paths.sh | 2 +- 98 files changed, 109 insertions(+), 109 deletions(-) diff --git a/.editorconfig b/.editorconfig index b84979c9..e38c47b7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/.gitignore b/.gitignore index 2101b72f..38cfdaa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/.npmrc b/.npmrc index 94462072..7a380003 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT registry=https://npm.pkg.github.com/sebastienrousseau diff --git a/COPYRIGHT b/COPYRIGHT index aff0b407..555a4436 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,5 +1,5 @@ /* -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/Makefile b/Makefile index 0929759d..2753a24b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ #!/usr/bin/env make -f -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/README.md b/README.md index 59beb39f..e6a69b9b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ β€’ [Request Feature][issues] β€’ [Contributing Guidelines][contributing]** -## πŸ‘‹ Welcome to Dotfiles (v0.2.457) +## πŸ‘‹ Welcome to Dotfiles (v0.2.458) ### Simply designed to fit your shell life @@ -22,7 +22,7 @@ aimed at making your life easier by providing a set of scripts and configuration files with new ways to get things done. [![Getting Started][getting_started]][getting-started] -[![Download Dotfiles v0.2.457][download_button]][download] +[![Download Dotfiles v0.2.458][download_button]][download] Dotfiles aggregates a collection of standalone configuration files (dotfiles) combined into a `shell` directory that can be used to customize your development @@ -101,7 +101,7 @@ The following programs must be installed on your system to install Dotfiles: ### 1️⃣ Download Dotfiles -You can download the latest version (v0.2.457) with the following options: +You can download the latest version (v0.2.458) with the following options: - [**Manual download**][releases] - **The easiest way to install Dotfiles.** - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles) @@ -427,7 +427,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md [curl]: https://curl.se/ [docs]: https://github.com/sebastienrousseau/dotfiles/docs -[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.457.tar.gz +[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.458.tar.gz [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started [git]: https://git-scm.com/ [github]: https://github.com/sebastienrousseau/dotfiles diff --git a/bin/backup.js b/bin/backup.js index 7d6a85df..8a2c4638 100644 --- a/bin/backup.js +++ b/bin/backup.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/compile.sh b/bin/compile.sh index 6cde0a4a..426606c8 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/bin/constants.js b/bin/constants.js index 3cfd7a05..379c0afb 100644 --- a/bin/constants.js +++ b/bin/constants.js @@ -1,12 +1,12 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ // πŸ…²πŸ…ΎπŸ…½πŸ†‚πŸ†ƒπŸ…°πŸ…½πŸ†ƒπŸ†‚ - Constants. -const version = "dotfiles-0.2.457.tgz"; -const dotfile ="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.457.tgz"; +const version = "dotfiles-0.2.458.tgz"; +const dotfile ="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.458.tgz"; const aliases = [ ".bashrc", diff --git a/bin/copy.js b/bin/copy.js index 430ceff0..7f34ca4c 100644 --- a/bin/copy.js +++ b/bin/copy.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/copy.sh b/bin/copy.sh index 18424ac4..f87ef58a 100755 --- a/bin/copy.sh +++ b/bin/copy.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/bin/dotfiles.js b/bin/dotfiles.js index 8e684914..011a0b48 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/dotfiles.sh b/bin/dotfiles.sh index 9ea9290c..bef6fef1 100755 --- a/bin/dotfiles.sh +++ b/bin/dotfiles.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT @@ -10,7 +10,7 @@ BIRed='\033[1;91m' # Red color. DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles. DOWNLOADDIR="${HOME}/Downloads" # Download directory. NC='\033[0m' # Reset/No Color -VERSION="0.2.457" # Dotfiles Version number. +VERSION="0.2.458" # Dotfiles Version number. ## πŸ…±πŸ…°πŸ…²πŸ…ΊπŸ†„πŸ…Ώ - Backup existing files. backup() { diff --git a/bin/download.js b/bin/download.js index 9c249c37..a2aa9a75 100644 --- a/bin/download.js +++ b/bin/download.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/index.js b/bin/index.js index ce3acdb5..9e9db197 100644 --- a/bin/index.js +++ b/bin/index.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/transfer.js b/bin/transfer.js index 31b1763d..c60bcc91 100644 --- a/bin/transfer.js +++ b/bin/transfer.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/bin/unpack.js b/bin/unpack.js index 58018849..6634ab56 100644 --- a/bin/unpack.js +++ b/bin/unpack.js @@ -1,5 +1,5 @@ /** -* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +* πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io * Copyright (c) Sebastien Rousseau 2022. All rights reserved * License: MIT */ diff --git a/docs/README.md b/docs/README.md index 59beb39f..e6a69b9b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,7 +13,7 @@ β€’ [Request Feature][issues] β€’ [Contributing Guidelines][contributing]** -## πŸ‘‹ Welcome to Dotfiles (v0.2.457) +## πŸ‘‹ Welcome to Dotfiles (v0.2.458) ### Simply designed to fit your shell life @@ -22,7 +22,7 @@ aimed at making your life easier by providing a set of scripts and configuration files with new ways to get things done. [![Getting Started][getting_started]][getting-started] -[![Download Dotfiles v0.2.457][download_button]][download] +[![Download Dotfiles v0.2.458][download_button]][download] Dotfiles aggregates a collection of standalone configuration files (dotfiles) combined into a `shell` directory that can be used to customize your development @@ -101,7 +101,7 @@ The following programs must be installed on your system to install Dotfiles: ### 1️⃣ Download Dotfiles -You can download the latest version (v0.2.457) with the following options: +You can download the latest version (v0.2.458) with the following options: - [**Manual download**][releases] - **The easiest way to install Dotfiles.** - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles) @@ -427,7 +427,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md [curl]: https://curl.se/ [docs]: https://github.com/sebastienrousseau/dotfiles/docs -[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.457.tar.gz +[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.458.tar.gz [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started [git]: https://git-scm.com/ [github]: https://github.com/sebastienrousseau/dotfiles diff --git a/package.json b/package.json index f32e598a..4bd75c22 100644 --- a/package.json +++ b/package.json @@ -107,5 +107,5 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "types": "./dist/bin/index.d.ts", - "version": "0.2.457" + "version": "0.2.458" } diff --git a/shell/aliases.sh b/shell/aliases.sh index 81df6f4e..5945b987 100644 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/default/default.aliases.sh b/shell/aliases/default/default.aliases.sh index 5656ed86..c54f76d5 100644 --- a/shell/aliases/default/default.aliases.sh +++ b/shell/aliases/default/default.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/gcloud/gcloud.aliases.sh b/shell/aliases/gcloud/gcloud.aliases.sh index 26eb22f8..bb030332 100644 --- a/shell/aliases/gcloud/gcloud.aliases.sh +++ b/shell/aliases/gcloud/gcloud.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/git/git.aliases.tmp b/shell/aliases/git/git.aliases.tmp index 667ea16c..01926168 100644 --- a/shell/aliases/git/git.aliases.tmp +++ b/shell/aliases/git/git.aliases.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/heroku/heroku.aliases.sh b/shell/aliases/heroku/heroku.aliases.sh index fce9a55c..49c7be7f 100644 --- a/shell/aliases/heroku/heroku.aliases.sh +++ b/shell/aliases/heroku/heroku.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/jekyll/jekyll.aliases.sh b/shell/aliases/jekyll/jekyll.aliases.sh index 60899632..9e73ded5 100644 --- a/shell/aliases/jekyll/jekyll.aliases.sh +++ b/shell/aliases/jekyll/jekyll.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/pnpm/pnpm.aliases.sh b/shell/aliases/pnpm/pnpm.aliases.sh index 04f59e27..e6b44f65 100644 --- a/shell/aliases/pnpm/pnpm.aliases.sh +++ b/shell/aliases/pnpm/pnpm.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/subversion/subversion.aliases.sh b/shell/aliases/subversion/subversion.aliases.sh index 452d88d0..5b4a7691 100644 --- a/shell/aliases/subversion/subversion.aliases.sh +++ b/shell/aliases/subversion/subversion.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/aliases/tmux/tmux.aliases.sh b/shell/aliases/tmux/tmux.aliases.sh index 8b71d0f7..74f75f2c 100644 --- a/shell/aliases/tmux/tmux.aliases.sh +++ b/shell/aliases/tmux/tmux.aliases.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations.sh b/shell/configurations.sh index 6f40da3b..f46fc0a8 100644 --- a/shell/configurations.sh +++ b/shell/configurations.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/bash/bashrc b/shell/configurations/bash/bashrc index b66a0e81..2bad8c7b 100644 --- a/shell/configurations/bash/bashrc +++ b/shell/configurations/bash/bashrc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT @@ -15,7 +15,7 @@ USER=$(whoami) # current user name. ## πŸ…΄πŸ†‡πŸ…ΏπŸ…ΎπŸ†πŸ†ƒπŸ†‚ - Export the variables. export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine. -export DOTFILES_VERSION='0.2.457' # version of the dotfiles. +export DOTFILES_VERSION='0.2.458' # version of the dotfiles. export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles. export HOSTNAME=${HOSTNAME} # hostname of the machine. export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected) diff --git a/shell/configurations/curl/curlrc b/shell/configurations/curl/curlrc index 3c84ec66..4e052c1b 100644 --- a/shell/configurations/curl/curlrc +++ b/shell/configurations/curl/curlrc @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/default/color.sh b/shell/configurations/default/color.sh index 3005b543..3bcc0524 100644 --- a/shell/configurations/default/color.sh +++ b/shell/configurations/default/color.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/default/editor.sh b/shell/configurations/default/editor.sh index 3d5bd531..ad04c736 100644 --- a/shell/configurations/default/editor.sh +++ b/shell/configurations/default/editor.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/default/prompt.sh b/shell/configurations/default/prompt.sh index fd3200d5..39d77281 100644 --- a/shell/configurations/default/prompt.sh +++ b/shell/configurations/default/prompt.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/input/inputrc b/shell/configurations/input/inputrc index c23c734f..6069672f 100644 --- a/shell/configurations/input/inputrc +++ b/shell/configurations/input/inputrc @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/profile/profile b/shell/configurations/profile/profile index 48e0dacf..a39feda9 100644 --- a/shell/configurations/profile/profile +++ b/shell/configurations/profile/profile @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/tmux/tmux b/shell/configurations/tmux/tmux index f5a7a9be..0b688e6e 100644 --- a/shell/configurations/tmux/tmux +++ b/shell/configurations/tmux/tmux @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/vim/vimrc b/shell/configurations/vim/vimrc index bfecb478..61d9d1af 100644 --- a/shell/configurations/vim/vimrc +++ b/shell/configurations/vim/vimrc @@ -1,4 +1,4 @@ -" πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +" πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io " Copyright (c) Sebastien Rousseau 2022. All rights reserved " License: MIT diff --git a/shell/configurations/wget/wgetrc b/shell/configurations/wget/wgetrc index 70dac90c..c0e4ca8f 100644 --- a/shell/configurations/wget/wgetrc +++ b/shell/configurations/wget/wgetrc @@ -1,4 +1,4 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/configurations/zsh/zshrc b/shell/configurations/zsh/zshrc index 8be76d06..72bedf9e 100644 --- a/shell/configurations/zsh/zshrc +++ b/shell/configurations/zsh/zshrc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT @@ -15,7 +15,7 @@ USER=$(whoami) # current user name. ## πŸ…΄πŸ†‡πŸ…ΏπŸ…ΎπŸ†πŸ†ƒπŸ†‚ - Export the variables. export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine. -export DOTFILES_VERSION='0.2.457' # version of the dotfiles. +export DOTFILES_VERSION='0.2.458' # version of the dotfiles. export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles. export HOSTNAME=${HOSTNAME} # hostname of the machine. export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected) diff --git a/shell/exit.sh b/shell/exit.sh index b3e0eb7d..ff6115fc 100644 --- a/shell/exit.sh +++ b/shell/exit.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions.sh b/shell/functions.sh index dbaf1849..89de5387 100644 --- a/shell/functions.sh +++ b/shell/functions.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/cdls.sh b/shell/functions/cdls.sh index ab055811..4182c92f 100644 --- a/shell/functions/cdls.sh +++ b/shell/functions/cdls.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/changediskpwd.tmp b/shell/functions/changediskpwd.tmp index c5317b5f..8541d60d 100644 --- a/shell/functions/changediskpwd.tmp +++ b/shell/functions/changediskpwd.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/code.tmp b/shell/functions/code.tmp index 7e370496..aa6f5913 100644 --- a/shell/functions/code.tmp +++ b/shell/functions/code.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/countdown.tmp b/shell/functions/countdown.tmp index fe6f16b1..1cb57e49 100644 --- a/shell/functions/countdown.tmp +++ b/shell/functions/countdown.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/curlheader.sh b/shell/functions/curlheader.sh index 41cfe922..cd3cc2d3 100644 --- a/shell/functions/curlheader.sh +++ b/shell/functions/curlheader.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/curltime.sh b/shell/functions/curltime.sh index 4b67970b..9abd4e63 100644 --- a/shell/functions/curltime.sh +++ b/shell/functions/curltime.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/encode64.sh b/shell/functions/encode64.sh index af253af5..d8b5f5e4 100644 --- a/shell/functions/encode64.sh +++ b/shell/functions/encode64.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/environment.sh b/shell/functions/environment.sh index 4ef1f1ff..8db8cc0b 100644 --- a/shell/functions/environment.sh +++ b/shell/functions/environment.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/extract.sh b/shell/functions/extract.sh index fa644a90..1520f6a5 100644 --- a/shell/functions/extract.sh +++ b/shell/functions/extract.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/genpwd.sh b/shell/functions/genpwd.sh index a7819c8e..e0815f17 100644 --- a/shell/functions/genpwd.sh +++ b/shell/functions/genpwd.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/goto.sh b/shell/functions/goto.sh index 1639fb5b..7e1795c8 100644 --- a/shell/functions/goto.sh +++ b/shell/functions/goto.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/hidehiddenfiles.sh b/shell/functions/hidehiddenfiles.sh index 432873f1..dd42bb58 100644 --- a/shell/functions/hidehiddenfiles.sh +++ b/shell/functions/hidehiddenfiles.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/history-all.tmp b/shell/functions/history-all.tmp index 70f303ae..19347152 100644 --- a/shell/functions/history-all.tmp +++ b/shell/functions/history-all.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/hostinfo.sh b/shell/functions/hostinfo.sh index 6e6704e3..32e4d6ee 100644 --- a/shell/functions/hostinfo.sh +++ b/shell/functions/hostinfo.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/hstats.sh b/shell/functions/hstats.sh index 5b04a06c..1a42322f 100644 --- a/shell/functions/hstats.sh +++ b/shell/functions/hstats.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/httpdebug.sh b/shell/functions/httpdebug.sh index e5b38a8d..987da6ad 100644 --- a/shell/functions/httpdebug.sh +++ b/shell/functions/httpdebug.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/keygen.sh b/shell/functions/keygen.sh index 3d14a402..507499f5 100644 --- a/shell/functions/keygen.sh +++ b/shell/functions/keygen.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/last.sh b/shell/functions/last.sh index 052effac..eb6f4554 100644 --- a/shell/functions/last.sh +++ b/shell/functions/last.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/logout.sh b/shell/functions/logout.sh index 5cefb795..8ce568f7 100644 --- a/shell/functions/logout.sh +++ b/shell/functions/logout.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/lowercase.sh b/shell/functions/lowercase.sh index 2bc56ddc..d0c7e6cc 100644 --- a/shell/functions/lowercase.sh +++ b/shell/functions/lowercase.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/macos.sh b/shell/functions/macos.sh index 3d15e79d..9b94a972 100644 --- a/shell/functions/macos.sh +++ b/shell/functions/macos.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/matrix.sh b/shell/functions/matrix.sh index 14cb65c7..d4906780 100644 --- a/shell/functions/matrix.sh +++ b/shell/functions/matrix.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/mcd.sh b/shell/functions/mcd.sh index 60fac367..57cc7a89 100644 --- a/shell/functions/mcd.sh +++ b/shell/functions/mcd.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/mount_read_only.sh b/shell/functions/mount_read_only.sh index 30a8962a..dfa2e681 100644 --- a/shell/functions/mount_read_only.sh +++ b/shell/functions/mount_read_only.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/myproc.sh b/shell/functions/myproc.sh index 365543e8..2445c7e0 100644 --- a/shell/functions/myproc.sh +++ b/shell/functions/myproc.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/prependpath.sh b/shell/functions/prependpath.sh index 49e1afbc..e5376790 100644 --- a/shell/functions/prependpath.sh +++ b/shell/functions/prependpath.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/print.tmp b/shell/functions/print.tmp index cafb516b..2cdbd628 100644 --- a/shell/functions/print.tmp +++ b/shell/functions/print.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/ql.sh b/shell/functions/ql.sh index 61770007..0b655609 100644 --- a/shell/functions/ql.sh +++ b/shell/functions/ql.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/rd.sh b/shell/functions/rd.sh index 60fe392c..3bb88cdc 100644 --- a/shell/functions/rd.sh +++ b/shell/functions/rd.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/remove_disk.sh b/shell/functions/remove_disk.sh index 9e4cfc68..1a055f93 100644 --- a/shell/functions/remove_disk.sh +++ b/shell/functions/remove_disk.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/ren.sh b/shell/functions/ren.sh index 43655fe6..0b406dd4 100644 --- a/shell/functions/ren.sh +++ b/shell/functions/ren.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/rm.tmp b/shell/functions/rm.tmp index 9dafdabc..8b693fc9 100644 --- a/shell/functions/rm.tmp +++ b/shell/functions/rm.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/rps.tmp b/shell/functions/rps.tmp index e35c7ba6..d796bb98 100755 --- a/shell/functions/rps.tmp +++ b/shell/functions/rps.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/showhiddenfiles.sh b/shell/functions/showhiddenfiles.sh index e769718c..91c7a17e 100644 --- a/shell/functions/showhiddenfiles.sh +++ b/shell/functions/showhiddenfiles.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/size.sh b/shell/functions/size.sh index d6e101bc..16a37cbe 100644 --- a/shell/functions/size.sh +++ b/shell/functions/size.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/stopwatch.sh b/shell/functions/stopwatch.sh index ebe48f8e..4007cd03 100644 --- a/shell/functions/stopwatch.sh +++ b/shell/functions/stopwatch.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/trash.tmp b/shell/functions/trash.tmp index 286f9049..015495f2 100644 --- a/shell/functions/trash.tmp +++ b/shell/functions/trash.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/tree.tmp b/shell/functions/tree.tmp index 2503fc31..1789b778 100644 --- a/shell/functions/tree.tmp +++ b/shell/functions/tree.tmp @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/uppercase.sh b/shell/functions/uppercase.sh index 6b7152a7..3d43c6c6 100644 --- a/shell/functions/uppercase.sh +++ b/shell/functions/uppercase.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/view-source.sh b/shell/functions/view-source.sh index 81ff8639..ba685e1f 100644 --- a/shell/functions/view-source.sh +++ b/shell/functions/view-source.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/vscode.sh b/shell/functions/vscode.sh index c4099708..4ee782ea 100644 --- a/shell/functions/vscode.sh +++ b/shell/functions/vscode.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/whoisport.sh b/shell/functions/whoisport.sh index 2446fe20..261eb9f1 100644 --- a/shell/functions/whoisport.sh +++ b/shell/functions/whoisport.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/functions/zipf.sh b/shell/functions/zipf.sh index 8b3af7ae..75d7b608 100644 --- a/shell/functions/zipf.sh +++ b/shell/functions/zipf.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/history.sh b/shell/history.sh index 5ed3074b..1d961a08 100644 --- a/shell/history.sh +++ b/shell/history.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths.sh b/shell/paths.sh index de2dbfb5..b70e8f29 100644 --- a/shell/paths.sh +++ b/shell/paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/ant/ant.paths.sh b/shell/paths/ant/ant.paths.sh index efb46750..e7788324 100644 --- a/shell/paths/ant/ant.paths.sh +++ b/shell/paths/ant/ant.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/default/default.paths.sh b/shell/paths/default/default.paths.sh index 8a0169eb..1fdc2910 100644 --- a/shell/paths/default/default.paths.sh +++ b/shell/paths/default/default.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/homebrew/homebrew.paths.sh b/shell/paths/homebrew/homebrew.paths.sh index d49b297b..accad215 100644 --- a/shell/paths/homebrew/homebrew.paths.sh +++ b/shell/paths/homebrew/homebrew.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/java/java.paths.sh b/shell/paths/java/java.paths.sh index 44de7983..dac4038c 100644 --- a/shell/paths/java/java.paths.sh +++ b/shell/paths/java/java.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/maven/maven.paths.sh b/shell/paths/maven/maven.paths.sh index 2e952a9c..9b8b2279 100644 --- a/shell/paths/maven/maven.paths.sh +++ b/shell/paths/maven/maven.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/node/node.paths.sh b/shell/paths/node/node.paths.sh index a0f27dd8..35d4f4a3 100644 --- a/shell/paths/node/node.paths.sh +++ b/shell/paths/node/node.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/nvm/nvm.paths.sh b/shell/paths/nvm/nvm.paths.sh index 9020c6a3..380bd0ac 100644 --- a/shell/paths/nvm/nvm.paths.sh +++ b/shell/paths/nvm/nvm.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/pnpm/pnpm.paths.sh b/shell/paths/pnpm/pnpm.paths.sh index 03af5ced..7b453ced 100644 --- a/shell/paths/pnpm/pnpm.paths.sh +++ b/shell/paths/pnpm/pnpm.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/python/python.paths.sh b/shell/paths/python/python.paths.sh index ca70643d..382e61ea 100644 --- a/shell/paths/python/python.paths.sh +++ b/shell/paths/python/python.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/ruby/ruby.paths.sh b/shell/paths/ruby/ruby.paths.sh index 8a11ebdd..7d4228b3 100644 --- a/shell/paths/ruby/ruby.paths.sh +++ b/shell/paths/ruby/ruby.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT diff --git a/shell/paths/tmux/tmux.paths.sh b/shell/paths/tmux/tmux.paths.sh index 83494eb1..fe4a9563 100644 --- a/shell/paths/tmux/tmux.paths.sh +++ b/shell/paths/tmux/tmux.paths.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io # Copyright (c) Sebastien Rousseau 2022. All rights reserved # License: MIT From cf9feef7b0a2b39db69a1cb815eb1f0c4be75bc6 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Mon, 10 Oct 2022 19:20:57 +0100 Subject: [PATCH 02/22] fix(codacy): requires each line to end in a semicolon --- bin/dotfiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index 011a0b48..40d4f20f 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -20,13 +20,13 @@ const dir=path.resolve(__dirname, os.homedir()); module.exports = async function main() { - let i = 0 + let i = 0; // Backup files and copy dotfiles. do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); - i++ + i++; } while (i < aliases.length && i < copies.length); // Download and unpack dotfiles. From 946828adbc481a91f32a107013209259d414413f Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Mon, 10 Oct 2022 19:25:48 +0100 Subject: [PATCH 03/22] doc(readme): updated tree --- README.md | 199 ++++++++++++++++++++++++++++--------------------- docs/README.md | 199 ++++++++++++++++++++++++++++--------------------- 2 files changed, 228 insertions(+), 170 deletions(-) diff --git a/README.md b/README.md index e6a69b9b..1afb0bff 100644 --- a/README.md +++ b/README.md @@ -227,125 +227,154 @@ You'll see something like this: ```bash . β”œβ”€β”€ bin -β”‚Β Β  └── dotfiles.sh +β”‚Β Β  β”œβ”€β”€ backup.d.ts +β”‚Β Β  β”œβ”€β”€ backup.d.ts.map +β”‚Β Β  β”œβ”€β”€ backup.js +β”‚Β Β  β”œβ”€β”€ backup.js.map +β”‚Β Β  β”œβ”€β”€ compile.sh +β”‚Β Β  β”œβ”€β”€ constants.d.ts +β”‚Β Β  β”œβ”€β”€ constants.d.ts.map +β”‚Β Β  β”œβ”€β”€ constants.js +β”‚Β Β  β”œβ”€β”€ constants.js.map +β”‚Β Β  β”œβ”€β”€ copy.d.ts +β”‚Β Β  β”œβ”€β”€ copy.d.ts.map +β”‚Β Β  β”œβ”€β”€ copy.js +β”‚Β Β  β”œβ”€β”€ copy.js.map +β”‚Β Β  β”œβ”€β”€ copy.sh +β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts +β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts.map +β”‚Β Β  β”œβ”€β”€ dotfiles.js +β”‚Β Β  β”œβ”€β”€ dotfiles.js.map +β”‚Β Β  β”œβ”€β”€ dotfiles.sh +β”‚Β Β  β”œβ”€β”€ download.d.ts +β”‚Β Β  β”œβ”€β”€ download.d.ts.map +β”‚Β Β  β”œβ”€β”€ download.js +β”‚Β Β  β”œβ”€β”€ download.js.map +β”‚Β Β  β”œβ”€β”€ index.d.ts +β”‚Β Β  β”œβ”€β”€ index.d.ts.map +β”‚Β Β  β”œβ”€β”€ index.js +β”‚Β Β  β”œβ”€β”€ index.js.map +β”‚Β Β  β”œβ”€β”€ transfer.d.ts +β”‚Β Β  β”œβ”€β”€ transfer.d.ts.map +β”‚Β Β  β”œβ”€β”€ transfer.js +β”‚Β Β  β”œβ”€β”€ transfer.js.map +β”‚Β Β  β”œβ”€β”€ unpack.d.ts +β”‚Β Β  β”œβ”€β”€ unpack.d.ts.map +β”‚Β Β  β”œβ”€β”€ unpack.js +β”‚Β Β  └── unpack.js.map β”œβ”€β”€ shell β”‚Β Β  β”œβ”€β”€ aliases β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh # Default aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ gcloud -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh # GCloud aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ git β”‚Β Β  β”‚Β Β  β”œβ”€β”€ heroku -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh # Heroku aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jekyll -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh # Jekyll aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh # Pnpm aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subversion -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh # Subversion aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh β”‚Β Β  β”‚Β Β  └── tmux -β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh # Tmux aliases. +β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh β”‚Β Β  β”œβ”€β”€ configurations β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bash -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── bashrc # Bashrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── bashrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curl -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem # CA Certificates. -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── curlrc # Curlrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── curlrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh # Color definitions. -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh # Editor definitions. -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh # Prompt definitions. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inputrc -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc # Inputrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ input +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jshint -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc # Jshintrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile # Profile configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux # Tmux configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vim -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc # Vimrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ wget -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── wgetrc # Wgetrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── wgetrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ zsh -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── zshrc # Zshrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── zshrc β”‚Β Β  β”‚Β Β  └── README.md β”‚Β Β  β”œβ”€β”€ functions -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md # Functions documentation. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cdls.sh # cdls function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curlheader.sh # curlheader function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curltime.sh # curltime function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ encode64.sh # encode64 function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ environment.sh # environment function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ extract.sh # extract function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ filehead.sh # filehead function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ genpwd.sh # genpwd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ goto.sh # goto function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hidehiddenfiles.sh # hidehiddenfiles function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hostinfo.sh # hostinfo function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hstats.sh # hstats function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ httpdebug.sh # httpdebug function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ keygen.sh # keygen function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ last.sh # last function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ logout.sh # logout function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lowercase.sh # lowercase function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ macos.sh # macos function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ matrix.sh # matrix function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mcd.sh # mcd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mount_read_only.sh # mount_read_only function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ myproc.sh # myproc function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ prependpath.sh # prependpath function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ql.sh # ql function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rd.sh # rd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ remove_disk.sh # remove_disk function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ren.sh # ren function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ showhiddenfiles.sh # showhiddenfiles function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ size.sh # size function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ stopwatch.sh # stopwatch function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ uppercase.sh # uppercase function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ view-source.sh # view-source function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vscode.sh # vscode function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ whoisport.sh # whoisport function. -β”‚Β Β  β”‚Β Β  └── zipf.sh # zipf function. +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cdls.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curlheader.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curltime.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ encode64.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ environment.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ extract.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ filehead.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ genpwd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ goto.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hidehiddenfiles.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hostinfo.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hstats.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ httpdebug.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ keygen.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ last.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ logout.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lowercase.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ macos.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ matrix.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mcd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mount_read_only.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ myproc.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ prependpath.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ql.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ remove_disk.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ren.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ showhiddenfiles.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ size.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ stopwatch.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ uppercase.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ view-source.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vscode.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ whoisport.sh +β”‚Β Β  β”‚Β Β  └── zipf.sh β”‚Β Β  β”œβ”€β”€ paths β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ant -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ant.paths.sh # Ant paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ant.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.paths.sh # Default paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ homebrew -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh # Homebrew paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ java -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── java.paths.sh # Java paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── java.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ maven -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── maven.paths.sh # Maven paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── maven.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ node -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── node.paths.sh # Node paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── node.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ nvm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── nvm.paths.sh # NVM paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── nvm.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh # Pnpm paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python.paths.sh # Python paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ruby -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ruby.paths.sh # Ruby paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ruby.paths.sh β”‚Β Β  β”‚Β Β  └── tmux -β”‚Β Β  β”‚Β Β  └── tmux.paths.sh # Tmux paths. -β”‚Β Β  β”œβ”€β”€ README.md # Dotfiles documentation. -β”‚Β Β  β”œβ”€β”€ aliases.sh # Aliases loader file. -β”‚Β Β  β”œβ”€β”€ configurations.sh # Configurations loader file. -β”‚Β Β  β”œβ”€β”€ exit.sh # Exit loader file. -β”‚Β Β  β”œβ”€β”€ functions.sh # Functions loader file. -β”‚Β Β  β”œβ”€β”€ history.sh # History loader file. -β”‚Β Β  β”œβ”€β”€ index.d.ts # Typescript type information. -β”‚Β Β  β”œβ”€β”€ index.d.ts.map # Typescript type map information. -β”‚Β Β  β”œβ”€β”€ index.js # Dotfiles main JS file. -β”‚Β Β  β”œβ”€β”€ index.js.map # Dotfiles main JS map file. -β”‚Β Β  └── paths.sh # Paths loader file. -β”œβ”€β”€ Makefile # Makefile. -└── filesizes.txt # Filesizes in the `dist` directory. - -35 directories, 83 files +β”‚Β Β  β”‚Β Β  └── tmux.paths.sh +β”‚Β Β  β”œβ”€β”€ README.md +β”‚Β Β  β”œβ”€β”€ aliases.sh +β”‚Β Β  β”œβ”€β”€ configurations.sh +β”‚Β Β  β”œβ”€β”€ exit.sh +β”‚Β Β  β”œβ”€β”€ functions.sh +β”‚Β Β  β”œβ”€β”€ history.sh +β”‚Β Β  └── paths.sh +β”œβ”€β”€ Makefile +└── filesizes.txt + +35 directories, 112 files ``` ## πŸ”— Releases diff --git a/docs/README.md b/docs/README.md index e6a69b9b..1afb0bff 100644 --- a/docs/README.md +++ b/docs/README.md @@ -227,125 +227,154 @@ You'll see something like this: ```bash . β”œβ”€β”€ bin -β”‚Β Β  └── dotfiles.sh +β”‚Β Β  β”œβ”€β”€ backup.d.ts +β”‚Β Β  β”œβ”€β”€ backup.d.ts.map +β”‚Β Β  β”œβ”€β”€ backup.js +β”‚Β Β  β”œβ”€β”€ backup.js.map +β”‚Β Β  β”œβ”€β”€ compile.sh +β”‚Β Β  β”œβ”€β”€ constants.d.ts +β”‚Β Β  β”œβ”€β”€ constants.d.ts.map +β”‚Β Β  β”œβ”€β”€ constants.js +β”‚Β Β  β”œβ”€β”€ constants.js.map +β”‚Β Β  β”œβ”€β”€ copy.d.ts +β”‚Β Β  β”œβ”€β”€ copy.d.ts.map +β”‚Β Β  β”œβ”€β”€ copy.js +β”‚Β Β  β”œβ”€β”€ copy.js.map +β”‚Β Β  β”œβ”€β”€ copy.sh +β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts +β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts.map +β”‚Β Β  β”œβ”€β”€ dotfiles.js +β”‚Β Β  β”œβ”€β”€ dotfiles.js.map +β”‚Β Β  β”œβ”€β”€ dotfiles.sh +β”‚Β Β  β”œβ”€β”€ download.d.ts +β”‚Β Β  β”œβ”€β”€ download.d.ts.map +β”‚Β Β  β”œβ”€β”€ download.js +β”‚Β Β  β”œβ”€β”€ download.js.map +β”‚Β Β  β”œβ”€β”€ index.d.ts +β”‚Β Β  β”œβ”€β”€ index.d.ts.map +β”‚Β Β  β”œβ”€β”€ index.js +β”‚Β Β  β”œβ”€β”€ index.js.map +β”‚Β Β  β”œβ”€β”€ transfer.d.ts +β”‚Β Β  β”œβ”€β”€ transfer.d.ts.map +β”‚Β Β  β”œβ”€β”€ transfer.js +β”‚Β Β  β”œβ”€β”€ transfer.js.map +β”‚Β Β  β”œβ”€β”€ unpack.d.ts +β”‚Β Β  β”œβ”€β”€ unpack.d.ts.map +β”‚Β Β  β”œβ”€β”€ unpack.js +β”‚Β Β  └── unpack.js.map β”œβ”€β”€ shell β”‚Β Β  β”œβ”€β”€ aliases β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh # Default aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ gcloud -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh # GCloud aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ git β”‚Β Β  β”‚Β Β  β”œβ”€β”€ heroku -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh # Heroku aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jekyll -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh # Jekyll aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh # Pnpm aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subversion -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh # Subversion aliases. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh β”‚Β Β  β”‚Β Β  └── tmux -β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh # Tmux aliases. +β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh β”‚Β Β  β”œβ”€β”€ configurations β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bash -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── bashrc # Bashrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── bashrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curl -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem # CA Certificates. -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── curlrc # Curlrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── curlrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh # Color definitions. -β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh # Editor definitions. -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh # Prompt definitions. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inputrc -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc # Inputrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ input +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jshint -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc # Jshintrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile # Profile configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux # Tmux configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vim -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc # Vimrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ wget -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── wgetrc # Wgetrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── wgetrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ zsh -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── zshrc # Zshrc configuration file. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── zshrc β”‚Β Β  β”‚Β Β  └── README.md β”‚Β Β  β”œβ”€β”€ functions -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md # Functions documentation. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cdls.sh # cdls function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curlheader.sh # curlheader function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curltime.sh # curltime function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ encode64.sh # encode64 function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ environment.sh # environment function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ extract.sh # extract function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ filehead.sh # filehead function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ genpwd.sh # genpwd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ goto.sh # goto function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hidehiddenfiles.sh # hidehiddenfiles function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hostinfo.sh # hostinfo function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hstats.sh # hstats function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ httpdebug.sh # httpdebug function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ keygen.sh # keygen function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ last.sh # last function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ logout.sh # logout function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lowercase.sh # lowercase function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ macos.sh # macos function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ matrix.sh # matrix function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mcd.sh # mcd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mount_read_only.sh # mount_read_only function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ myproc.sh # myproc function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ prependpath.sh # prependpath function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ql.sh # ql function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rd.sh # rd function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ remove_disk.sh # remove_disk function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ren.sh # ren function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ showhiddenfiles.sh # showhiddenfiles function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ size.sh # size function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ stopwatch.sh # stopwatch function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ uppercase.sh # uppercase function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ view-source.sh # view-source function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vscode.sh # vscode function. -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ whoisport.sh # whoisport function. -β”‚Β Β  β”‚Β Β  └── zipf.sh # zipf function. +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cdls.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curlheader.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curltime.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ encode64.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ environment.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ extract.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ filehead.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ genpwd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ goto.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hidehiddenfiles.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hostinfo.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ hstats.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ httpdebug.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ keygen.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ last.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ logout.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lowercase.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ macos.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ matrix.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mcd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mount_read_only.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ myproc.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ prependpath.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ql.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ rd.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ remove_disk.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ren.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ showhiddenfiles.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ size.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ stopwatch.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ uppercase.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ view-source.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vscode.sh +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ whoisport.sh +β”‚Β Β  β”‚Β Β  └── zipf.sh β”‚Β Β  β”œβ”€β”€ paths β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ant -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ant.paths.sh # Ant paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ant.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.paths.sh # Default paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ homebrew -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh # Homebrew paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ java -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── java.paths.sh # Java paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── java.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ maven -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── maven.paths.sh # Maven paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── maven.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ node -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── node.paths.sh # Node paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── node.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ nvm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── nvm.paths.sh # NVM paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── nvm.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh # Pnpm paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python.paths.sh # Python paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python.paths.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ruby -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ruby.paths.sh # Ruby paths. +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ruby.paths.sh β”‚Β Β  β”‚Β Β  └── tmux -β”‚Β Β  β”‚Β Β  └── tmux.paths.sh # Tmux paths. -β”‚Β Β  β”œβ”€β”€ README.md # Dotfiles documentation. -β”‚Β Β  β”œβ”€β”€ aliases.sh # Aliases loader file. -β”‚Β Β  β”œβ”€β”€ configurations.sh # Configurations loader file. -β”‚Β Β  β”œβ”€β”€ exit.sh # Exit loader file. -β”‚Β Β  β”œβ”€β”€ functions.sh # Functions loader file. -β”‚Β Β  β”œβ”€β”€ history.sh # History loader file. -β”‚Β Β  β”œβ”€β”€ index.d.ts # Typescript type information. -β”‚Β Β  β”œβ”€β”€ index.d.ts.map # Typescript type map information. -β”‚Β Β  β”œβ”€β”€ index.js # Dotfiles main JS file. -β”‚Β Β  β”œβ”€β”€ index.js.map # Dotfiles main JS map file. -β”‚Β Β  └── paths.sh # Paths loader file. -β”œβ”€β”€ Makefile # Makefile. -└── filesizes.txt # Filesizes in the `dist` directory. - -35 directories, 83 files +β”‚Β Β  β”‚Β Β  └── tmux.paths.sh +β”‚Β Β  β”œβ”€β”€ README.md +β”‚Β Β  β”œβ”€β”€ aliases.sh +β”‚Β Β  β”œβ”€β”€ configurations.sh +β”‚Β Β  β”œβ”€β”€ exit.sh +β”‚Β Β  β”œβ”€β”€ functions.sh +β”‚Β Β  β”œβ”€β”€ history.sh +β”‚Β Β  └── paths.sh +β”œβ”€β”€ Makefile +└── filesizes.txt + +35 directories, 112 files ``` ## πŸ”— Releases From 6af4bedfefe7c54edf4e2b9620b3e8927032a540 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Tue, 11 Oct 2022 12:21:40 +0100 Subject: [PATCH 04/22] fix(bash): tmux not being called correctly --- shell/paths/tmux/tmux.paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/paths/tmux/tmux.paths.sh b/shell/paths/tmux/tmux.paths.sh index fe4a9563..df83add6 100644 --- a/shell/paths/tmux/tmux.paths.sh +++ b/shell/paths/tmux/tmux.paths.sh @@ -11,5 +11,5 @@ fi if [[ -z "${TMUX}" ]] && [[ ${UID} != 0 ]]; then tmux kill-session -t 2>/dev/null - tmux new-session -t + tmux fi From 2c8cdddff7f9fd32c61078e85dc846b7d5625d28 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Tue, 11 Oct 2022 18:00:39 +0100 Subject: [PATCH 05/22] feat(tmux):refactoring tmux --- shell/configurations/tmux/tmux | 95 ------------------- shell/configurations/tmux/tmux.conf | 18 ++++ shell/configurations/tmux/tmux/default.conf | 17 ++++ shell/configurations/tmux/tmux/display.conf | 25 +++++ shell/configurations/tmux/tmux/linux.conf | 17 ++++ .../configurations/tmux/tmux/navigation.conf | 29 ++++++ shell/configurations/tmux/tmux/panes.conf | 9 ++ shell/configurations/tmux/tmux/theme.conf | 28 ++++++ shell/configurations/tmux/tmux/vi.conf | 6 ++ 9 files changed, 149 insertions(+), 95 deletions(-) delete mode 100644 shell/configurations/tmux/tmux create mode 100644 shell/configurations/tmux/tmux.conf create mode 100644 shell/configurations/tmux/tmux/default.conf create mode 100644 shell/configurations/tmux/tmux/display.conf create mode 100644 shell/configurations/tmux/tmux/linux.conf create mode 100644 shell/configurations/tmux/tmux/navigation.conf create mode 100644 shell/configurations/tmux/tmux/panes.conf create mode 100644 shell/configurations/tmux/tmux/theme.conf create mode 100644 shell/configurations/tmux/tmux/vi.conf diff --git a/shell/configurations/tmux/tmux b/shell/configurations/tmux/tmux deleted file mode 100644 index 0b688e6e..00000000 --- a/shell/configurations/tmux/tmux +++ /dev/null @@ -1,95 +0,0 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io -# Copyright (c) Sebastien Rousseau 2022. All rights reserved -# License: MIT - -set -g default-terminal "screen-256color" # use 256 colors -if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"' - -## πŸ…ΆπŸ…΄πŸ…½πŸ…΄πŸ†πŸ…°πŸ…» -bind C-a send-prefix -2 # GNU-Screen compatible prefix -bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced' # reload configuration -set -g history-limit 5000 # boost history limit -set -g prefix2 C-a # GNU-Screen compatible prefix -set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2) -set -s escape-time 10 # faster command sequences -set -s focus-events on # enable mouse focus events -set -sg repeat-time 600 # increase repeat timeout -setw -g xterm-keys on # enable xterm keys -setw -q -g utf8 on # expect UTF-8 (tmux < 2.2) - -## πŸ…³πŸ…ΈπŸ†‚πŸ…ΏπŸ…»πŸ…°πŸ†ˆ -bind -n C-l send-keys C-l \; run 'sleep 0.2' \; clear-history # clear both screen and history -set -g base-index 1 # start windows numbering at 1 -set -g display-panes-time 800 # slightly longer pane indicators display time -set -g display-time 1000 # slightly longer status messages display time -set -g monitor-activity on # monitor for activity -set -g renumber-windows on # renumber windows when a window is closed -set -g set-titles on # set terminal title -set -g status-interval 10 # redraw status line every 10 seconds -set -g visual-activity off # disable visual activity -set -wg allow-rename off # disable window renaming -set -wg automatic-rename off # disable automatic window renaming -set -wg mode-keys vi # vi mode -setw -g automatic-rename on # rename window to reflect current program -setw -g pane-base-index 1 # make pane numbering consistent with windows - -## πŸ…½πŸ…°πŸ†…πŸ…ΈπŸ…ΆπŸ…°πŸ†ƒπŸ…ΈπŸ…ΎπŸ…½ - -bind _ split-window -h # split current window horizontally -bind - split-window -v # split current window vertically -bind -r C-h previous-window # select previous window -bind -r C-l next-window # select next window -bind -r h select-pane -L # move left -bind -r j select-pane -D # move down -bind -r k select-pane -U # move up -bind -r l select-pane -R # move right -bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' # maximize current pane -bind < swap-pane -U # swap current pane with the previous one -bind > swap-pane -D # swap current pane with the next one -bind | split-window -h -c "#{pane_current_path}" # split current window horizontally -bind a last -t : # move to last active window -bind BTab switch-client -l # move to last session -bind C-c new-session # create session -bind C-f command-prompt -p find-session 'switch-client -t %%' # find session -bind e neww -n tmux-config "\${EDITOR:-vim} ~/.tmux.conf" # edit configuration -bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" # toggle mouse -bind N new-window # create window -bind r source ~/.tmux.conf\; display "bmux config sourced" # reload configuration -bind Tab last-window # move to last active window -bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}" # urlview -unbind n # unbind default next-window -unbind p # unbind default previous-window - - -## πŸ†ƒπŸ…·πŸ…΄πŸ…ΌπŸ…΄ -if 'uname -s | grep -q Darwin' 'set -g status-left "#[bg=#D0D3D5] ο£Ώ macOS ❐ #S "' # macOS version -if 'uname -s | grep -q Linux' 'set -g status-left "#[bg=#D0D3D5] 🐧 Linux ❐ #S "' # Linux version -set -g history-limit 102400 # increase history limit -set -g message-style "bg=#14222A, fg=#D0D3D5" # Mirage blue and Iron grey -set -g set-clipboard on # copy to system clipboard -set -g status-left-length 400 # status left length -set -g status-right "#[bg=#027bff] #(whoami)@#h #[bg=red] %_d %B %I:%M%p " # status right -set -g status-right-length 600 # status right length -set -g status-style "bg=#14222A, fg=#D0D3D5" # mirage blue and iron grey -set -wg pane-active-border-style "fg=#14222A" # mirage blue -set -wg pane-border-style "fg=#D0D3D5" # iron grey -set -wg window-status-current-format " #I #W " # current window status format -set -wg window-status-current-style "bg=red" # red -set -wg window-status-format " #I #W " # window status format -set -wg window-status-last-style "fg=#D0D3D5" # iron grey -set -wg window-status-separator "" # window status separator - - -## πŸ…»πŸ…ΈπŸ…½πŸ†„πŸ†‡ πŸ…ΎπŸ…½πŸ…»πŸ†ˆ -bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M # scroll up -bind -n WheelDownPane select-pane -t= \; send-keys -M # scroll down -bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" # scroll up -bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down # scroll down half page -bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up # scroll up half page -bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down # scroll down half page -bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up # scroll up half page -bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" # copy to system clipboard -bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" # copy to system clipboard -set -g mouse on # enable mouse -setw -g mode-keys vi # vi mode -unbind -T copy-mode-vi Enter # unbind default Enter diff --git a/shell/configurations/tmux/tmux.conf b/shell/configurations/tmux/tmux.conf new file mode 100644 index 00000000..963607fe --- /dev/null +++ b/shell/configurations/tmux/tmux.conf @@ -0,0 +1,18 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ + source-file $HOME/tmux/default.conf \; \ + source-file $HOME/tmux/display.conf \; \ + source-file $HOME/tmux/linux.conf \; \ + source-file $HOME/tmux/navigation.conf \; \ + source-file $HOME/tmux/panes.conf \; \ + source-file $HOME/tmux/theme.conf \; + +source-file $HOME/tmux/default.conf +source-file $HOME/tmux/display.conf +source-file $HOME/tmux/linux.conf +source-file $HOME/tmux/navigation.conf +source-file $HOME/tmux/panes.conf +source-file $HOME/tmux/theme.conf diff --git a/shell/configurations/tmux/tmux/default.conf b/shell/configurations/tmux/tmux/default.conf new file mode 100644 index 00000000..a6677269 --- /dev/null +++ b/shell/configurations/tmux/tmux/default.conf @@ -0,0 +1,17 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ…³πŸ…΄πŸ…΅πŸ…°πŸ†„πŸ…»πŸ†ƒ +set -g default-terminal "screen-256color" # use 256 colors +if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"' +bind C-a send-prefix -2 # GNU-Screen compatible prefix +set -g history-limit 102400 # increase history limit +set -g set-clipboard on # copy to system clipboard +set -g prefix2 C-a # GNU-Screen compatible prefix +set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2) +set -s escape-time 10 # faster command sequences +set -s focus-events on # enable mouse focus events +set -sg repeat-time 600 # increase repeat timeout +setw -g xterm-keys on # enable xterm keys +setw -q -g utf8 on # expect UTF-8 (tmux < 2.2) diff --git a/shell/configurations/tmux/tmux/display.conf b/shell/configurations/tmux/tmux/display.conf new file mode 100644 index 00000000..5fd85e69 --- /dev/null +++ b/shell/configurations/tmux/tmux/display.conf @@ -0,0 +1,25 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ…³πŸ…ΈπŸ†‚πŸ…ΏπŸ…»πŸ…°πŸ†ˆ +bind -n C-l send-keys C-l \; run 'sleep 0.2' \; clear-history # clear both screen and history +set -g aggressive-resize on # resize panes automatically when window is resized +set -g base-index 1 # start windows numbering at 1 +set -g bell-action none # disable bell +set -g display-panes-time 800 # slightly longer pane indicators display time +set -g display-time 1000 # slightly longer status messages display time +set -g monitor-activity on # monitor for activity +set -g renumber-windows on # renumber windows when a window is closed +set -g set-titles off # set terminal title +set -g status-interval 10 # redraw status line every 10 seconds +set -g visual-activity off # disable visual activity +set -g visual-bell off # disable visual bell +set -g visual-silence off # disable visual silence +set -wg allow-rename off # disable window renaming +set -wg automatic-rename off # disable automatic window renaming +set -wg mode-keys vi # vi mode +setw -g automatic-rename off # rename window to reflect current program +setw -g monitor-activity off # disable monitor for activity +setw -g pane-base-index 1 # make pane numbering consistent with windows +setw -g synchronize-panes off # disable pane synchronization diff --git a/shell/configurations/tmux/tmux/linux.conf b/shell/configurations/tmux/tmux/linux.conf new file mode 100644 index 00000000..71d1470c --- /dev/null +++ b/shell/configurations/tmux/tmux/linux.conf @@ -0,0 +1,17 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ…»πŸ…ΈπŸ…½πŸ†„πŸ†‡ πŸ…ΎπŸ…½πŸ…»πŸ†ˆ +bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M # scroll up +bind -n WheelDownPane select-pane -t= \; send-keys -M # scroll down +bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" # scroll up +bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down # scroll down half page +bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up # scroll up half page +bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down # scroll down half page +bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up # scroll up half page +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" # copy to system clipboard +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" # copy to system clipboard +set -g mouse on # enable mouse +setw -g mode-keys vi # vi mode +unbind -T copy-mode-vi Enter # unbind default Enter diff --git a/shell/configurations/tmux/tmux/navigation.conf b/shell/configurations/tmux/tmux/navigation.conf new file mode 100644 index 00000000..354ae9a5 --- /dev/null +++ b/shell/configurations/tmux/tmux/navigation.conf @@ -0,0 +1,29 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ…½πŸ…°πŸ†…πŸ…ΈπŸ…ΆπŸ…°πŸ†ƒπŸ…ΈπŸ…ΎπŸ…½ +bind _ split-window -h # split current window horizontally +bind - split-window -v # split current window vertically +bind -r C-h previous-window # select previous window +bind -r C-l next-window # select next window +bind -r h select-pane -L # move left +bind -r j select-pane -D # move down +bind -r k select-pane -U # move up +bind -r l select-pane -R # move right +bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' # maximize current pane +bind < swap-pane -U # swap current pane with the previous one +bind > swap-pane -D # swap current pane with the next one +bind | split-window -h -c "#{pane_current_path}" # split current window horizontally +bind a last -t : # move to last active window +bind BTab switch-client -l # move to last session +bind C-c new-session # create session +bind C-f command-prompt -p find-session 'switch-client -t %%' # find session +bind e neww -n tmux-config "\${EDITOR:-vim} ~/.tmux.conf" # edit configuration +bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" # toggle mouse +bind N new-window # create window +bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" # reload configuration +bind Tab last-window # move to last active window +bind U run "cut -c3- ~/.tmux.conf | sh -s _urlview #{pane_id}" # urlview +unbind n # unbind default next-window +unbind p # unbind default previous-window diff --git a/shell/configurations/tmux/tmux/panes.conf b/shell/configurations/tmux/tmux/panes.conf new file mode 100644 index 00000000..aa95e819 --- /dev/null +++ b/shell/configurations/tmux/tmux/panes.conf @@ -0,0 +1,9 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ…ΏπŸ…°πŸ…½πŸ…΄πŸ†‚ +set-option -g pane-base-index 1 # set first pane to index 1 (not 0) to map more to the keyboard layout... +bind-key q kill-pane # confirm before killing a window or the server +bind -n M-c kill-pane \; select-layout +bind -n M-n split-window \; select-layout diff --git a/shell/configurations/tmux/tmux/theme.conf b/shell/configurations/tmux/tmux/theme.conf new file mode 100644 index 00000000..b4c82393 --- /dev/null +++ b/shell/configurations/tmux/tmux/theme.conf @@ -0,0 +1,28 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ†ƒπŸ…·πŸ…΄πŸ…ΌπŸ…΄ + +# macOS version +if 'uname -s | grep -q Darwin' 'set -g status-left "#[bg=#007ACC] ο£Ώ macOS #S #[bg=#EB0000] #W #[bg=#14222A]"' + +# Linux version +if 'uname -s | grep -q Linux' 'set -g status-left "#[bg=#007ACC] 🐧 Linux #[bg=#EB0000] #W #[bg=#14222A]"' + +# Windows version +if 'uname -s | grep -q MINGW' 'set -g status-left "#[bg=#007ACC] πŸͺŸ Windows #[bg=#EB0000] #W #[bg=#14222A]"' + +# Status bar customisation +set -g status-bg "#2D1681" # Status bar background color (purple) +set -g status-fg "#FFFFFF" # Status bar foreground color (text) +set -g status-interval 5 # Status bar refresh interval in seconds +set -g status-justify absolute-centre # Status bar justification (left, right, centre, absolute-left, absolute-right, absolute-centre) +set -g status-left-length 50 # Status bar left length +set -g status-right-length 50 # Status bar right length +set -g status-right "#[fg=#FFFFFF] #[bg=#14222A] ⬛ #I #[bg=#007ACC] %d/%m/%Y #[bg=#EB0000] %_d %B %I:%M%p " +set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.458)" # Current window status format +set -g window-status-current-style "bg=#EB0000" # Current window status style +set -g window-status-separator "" # Window status separator +set-window-option -g clock-mode-colour "#FFFFFF" # Clock mode color +set-window-option -g clock-mode-style 24 # Clock mode style (12, 24) diff --git a/shell/configurations/tmux/tmux/vi.conf b/shell/configurations/tmux/tmux/vi.conf new file mode 100644 index 00000000..eb387835 --- /dev/null +++ b/shell/configurations/tmux/tmux/vi.conf @@ -0,0 +1,6 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +## πŸ†…πŸ…Έ + From 49ffffe8450d075cd50fd1b65f8cd4b567edf7aa Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Tue, 11 Oct 2022 19:01:01 +0100 Subject: [PATCH 06/22] feat(tmux):refactoring tmux --- shell/configurations/tmux/tmux.conf | 4 +++- shell/configurations/tmux/tmux/default.conf | 16 ++++++++-------- shell/configurations/tmux/tmux/display.conf | 8 ++++---- shell/configurations/tmux/tmux/vi.conf | 1 - 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/shell/configurations/tmux/tmux.conf b/shell/configurations/tmux/tmux.conf index 963607fe..375084e2 100644 --- a/shell/configurations/tmux/tmux.conf +++ b/shell/configurations/tmux/tmux.conf @@ -8,7 +8,8 @@ bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ source-file $HOME/tmux/linux.conf \; \ source-file $HOME/tmux/navigation.conf \; \ source-file $HOME/tmux/panes.conf \; \ - source-file $HOME/tmux/theme.conf \; + source-file $HOME/tmux/panes.conf \; \ + source-file $HOME/tmux/vi.conf \; source-file $HOME/tmux/default.conf source-file $HOME/tmux/display.conf @@ -16,3 +17,4 @@ source-file $HOME/tmux/linux.conf source-file $HOME/tmux/navigation.conf source-file $HOME/tmux/panes.conf source-file $HOME/tmux/theme.conf +source-file $HOME/tmux/vi.conf diff --git a/shell/configurations/tmux/tmux/default.conf b/shell/configurations/tmux/tmux/default.conf index a6677269..cdf00f40 100644 --- a/shell/configurations/tmux/tmux/default.conf +++ b/shell/configurations/tmux/tmux/default.conf @@ -5,13 +5,13 @@ ## πŸ…³πŸ…΄πŸ…΅πŸ…°πŸ†„πŸ…»πŸ†ƒ set -g default-terminal "screen-256color" # use 256 colors if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"' + bind C-a send-prefix -2 # GNU-Screen compatible prefix -set -g history-limit 102400 # increase history limit -set -g set-clipboard on # copy to system clipboard +set -g history-limit 102400 # Increase history limit set -g prefix2 C-a # GNU-Screen compatible prefix -set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2) -set -s escape-time 10 # faster command sequences -set -s focus-events on # enable mouse focus events -set -sg repeat-time 600 # increase repeat timeout -setw -g xterm-keys on # enable xterm keys -setw -q -g utf8 on # expect UTF-8 (tmux < 2.2) +set -g set-clipboard on # Copy to system clipboard +set -s escape-time 10 # Faster command sequences +set -s focus-events on # Enable mouse focus events +set -sg repeat-time 600 # Increase repeat timeout +setw -g xterm-keys on # Enable xterm keys +setw -q -g utf8 on # Expect UTF-8 (tmux < 2.2) diff --git a/shell/configurations/tmux/tmux/display.conf b/shell/configurations/tmux/tmux/display.conf index 5fd85e69..bd1207fc 100644 --- a/shell/configurations/tmux/tmux/display.conf +++ b/shell/configurations/tmux/tmux/display.conf @@ -16,10 +16,10 @@ set -g status-interval 10 # redraw statu set -g visual-activity off # disable visual activity set -g visual-bell off # disable visual bell set -g visual-silence off # disable visual silence -set -wg allow-rename off # disable window renaming -set -wg automatic-rename off # disable automatic window renaming -set -wg mode-keys vi # vi mode +setw -g allow-rename off # disable window renaming +setw -g automatic-rename off # disable automatic window renaming +setw -g mode-keys vi # vi mode setw -g automatic-rename off # rename window to reflect current program -setw -g monitor-activity off # disable monitor for activity +setw -g monitor-activity on # disable monitor for activity setw -g pane-base-index 1 # make pane numbering consistent with windows setw -g synchronize-panes off # disable pane synchronization diff --git a/shell/configurations/tmux/tmux/vi.conf b/shell/configurations/tmux/tmux/vi.conf index eb387835..d880ffbd 100644 --- a/shell/configurations/tmux/tmux/vi.conf +++ b/shell/configurations/tmux/tmux/vi.conf @@ -3,4 +3,3 @@ # License: MIT ## πŸ†…πŸ…Έ - From 25e79bcfb144128de03f4003197d8e3c3099c911 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Tue, 11 Oct 2022 21:39:18 +0100 Subject: [PATCH 07/22] fix(tmux): updated scripts to reflex new configurations --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4bd75c22..43c9d257 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "cp:make": "cp -vf ./Makefile ./dist", "cp:prof": "cp -vf ./shell/configurations/profile/profile $HOME/.profile", "cp:shell": "cp -vR ./shell/ ./dist/shell/", - "cp:tmux": "cp -vf ./shell/configurations/tmux/tmux $HOME/.tmux.conf", + "cp:tmux": "cp -vf ./shell/configurations/tmux/tmux.conf $HOME/.tmux.conf && cp -vR ./shell/configurations/tmux/tmux/ $HOME/tmux/", "cp:vimr": "cp -vf ./shell/configurations/vim/vimrc $HOME/.vimrc", "cp:wget": "cp -vf ./shell/configurations/wget/wgetrc $HOME/.wgetrc", "cp:zshr": "cp -vf ./shell/configurations/zsh/zshrc $HOME/.zshrc", From 952d9aa5a242aae2666fa28b0637bcb92451d965 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Tue, 11 Oct 2022 21:39:45 +0100 Subject: [PATCH 08/22] fix(input): updated folder location --- shell/configurations/{input => inputrc}/inputrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename shell/configurations/{input => inputrc}/inputrc (100%) diff --git a/shell/configurations/input/inputrc b/shell/configurations/inputrc/inputrc similarity index 100% rename from shell/configurations/input/inputrc rename to shell/configurations/inputrc/inputrc From 0b98d7c5932852e14953a3d633a6bc74f0021ec4 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 11:43:40 +0100 Subject: [PATCH 09/22] fix(upd): optimizing upd alias --- shell/aliases/default/default.aliases.sh | 342 ++++++++++++----------- 1 file changed, 172 insertions(+), 170 deletions(-) diff --git a/shell/aliases/default/default.aliases.sh b/shell/aliases/default/default.aliases.sh index c54f76d5..662a0545 100644 --- a/shell/aliases/default/default.aliases.sh +++ b/shell/aliases/default/default.aliases.sh @@ -4,175 +4,175 @@ # License: MIT # πŸ…³πŸ…΄πŸ…΅πŸ…°πŸ†„πŸ…»πŸ†ƒ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚ -unalias -a # Remove all previous environment defined aliases. -alias -- -='cd -' # -: Shortcut to go to previous directory. -alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory. -alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory. -alias ...='cd ../..' # ...: Shortcut to go to grandparent directory. -alias ..='cd ..' # ..: Shortcut to go to parent directory. -alias ':q'='quit' # q: Shortcut for the `exit` command. -alias '~'='cd ~' # ~: Shortcut to go to home directory. -alias 'l.'="ls -dlhF .* | grep -v '^d'" # l.: List hidden files. -alias 000='chmod -R 000' # 000: Make all files and directories read-only. -alias 644='chmod -R 644' # 644: Make all files and directories readable and writable. -alias 666='chmod -R 666' # 666: Make all files and directories readable and writable. -alias 755='chmod -R 755' # 755: Make all files and directories readable and writable. -alias 777='chmod -R 777' # 777: Make all files and directories readable and writable. -alias bye='quit' # q: Shortcut for the `exit` command. -alias c="clear" # c: Clear screen shortcut. -alias cde="cd ~/Code; ls" # cde: Shortcut to go to the Code directory and list its contents. -alias cgz='tar -zcvf' # cgz: Compress a whole directory (including subdirectories) to a tarball. -alias chmox='chmod +x' # chmox: Make a file executable. -alias cl="clear" # cl: Clear screen shortcut. -alias clear="clear && printf '\e[3J'" # clear: Clear screen shortcut. -alias clr="clear" # clr: Clear screen shortcut. -alias cls="clear" # cls: Clear screen shortcut. -alias cp="cp -vi" # cp: Copy files and directories. -alias cr='cargo run' # cr: Run cargo. -alias ct="clear && tree ./" # ct: Clear screen and list directory contents. -alias ctf='echo $(ls -1 | wc -l)' # ctf: Count the number of files in the current directory. -alias curl='curl --compressed' # curl: Use compression when transferring data. -alias da='date "+%Y-%m-%d %A %T %Z"' # da: Display the current date and time. -alias del="rm -rfv" # del: Remove a file or directory. +unalias -a # Remove all previous environment defined aliases. +alias -- -='cd -' # -: Shortcut to go to previous directory. +alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory. +alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory. +alias ...='cd ../..' # ...: Shortcut to go to grandparent directory. +alias ..='cd ..' # ..: Shortcut to go to parent directory. +alias ':q'='quit' # q: Shortcut for the `exit` command. +alias '~'='cd ~' # ~: Shortcut to go to home directory. +alias 'l.'="ls -dlhF .* | grep -v '^d'" # l.: List hidden files. +alias 000='chmod -R 000' # 000: Make all files and directories read-only. +alias 644='chmod -R 644' # 644: Make all files and directories readable and writable. +alias 666='chmod -R 666' # 666: Make all files and directories readable and writable. +alias 755='chmod -R 755' # 755: Make all files and directories readable and writable. +alias 777='chmod -R 777' # 777: Make all files and directories readable and writable. +alias bye='quit' # q: Shortcut for the `exit` command. +alias c="clear" # c: Clear screen shortcut. +alias cde="cd ~/Code; ls" # cde: Shortcut to go to the Code directory and list its contents. +alias cgz='tar -zcvf' # cgz: Compress a whole directory (including subdirectories) to a tarball. +alias chmox='chmod +x' # chmox: Make a file executable. +alias cl="clear" # cl: Clear screen shortcut. +alias clear="clear && printf '\e[3J'" # clear: Clear screen shortcut. +alias clr="clear" # clr: Clear screen shortcut. +alias cls="clear" # cls: Clear screen shortcut. +alias cp="cp -vi" # cp: Copy files and directories. +alias cr='cargo run' # cr: Run cargo. +alias ct="clear && tree ./" # ct: Clear screen and list directory contents. +alias ctf='echo $(ls -1 | wc -l)' # ctf: Count the number of files in the current directory. +alias curl='curl --compressed' # curl: Use compression when transferring data. +alias da='date "+%Y-%m-%d %A %T %Z"' # da: Display the current date and time. +alias del="rm -rfv" # del: Remove a file or directory. alias digg="dig @8.8.8.8 +nocmd any +multiline +noall +answer" # digg: Dig with Google's DNS. -alias dn="cd ~/Downloads; ls" # dn: Shortcut to go to the Downloads directory and list its contents. -alias dot='cd ${HOME}/.dotfiles/' # dot: Shortcut to go to the dotfiles directory. -alias ds="cd ~/Documents; ls" # ds: Shortcut to go to the Documents directory and list its contents. -alias dsp="sudo du -shc ." # dsp: Show the size of the current directory. -alias dt="cd ~/Desktop; ls" # dt: Shortcut to go to the Desktop directory and list its contents. -alias du='sudo du -h' # du: File size human readable output sorted by size. -alias duf='sudo du -sh *' # duf: File size human readable output sorted. -alias e='vim' # e, edit, mate: Edit current file. -alias edit='vim' # e, edit, mate: Edit current file. -alias egz='tar -xvzf' # egz: Extract a whole directory (including subdirectories) -alias f='find . -name ' # f: Quickly search for file -alias fd='find . -type d -name' # fd: Quickly search for directory -alias ff='find . -type f -name' # ff: Quickly search for file -alias g='git' # g: Shortcut to git. -alias ga='git add ' # ga: Shortcut to git add. -alias gb='git branch ' # gb: Shortcut to git branch. -alias gc='git commit -m ' # gc: Shortcut to git commit. -alias gcb="git checkout -b " # gcb: Create a new branch and switch to it. -alias gcl='git clone ' # gcl: Shortcut to git clone. -alias gco='git checkout ' # gco: Shortcut to git checkout. -alias gd='git diff ' # gd: Shortcut to git diff. -alias gf='git fetch ' # gf: Shortcut to git fetch. -alias gl='git log ' # gl: Shortcut to git log. -alias gmv='git mv' # gmv: Move or rename a file, a directory, or a symlink. -alias gph="git push" # gp: Push local commits to remote. -alias gpl="git pull" # gl: Update and merge remote changes. -alias gr='git remote ' # gr: Shortcut to git remote. -alias grm='git remove' # grm: Remove files from the working tree and from the index. -alias grt='cd "$(git rev-parse --show-toplevel)"' # gr: Change to Git Root directory. -alias gst='git status ' # gst: Shortcut to git status. -alias gsta='git stash save ' # gsta: Shortcut to git stash save. -alias gz='tar -zcvf' # gz: Compress a whole directory (including subdirectories) to a tarball. -alias h='history' # h: Lists all recently used commands. -alias halt="sudo /sbin/halt" # halt: Shutdown the system. -alias ifconfig='sudo ifconfig' # ifconfig: Append sudo to ifconfig (configure network interface parameters) command. -alias ip="ip4; ip6" # ip: Get the public IPv4 and IPv6 addresses. +alias dn="cd ~/Downloads; ls" # dn: Shortcut to go to the Downloads directory and list its contents. +alias dot='cd ${HOME}/.dotfiles/' # dot: Shortcut to go to the dotfiles directory. +alias ds="cd ~/Documents; ls" # ds: Shortcut to go to the Documents directory and list its contents. +alias dsp="sudo du -shc ." # dsp: Show the size of the current directory. +alias dt="cd ~/Desktop; ls" # dt: Shortcut to go to the Desktop directory and list its contents. +alias du='sudo du -h' # du: File size human readable output sorted by size. +alias duf='sudo du -sh *' # duf: File size human readable output sorted. +alias e='vim' # e, edit, mate: Edit current file. +alias edit='vim' # e, edit, mate: Edit current file. +alias egz='tar -xvzf' # egz: Extract a whole directory (including subdirectories) +alias f='find . -name ' # f: Quickly search for file +alias fd='find . -type d -name' # fd: Quickly search for directory +alias ff='find . -type f -name' # ff: Quickly search for file +alias g='git' # g: Shortcut to git. +alias ga='git add ' # ga: Shortcut to git add. +alias gb='git branch ' # gb: Shortcut to git branch. +alias gc='git commit -m ' # gc: Shortcut to git commit. +alias gcb="git checkout -b " # gcb: Create a new branch and switch to it. +alias gcl='git clone ' # gcl: Shortcut to git clone. +alias gco='git checkout ' # gco: Shortcut to git checkout. +alias gd='git diff ' # gd: Shortcut to git diff. +alias gf='git fetch ' # gf: Shortcut to git fetch. +alias gl='git log ' # gl: Shortcut to git log. +alias gmv='git mv' # gmv: Move or rename a file, a directory, or a symlink. +alias gph="git push" # gp: Push local commits to remote. +alias gpl="git pull" # gl: Update and merge remote changes. +alias gr='git remote ' # gr: Shortcut to git remote. +alias grm='git remove' # grm: Remove files from the working tree and from the index. +alias grt='cd "$(git rev-parse --show-toplevel)"' # gr: Change to Git Root directory. +alias gst='git status ' # gst: Shortcut to git status. +alias gsta='git stash save ' # gsta: Shortcut to git stash save. +alias gz='tar -zcvf' # gz: Compress a whole directory (including subdirectories) to a tarball. +alias h='history' # h: Lists all recently used commands. +alias halt="sudo /sbin/halt" # halt: Shutdown the system. +alias ifconfig='sudo ifconfig' # ifconfig: Append sudo to ifconfig (configure network interface parameters) command. +alias ip="ip4; ip6" # ip: Get the public IPv4 and IPv6 addresses. alias ip4="dig +short myip.opendns.com @resolver1.opendns.com -4" # ip4: Get the public IPv4 address. alias ip6="dig -6 AAAA +short myip.opendns.com. @resolver1.opendns.com." # ip6: Get the public IPv6 address. -alias ipinfo='ipconfig getpacket en0' # ipInfo0: Get network interface parameters for en0. -alias l='ls -lFh' # l: Size, show type, human readable. -alias l1='ls -1' # l1: Display one file per line. -alias la='ls -Alh' # la: show hidden files on the command line. -alias labc='ls -lap' # labc: List all files in alphabetical order. -alias lc='wc -l' # lc: Count the number of lines in the file. -alias lct='ls -lcrh' # lc: sort by change time -alias ld='ls -ltrh' # lt: sort by date -alias ldir="ls -l | egrep '^d'" # directories only -alias ldot="l." # l.: List hidden files. -alias left='ls -t -1' # left: List files by date, most recent last. -alias lf="ls -l | egrep -v '^d'" # files only -alias lk='ls -lSrh' # lk: sort by size -alias ll='ls -lAFh' # ll: Long list, show almost all, show type, human readable. -alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory. -alias lm='ls -alh |more' # lm: pipe through 'more' -alias ln='ln -vi' # ln: interactive symbolic link -alias locale='locale -a | grep UTF-8' # locale: List all available locales. -alias lp='sudo lsof -i -T -n' # lp: List all open ports. -alias lr='ls -lRh' # lr: recursive ls -alias ls='ls --color' # ls: Colorize the output. -alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size. -alias lt="tree" # lt: List contents of directories in a tree-like format. -alias lu='ls -lurh' # lu: sort by access time -alias lw='ls -xAh' # wide listing format -alias lx='ls | sort -k 1,1 -t .' # lx: sort by extension -alias mate='vim' # e, edit, mate: Edit current file. -alias mc='make clean' # mc: Make clean. -alias md='mkd' # mkd: Create the directory and all parent directories, verbose mode. -alias mi='make install' # mi: Make install. -alias mk=make # mk: Make. -alias mkbz2='tar -cvjf' # mkbz2: Create a temporary tar ball compressed with bzip2. -alias mkcd='mkdir -pv && cd' # mkcd: Create the directory and all parent directories, verbose mode, then change to it. -alias mkd='mkdir -pv' # mkd: Create the directory and all parent directories, verbose mode. -alias mkdd='mkdir -pv $(date +%Y%m%d)' # mkdd: Create a directory with the current date. -alias mkgz='tar -cvzf' # mkgz: Create a temporary tar ball compressed with gzip. -alias mkh="make help" # mkh: Make help. -alias mkr="make run" # mkr: Make run. -alias mkt="make test" # mkt: Make test. -alias mktar='tar -cvf' # mktar: Create a temporary tarball. -alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose. -alias mx='chmod a+x' # mx: Make executable. -alias nls='sudo lsof -i -P | grep LISTEN' # nls: Show only active network listeners. -alias now='date +"%T"' # now: Show the current time. -alias npmi='npm install ' # npmi: Install npm package. -alias npms='npm start ' # npms: Start npm package. -alias op='sudo lsof -i -P' # op: List of open ports. -alias p='pwd' # p: Shortcut for `pwd` which returns working directory name. -alias pa="clear && pwd && echo '' && ls && echo ''" # pa: Clear the screen, show the current directory, and list the files. -alias paa="clear && pwd && echo '' && ls -a && echo ''" # paa: Clear the screen, show the current directory, and list all files. -alias path='echo -e ${PATH//:/\\n}' # path: Display the $PATH variable on newlines. -alias pid='ps -f' # pid: Display the uid, pid, parent pid, recent CPU usage, process start time, controlling tty, elapsed CPU usage, and the associated command. -alias ping='ping -c 5' # ping: Limit Ping to 5 ECHO_REQUEST packets. -alias please='sudo -' # sudo: Execute a command as the superuser. -alias pn='pnpm' # pn: Shortcut to pnpm. -alias ports='netstat -tulan' # ports: List all listening ports. -alias poweroff="sudo /sbin/shutdown" # poweroff: Poweroff the system. -alias pp="clear && pwd" # pp: Clear the screen and show the current directory. -alias ps='ps auxwww' # kp: Getting full path of executables. -alias pt="clear && pwd && echo '' && tree ./ && echo ''" # pt: Clear the screen and show the current directory and tree. -alias q='quit' # q: Shortcut for the `exit` command. -alias qfind='find . -name ' # qfind: Quickly search for file. -alias quit='exit' # q: Shortcut for the `exit` command. -alias r=reload # r: Reload the shell. -alias reboot="sudo /sbin/reboot" # reboot: Reboot the system. -alias reload='exec $SHELL -l' # reload: Reload the shell. -alias rm='rm -vI' # rm: Prompts for every file before removing. -alias rr="rm -rf" # rr: Remove directory and all its contents. -alias rs='rsync -avz' # rs: Rsync with verbose and progress. -alias s='sudo' # s: Execute a command as the superuser. -alias shutdown='sudo shutdown -h now' # shutdown: Shutdown the system. -alias spd='sudo rm -rf /private/var/log/asl/*' # spd: Remove all log files in /private/var/log/asl. -alias srv='python3 -m http.server' # srv: Start a simple HTTP server. -alias svi='sudo vi' # svi: Run vi in sudo mode. -alias t='tail -f' # t: Prints the last 10 lines of a text or log file, and then waits for new additions to the file to print it in real time. -alias top='sudo btop' # top: Allows the user to interactively monitor the system's vital resources or server's processes in real time. -alias trash="rm -fr ~/.Trash" # trash: Remove all files in the trash. -alias tree='tree --dirsfirst' # tree: Display a directory tree. -alias unbz2='tar -xvjf' # unbz2: Extract a tarball compressed with bzip2. -alias undopush="git push -f origin HEAD^:master" # undopush: Undo the last push. -alias ungz='tar -xvzf' # ungz: Extract a tarball compressed with gzip. -alias untar='tar -xvf' # untar: Extract a tarball. -alias usage='du -ch | grep total' # usage: Grabs the disk usage in the current directory. -alias v='vim $(f)' # v: Edit a file. -alias v='vim' # e, edit, mate: Edit current file. -alias wget='wget -c' # wget: wget with resume. -alias wip='dig +short myip.opendns.com @resolver1.opendns.com' # wip: Get public IP address. -alias wk='date +%V' # wk: Show the current week number. -alias wth='curl https://wttr.in' # wth: Get the weather. -alias x='quit' # q: Shortcut for the `exit` command. +alias ipinfo='ipconfig getpacket en0' # ipInfo0: Get network interface parameters for en0. +alias l='ls -lFh' # l: Size, show type, human readable. +alias l1='ls -1' # l1: Display one file per line. +alias la='ls -Alh' # la: show hidden files on the command line. +alias labc='ls -lap' # labc: List all files in alphabetical order. +alias lc='wc -l' # lc: Count the number of lines in the file. +alias lct='ls -lcrh' # lc: sort by change time +alias ld='ls -ltrh' # lt: sort by date +alias ldir="ls -l | egrep '^d'" # directories only +alias ldot="l." # l.: List hidden files. +alias left='ls -t -1' # left: List files by date, most recent last. +alias lf="ls -l | egrep -v '^d'" # files only +alias lk='ls -lSrh' # lk: sort by size +alias ll='ls -lAFh' # ll: Long list, show almost all, show type, human readable. +alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory. +alias lm='ls -alh |more' # lm: pipe through 'more' +alias ln='ln -vi' # ln: interactive symbolic link +alias locale='locale -a | grep UTF-8' # locale: List all available locales. +alias lp='sudo lsof -i -T -n' # lp: List all open ports. +alias lr='ls -lRh' # lr: recursive ls +alias ls='ls --color' # ls: Colorize the output. +alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size. +alias lt="tree" # lt: List contents of directories in a tree-like format. +alias lu='ls -lurh' # lu: sort by access time +alias lw='ls -xAh' # wide listing format +alias lx='ls | sort -k 1,1 -t .' # lx: sort by extension +alias mate='vim' # e, edit, mate: Edit current file. +alias mc='make clean' # mc: Make clean. +alias md='mkd' # mkd: Create the directory and all parent directories, verbose mode. +alias mi='make install' # mi: Make install. +alias mk=make # mk: Make. +alias mkbz2='tar -cvjf' # mkbz2: Create a temporary tar ball compressed with bzip2. +alias mkcd='mkdir -pv && cd' # mkcd: Create the directory and all parent directories, verbose mode, then change to it. +alias mkd='mkdir -pv' # mkd: Create the directory and all parent directories, verbose mode. +alias mkdd='mkdir -pv $(date +%Y%m%d)' # mkdd: Create a directory with the current date. +alias mkgz='tar -cvzf' # mkgz: Create a temporary tar ball compressed with gzip. +alias mkh="make help" # mkh: Make help. +alias mkr="make run" # mkr: Make run. +alias mkt="make test" # mkt: Make test. +alias mktar='tar -cvf' # mktar: Create a temporary tarball. +alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose. +alias mx='chmod a+x' # mx: Make executable. +alias nls='sudo lsof -i -P | grep LISTEN' # nls: Show only active network listeners. +alias now='date +"%T"' # now: Show the current time. +alias npmi='npm install ' # npmi: Install npm package. +alias npms='npm start ' # npms: Start npm package. +alias op='sudo lsof -i -P' # op: List of open ports. +alias p='pwd' # p: Shortcut for `pwd` which returns working directory name. +alias pa="clear && pwd && echo '' && ls && echo ''" # pa: Clear the screen, show the current directory, and list the files. +alias paa="clear && pwd && echo '' && ls -a && echo ''" # paa: Clear the screen, show the current directory, and list all files. +alias path='echo -e ${PATH//:/\\n}' # path: Display the $PATH variable on newlines. +alias pid='ps -f' # pid: Display the uid, pid, parent pid, recent CPU usage, process start time, controlling tty, elapsed CPU usage, and the associated command. +alias ping='ping -c 5' # ping: Limit Ping to 5 ECHO_REQUEST packets. +alias please='sudo -' # sudo: Execute a command as the superuser. +alias pn='pnpm' # pn: Shortcut to pnpm. +alias ports='netstat -tulan' # ports: List all listening ports. +alias poweroff="sudo /sbin/shutdown" # poweroff: Poweroff the system. +alias pp="clear && pwd" # pp: Clear the screen and show the current directory. +alias ps='ps auxwww' # kp: Getting full path of executables. +alias pt="clear && pwd && echo '' && tree ./ && echo ''" # pt: Clear the screen and show the current directory and tree. +alias q='quit' # q: Shortcut for the `exit` command. +alias qfind='find . -name ' # qfind: Quickly search for file. +alias quit='exit' # q: Shortcut for the `exit` command. +alias r=reload # r: Reload the shell. +alias reboot="sudo /sbin/reboot" # reboot: Reboot the system. +alias reload='exec $SHELL -l' # reload: Reload the shell. +alias rm='rm -vI' # rm: Prompts for every file before removing. +alias rr="rm -rf" # rr: Remove directory and all its contents. +alias rs='rsync -avz' # rs: Rsync with verbose and progress. +alias s='sudo' # s: Execute a command as the superuser. +alias shutdown='sudo shutdown -h now' # shutdown: Shutdown the system. +alias spd='sudo rm -rf /private/var/log/asl/*' # spd: Remove all log files in /private/var/log/asl. +alias srv='python3 -m http.server' # srv: Start a simple HTTP server. +alias svi='sudo vi' # svi: Run vi in sudo mode. +alias t='tail -f' # t: Prints the last 10 lines of a text or log file, and then waits for new additions to the file to print it in real time. +alias top='sudo btop' # top: Allows the user to interactively monitor the system's vital resources or server's processes in real time. +alias trash="rm -fr ~/.Trash" # trash: Remove all files in the trash. +alias tree='tree --dirsfirst' # tree: Display a directory tree. +alias unbz2='tar -xvjf' # unbz2: Extract a tarball compressed with bzip2. +alias undopush="git push -f origin HEAD^:master" # undopush: Undo the last push. +alias ungz='tar -xvzf' # ungz: Extract a tarball compressed with gzip. +alias untar='tar -xvf' # untar: Extract a tarball. +alias usage='du -ch | grep total' # usage: Grabs the disk usage in the current directory. +alias v='vim $(f)' # v: Edit a file. +alias v='vim' # e, edit, mate: Edit current file. +alias wget='wget -c' # wget: wget with resume. +alias wip='dig +short myip.opendns.com @resolver1.opendns.com' # wip: Get public IP address. +alias wk='date +%V' # wk: Show the current week number. +alias wth='curl https://wttr.in' # wth: Get the weather. +alias x='quit' # q: Shortcut for the `exit` command. if [[ "$(uname || true)" = "Darwin" ]]; then alias upd=' sudo softwareupdate -i -a; - pnpm i; - pnpm i yarn --global; - pnpm i npm --global; - pnpm i pnpm --global; pnpm up; - brew cu --all; + if [[ "$(command -v brew cu)" ]]; then + brew cu -ayi; + else + brew tap buo/cask-upgrade; + fi; brew doctor; brew update; brew upgrade; @@ -180,20 +180,22 @@ if [[ "$(uname || true)" = "Darwin" ]]; then mas upgrade; sudo gem update; sudo gem cleanup; - ' + ' elif [[ "$(uname || true)" = "Linux" ]]; then - alias open="xdg-open >/dev/null 2>&1" # open: Open a file or URL in the user's preferred application. - alias pbcopy='xsel --clipboard --input' # pbcopy: Copy to clipboard. - alias pbpaste='xsel --clipboard --output' # pbpaste: Paste from clipboard. + alias open="xdg-open >/dev/null 2>&1" # open: Open a file or URL in the user's preferred application. + alias pbcopy='xsel --clipboard --input' # pbcopy: Copy to clipboard. + alias pbpaste='xsel --clipboard --output' # pbpaste: Paste from clipboard. alias upd=' sudo apt update; sudo apt upgrade -y; - pnpm i; - pnpm i yarn --global; - pnpm i npm --global; - pnpm i pnpm --global; pnpm up; + brew cu -ayi; + brew doctor; + brew update; + brew upgrade; + brew cleanup; + mas upgrade; sudo gem update; sudo gem cleanup; - ' + ' fi From dee79c433d71a831b8d6e991c9326c5cfa38dc4c Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 19:20:09 +0100 Subject: [PATCH 10/22] fix(git): added git aliases --- shell/aliases/default/default.aliases.sh | 18 ---------- .../git/{git.aliases.tmp => git.aliases.sh} | 35 +++++-------------- 2 files changed, 9 insertions(+), 44 deletions(-) rename shell/aliases/git/{git.aliases.tmp => git.aliases.sh} (94%) diff --git a/shell/aliases/default/default.aliases.sh b/shell/aliases/default/default.aliases.sh index 662a0545..7e9923a5 100644 --- a/shell/aliases/default/default.aliases.sh +++ b/shell/aliases/default/default.aliases.sh @@ -48,24 +48,6 @@ alias egz='tar -xvzf' # egz: alias f='find . -name ' # f: Quickly search for file alias fd='find . -type d -name' # fd: Quickly search for directory alias ff='find . -type f -name' # ff: Quickly search for file -alias g='git' # g: Shortcut to git. -alias ga='git add ' # ga: Shortcut to git add. -alias gb='git branch ' # gb: Shortcut to git branch. -alias gc='git commit -m ' # gc: Shortcut to git commit. -alias gcb="git checkout -b " # gcb: Create a new branch and switch to it. -alias gcl='git clone ' # gcl: Shortcut to git clone. -alias gco='git checkout ' # gco: Shortcut to git checkout. -alias gd='git diff ' # gd: Shortcut to git diff. -alias gf='git fetch ' # gf: Shortcut to git fetch. -alias gl='git log ' # gl: Shortcut to git log. -alias gmv='git mv' # gmv: Move or rename a file, a directory, or a symlink. -alias gph="git push" # gp: Push local commits to remote. -alias gpl="git pull" # gl: Update and merge remote changes. -alias gr='git remote ' # gr: Shortcut to git remote. -alias grm='git remove' # grm: Remove files from the working tree and from the index. -alias grt='cd "$(git rev-parse --show-toplevel)"' # gr: Change to Git Root directory. -alias gst='git status ' # gst: Shortcut to git status. -alias gsta='git stash save ' # gsta: Shortcut to git stash save. alias gz='tar -zcvf' # gz: Compress a whole directory (including subdirectories) to a tarball. alias h='history' # h: Lists all recently used commands. alias halt="sudo /sbin/halt" # halt: Shutdown the system. diff --git a/shell/aliases/git/git.aliases.tmp b/shell/aliases/git/git.aliases.sh similarity index 94% rename from shell/aliases/git/git.aliases.tmp rename to shell/aliases/git/git.aliases.sh index 01926168..4d9471cf 100644 --- a/shell/aliases/git/git.aliases.tmp +++ b/shell/aliases/git/git.aliases.sh @@ -169,7 +169,7 @@ alias gf='git fetch' alias gp='git pull' # Update remote refs along with associated objects. -alias gpu='git push' +alias gph='git push' @@ -286,7 +286,7 @@ alias gclout='git clean -df && git checkout -- .' alias gco='git checkout' # Create a new branch named and start it at . -alias gcob='git checkout -b' +alias gcb='git checkout -b' # Delete all local branches that have been merged into the local main branch. alias gcode='git checkout main && git branch --merged | xargs git branch --delete' @@ -371,15 +371,10 @@ alias grf="find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && # Fetch all git remotes for a repo. alias grfall="git branch -r | awk -F'/' '{print "git fetch "$1,$2}' | xargs -I {} sh -c {}" -# Open current Git repository URL. -alias gro="open `git remote -v | awk '/fetch/{print $2}' | sed -Ee 's#(git@|git://)#http://#' -e 's@com:@com/@'`| head -n1"x - # For each remote branch, push it. alias grp="git remote | xargs -I% -n1 git push %" # Push all remotes. -alias grpa="for i in `git remote`; do git push $i; done;" - # Print the url for the current repo. alias grprint="git remote -v | sed -n '/github.com.*push/{s/^[^[:space:]]\+[[:space:]]\+//;s|git@github.com:|https://github.com/|;s/\.git.*//;p}" @@ -440,8 +435,11 @@ alias gsmuir='git submodule update --init --recursive' # Show the working tree status. alias gst='git status' +# Stash the changes. +alias gsta='git stash save ' + # Remove untracked files in a git repository. -alias gstrmu='git status -su | cut -d' ' -f2- | tr '\n' '\0' | xargs -0 rm' +alias gstrmu='git status -su | cut -d' ' -f2- | tr "\n" "\0" | xargs -0 rm' # Status with short format instead of full details. alias gsts='git status --short' @@ -458,26 +456,20 @@ alias gstsb='git status --short --branch' # See all tags. alias gt='git tag' -# Add a tag. -alias gta='git tag -a $1 -m $2' - # Create, list, delete or verify a tag object signed with GPG. alias gtg='git tag' # Last tag in the current branch. alias gtl='git describe --tags --abbrev=0' -# Delete all tags. -alias gtrm='for t in `git tag` do; git push origin :$t; git tag -d $t; done' - ## ---------------------------------------------------------------------------- ## 2.6 Aliases to show various types of objects. ## ---------------------------------------------------------------------------- -# Show git branches by date - useful for showing active branches. -alias gshab='for k in `git branch|perl -pe s/^..//`;do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k|head -n 1`\\t$k;done|sort -r' +# Show various types of objects +alias gshow='git show' # Find the nearest parent branch of the current git branch. # alias gshf='git show-branch -a | grep '\*' | grep -v 'git rev-parse --abbrev-ref HEAD' | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//'' @@ -522,7 +514,7 @@ alias gresu='git reset --hard $(git upstream-branch)' alias gtp='git rev-parse --show-toplevel' # Get the current branch name. -alias gcb='git rev-parse --abbrev-ref HEAD' +alias grpa='git rev-parse --abbrev-ref HEAD' # Get the upstream branch name. # alias gub='git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)' @@ -548,9 +540,6 @@ alias grmd2='git rm $(git ls-files --deleted)' # Remove .DS_Store from the repository. alias grmds='find . -name .DS_Store -exec git rm --ignore-unmatch --cached {} +' -# Remove all new files. -alias grmn='for file in $(git status | grep "new file" | sed "s/#\tnew file://"); do git rm --cached $file; done' - # Remove for all deleted files, including those with space/quote/unprintable characters in their filename/path. alias grmx='git ls-files -z -d | xargs -0 git rm --' @@ -560,12 +549,6 @@ alias grmx='git ls-files -z -d | xargs -0 git rm --' ## 3.0 Aliases to show what revision and author last modified each line of a file. ## ---------------------------------------------------------------------------- -# Specifies a format used to output short dates. -alias gbl='git blame --date short "$1"' - -# Count the number of lines attributed to each author. -alias gblc='git blame --line-porcelain "$1" | sed -n 's/^author //p' | sort | uniq -c | sort -rn' - # Prints per-line contribution per author for a GIT repository. alias gblau='git ls-files | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr' From 4122f95dc22ed527c1e4912806fd630aea97266b Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 19:41:30 +0100 Subject: [PATCH 11/22] fix(tmux): updating tmux configs and npm script --- package.json | 2 +- .../tmux/{tmux => }/default.conf | 0 .../tmux/{tmux => }/display.conf | 0 .../configurations/tmux/{tmux => }/linux.conf | 0 .../tmux/{tmux => }/navigation.conf | 0 .../configurations/tmux/{tmux => }/panes.conf | 0 .../configurations/tmux/{tmux => }/theme.conf | 0 shell/configurations/tmux/tmux.conf | 28 +++++++++---------- shell/configurations/tmux/{tmux => }/vi.conf | 0 9 files changed, 15 insertions(+), 15 deletions(-) rename shell/configurations/tmux/{tmux => }/default.conf (100%) rename shell/configurations/tmux/{tmux => }/display.conf (100%) rename shell/configurations/tmux/{tmux => }/linux.conf (100%) rename shell/configurations/tmux/{tmux => }/navigation.conf (100%) rename shell/configurations/tmux/{tmux => }/panes.conf (100%) rename shell/configurations/tmux/{tmux => }/theme.conf (100%) rename shell/configurations/tmux/{tmux => }/vi.conf (100%) diff --git a/package.json b/package.json index 43c9d257..4bfdabc9 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "cp:make": "cp -vf ./Makefile ./dist", "cp:prof": "cp -vf ./shell/configurations/profile/profile $HOME/.profile", "cp:shell": "cp -vR ./shell/ ./dist/shell/", - "cp:tmux": "cp -vf ./shell/configurations/tmux/tmux.conf $HOME/.tmux.conf && cp -vR ./shell/configurations/tmux/tmux/ $HOME/tmux/", + "cp:tmux": "cp -vf ./shell/configurations/tmux/tmux.conf $HOME/.tmux.conf && cp -vR ./shell/configurations/tmux/ $HOME/.dotfiles/shell/configurations/tmux/", "cp:vimr": "cp -vf ./shell/configurations/vim/vimrc $HOME/.vimrc", "cp:wget": "cp -vf ./shell/configurations/wget/wgetrc $HOME/.wgetrc", "cp:zshr": "cp -vf ./shell/configurations/zsh/zshrc $HOME/.zshrc", diff --git a/shell/configurations/tmux/tmux/default.conf b/shell/configurations/tmux/default.conf similarity index 100% rename from shell/configurations/tmux/tmux/default.conf rename to shell/configurations/tmux/default.conf diff --git a/shell/configurations/tmux/tmux/display.conf b/shell/configurations/tmux/display.conf similarity index 100% rename from shell/configurations/tmux/tmux/display.conf rename to shell/configurations/tmux/display.conf diff --git a/shell/configurations/tmux/tmux/linux.conf b/shell/configurations/tmux/linux.conf similarity index 100% rename from shell/configurations/tmux/tmux/linux.conf rename to shell/configurations/tmux/linux.conf diff --git a/shell/configurations/tmux/tmux/navigation.conf b/shell/configurations/tmux/navigation.conf similarity index 100% rename from shell/configurations/tmux/tmux/navigation.conf rename to shell/configurations/tmux/navigation.conf diff --git a/shell/configurations/tmux/tmux/panes.conf b/shell/configurations/tmux/panes.conf similarity index 100% rename from shell/configurations/tmux/tmux/panes.conf rename to shell/configurations/tmux/panes.conf diff --git a/shell/configurations/tmux/tmux/theme.conf b/shell/configurations/tmux/theme.conf similarity index 100% rename from shell/configurations/tmux/tmux/theme.conf rename to shell/configurations/tmux/theme.conf diff --git a/shell/configurations/tmux/tmux.conf b/shell/configurations/tmux/tmux.conf index 375084e2..333dddee 100644 --- a/shell/configurations/tmux/tmux.conf +++ b/shell/configurations/tmux/tmux.conf @@ -3,18 +3,18 @@ # License: MIT bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ - source-file $HOME/tmux/default.conf \; \ - source-file $HOME/tmux/display.conf \; \ - source-file $HOME/tmux/linux.conf \; \ - source-file $HOME/tmux/navigation.conf \; \ - source-file $HOME/tmux/panes.conf \; \ - source-file $HOME/tmux/panes.conf \; \ - source-file $HOME/tmux/vi.conf \; + source-file $HOME/.dotfiles/shell/configurations/tmux/default.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/display.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/linux.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/navigation.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/vi.conf \; -source-file $HOME/tmux/default.conf -source-file $HOME/tmux/display.conf -source-file $HOME/tmux/linux.conf -source-file $HOME/tmux/navigation.conf -source-file $HOME/tmux/panes.conf -source-file $HOME/tmux/theme.conf -source-file $HOME/tmux/vi.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/default.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/display.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/linux.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/navigation.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/theme.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/vi.conf diff --git a/shell/configurations/tmux/tmux/vi.conf b/shell/configurations/tmux/vi.conf similarity index 100% rename from shell/configurations/tmux/tmux/vi.conf rename to shell/configurations/tmux/vi.conf From 470754e4fb5b5d2b5ceb7b9f218f47ab7a52ac86 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 20:10:40 +0100 Subject: [PATCH 12/22] fix(tmux): renamed configs and updated JS --- bin/constants.js | 14 +++++++++- bin/dotfiles.js | 3 +- .../tmux/{default.conf => default} | 0 .../tmux/{display.conf => display} | 0 .../configurations/tmux/{linux.conf => linux} | 0 .../tmux/{navigation.conf => navigation} | 0 .../configurations/tmux/{panes.conf => panes} | 0 .../configurations/tmux/{theme.conf => theme} | 0 shell/configurations/tmux/{tmux.conf => tmux} | 28 +++++++++---------- shell/configurations/tmux/{vi.conf => vi} | 0 10 files changed, 29 insertions(+), 16 deletions(-) rename shell/configurations/tmux/{default.conf => default} (100%) rename shell/configurations/tmux/{display.conf => display} (100%) rename shell/configurations/tmux/{linux.conf => linux} (100%) rename shell/configurations/tmux/{navigation.conf => navigation} (100%) rename shell/configurations/tmux/{panes.conf => panes} (100%) rename shell/configurations/tmux/{theme.conf => theme} (100%) rename shell/configurations/tmux/{tmux.conf => tmux} (53%) rename shell/configurations/tmux/{vi.conf => vi} (100%) diff --git a/bin/constants.js b/bin/constants.js index 379c0afb..0c291a44 100644 --- a/bin/constants.js +++ b/bin/constants.js @@ -34,4 +34,16 @@ const copies = [ "shell/configurations/zsh/zshrc", ]; -module.exports = { aliases, copies, dotfile, version }; +const config = [ + "shell/configurations/tmux/default", + "shell/configurations/tmux/display", + "shell/configurations/tmux/linux", + "shell/configurations/tmux/navigation", + "shell/configurations/tmux/panes", + "shell/configurations/tmux/theme", + "shell/configurations/tmux/vi" +]; + +const tmux = "$DOTFILES/configurations/tmux/"; + +module.exports = { aliases, config, copies, dotfile, tmux, version }; diff --git a/bin/dotfiles.js b/bin/dotfiles.js index 40d4f20f..f3a07522 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -10,7 +10,7 @@ const transfer = require("./transfer.js"); const backup = require("./backup.js"); const download = require('./download.js'); const unpack = require("./unpack.js"); -const { aliases, copies } = require('./constants.js'); +const { aliases, config, copies, tmux } = require('./constants.js'); const sleep = (waitTimeInMs) => new Promise((resolve) => setTimeout(resolve, waitTimeInMs)); var fs = require('fs'); var os = require("os"); @@ -26,6 +26,7 @@ module.exports = async function main() { do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); + copy(config[i], tmux); i++; } while (i < aliases.length && i < copies.length); diff --git a/shell/configurations/tmux/default.conf b/shell/configurations/tmux/default similarity index 100% rename from shell/configurations/tmux/default.conf rename to shell/configurations/tmux/default diff --git a/shell/configurations/tmux/display.conf b/shell/configurations/tmux/display similarity index 100% rename from shell/configurations/tmux/display.conf rename to shell/configurations/tmux/display diff --git a/shell/configurations/tmux/linux.conf b/shell/configurations/tmux/linux similarity index 100% rename from shell/configurations/tmux/linux.conf rename to shell/configurations/tmux/linux diff --git a/shell/configurations/tmux/navigation.conf b/shell/configurations/tmux/navigation similarity index 100% rename from shell/configurations/tmux/navigation.conf rename to shell/configurations/tmux/navigation diff --git a/shell/configurations/tmux/panes.conf b/shell/configurations/tmux/panes similarity index 100% rename from shell/configurations/tmux/panes.conf rename to shell/configurations/tmux/panes diff --git a/shell/configurations/tmux/theme.conf b/shell/configurations/tmux/theme similarity index 100% rename from shell/configurations/tmux/theme.conf rename to shell/configurations/tmux/theme diff --git a/shell/configurations/tmux/tmux.conf b/shell/configurations/tmux/tmux similarity index 53% rename from shell/configurations/tmux/tmux.conf rename to shell/configurations/tmux/tmux index 333dddee..0bd7de30 100644 --- a/shell/configurations/tmux/tmux.conf +++ b/shell/configurations/tmux/tmux @@ -3,18 +3,18 @@ # License: MIT bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/default.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/display.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/linux.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/navigation.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/vi.conf \; + source-file $HOME/.dotfiles/shell/configurations/tmux/default \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/display \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/linux \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/navigation \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/panes \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/panes \; \ + source-file $HOME/.dotfiles/shell/configurations/tmux/vi \; -source-file $HOME/.dotfiles/shell/configurations/tmux/default.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/display.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/linux.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/navigation.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/panes.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/theme.conf -source-file $HOME/.dotfiles/shell/configurations/tmux/vi.conf +source-file $HOME/.dotfiles/shell/configurations/tmux/default +source-file $HOME/.dotfiles/shell/configurations/tmux/display +source-file $HOME/.dotfiles/shell/configurations/tmux/linux +source-file $HOME/.dotfiles/shell/configurations/tmux/navigation +source-file $HOME/.dotfiles/shell/configurations/tmux/panes +source-file $HOME/.dotfiles/shell/configurations/tmux/theme +source-file $HOME/.dotfiles/shell/configurations/tmux/vi diff --git a/shell/configurations/tmux/vi.conf b/shell/configurations/tmux/vi similarity index 100% rename from shell/configurations/tmux/vi.conf rename to shell/configurations/tmux/vi From 58106ce5489baa0028821005b632ac635b151e1c Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 21:20:26 +0100 Subject: [PATCH 13/22] feat(lib):refactoring shell to lib folder and updated dependencies --- README.md | 4 +- bin/compile.sh | 2 +- bin/constants.js | 34 +++++++------- bin/dotfiles.sh | 36 +++++++-------- docs/README.md | 2 +- {shell => lib}/README.md | 0 {shell => lib}/aliases.sh | 2 +- .../aliases/default/default.aliases.sh | 0 .../aliases/gcloud/gcloud.aliases.sh | 0 {shell => lib}/aliases/git/git.aliases.sh | 0 .../aliases/heroku/heroku.aliases.sh | 0 .../aliases/jekyll/jekyll.aliases.sh | 0 {shell => lib}/aliases/pnpm/pnpm.aliases.sh | 0 .../aliases/subversion/subversion.aliases.sh | 0 {shell => lib}/aliases/tmux/tmux.aliases.sh | 0 {shell => lib}/configurations.sh | 2 +- {shell => lib}/configurations/README.md | 0 {shell => lib}/configurations/bash/bashrc | 2 +- {shell => lib}/configurations/curl/cacert.pem | 0 {shell => lib}/configurations/curl/curlrc | 0 .../configurations/default/color.sh | 0 .../configurations/default/editor.sh | 0 .../configurations/default/prompt.sh | 0 {shell => lib}/configurations/inputrc/inputrc | 0 {shell => lib}/configurations/jshint/jshintrc | 0 {shell => lib}/configurations/profile/profile | 0 {shell => lib}/configurations/tmux/default | 0 {shell => lib}/configurations/tmux/display | 0 {shell => lib}/configurations/tmux/linux | 0 {shell => lib}/configurations/tmux/navigation | 0 {shell => lib}/configurations/tmux/panes | 0 {shell => lib}/configurations/tmux/theme | 0 lib/configurations/tmux/tmux | 20 ++++++++ {shell => lib}/configurations/tmux/vi | 0 {shell => lib}/configurations/vim/vimrc | 0 {shell => lib}/configurations/wget/wgetrc | 0 {shell => lib}/configurations/zsh/zshrc | 2 +- {shell => lib}/exit.sh | 0 {shell => lib}/functions.sh | 2 +- {shell => lib}/functions/README.md | 0 {shell => lib}/functions/cdls.sh | 0 {shell => lib}/functions/changediskpwd.tmp | 0 {shell => lib}/functions/code.tmp | 0 {shell => lib}/functions/countdown.tmp | 0 {shell => lib}/functions/curlheader.sh | 0 {shell => lib}/functions/curltime.sh | 0 {shell => lib}/functions/encode64.sh | 0 {shell => lib}/functions/environment.sh | 0 {shell => lib}/functions/extract.sh | 0 {shell => lib}/functions/filehead.sh | 0 {shell => lib}/functions/genpwd.sh | 0 {shell => lib}/functions/goto.sh | 0 {shell => lib}/functions/headers.tmp | 0 {shell => lib}/functions/hidehiddenfiles.sh | 0 {shell => lib}/functions/history-all.tmp | 0 {shell => lib}/functions/hostinfo.sh | 0 {shell => lib}/functions/hstats.sh | 0 {shell => lib}/functions/httpdebug.sh | 0 {shell => lib}/functions/keygen.sh | 0 {shell => lib}/functions/last.sh | 0 {shell => lib}/functions/logout.sh | 0 {shell => lib}/functions/lowercase.sh | 0 {shell => lib}/functions/macos.sh | 0 {shell => lib}/functions/matrix.sh | 0 {shell => lib}/functions/mcd.sh | 0 {shell => lib}/functions/mount_read_only.sh | 0 {shell => lib}/functions/myproc.sh | 0 {shell => lib}/functions/prependpath.sh | 0 {shell => lib}/functions/print.tmp | 0 {shell => lib}/functions/ql.sh | 0 {shell => lib}/functions/rd.sh | 0 {shell => lib}/functions/remove_disk.sh | 0 {shell => lib}/functions/ren.sh | 0 {shell => lib}/functions/rm.tmp | 0 {shell => lib}/functions/rps.tmp | 0 {shell => lib}/functions/showhiddenfiles.sh | 0 {shell => lib}/functions/size.sh | 0 {shell => lib}/functions/stopwatch.sh | 0 {shell => lib}/functions/trash.tmp | 0 {shell => lib}/functions/tree.tmp | 0 {shell => lib}/functions/uppercase.sh | 0 {shell => lib}/functions/uuidgen.tmp | 0 {shell => lib}/functions/view-source.sh | 0 {shell => lib}/functions/vscode.sh | 0 {shell => lib}/functions/whoisport.sh | 0 {shell => lib}/functions/zipf.sh | 0 {shell => lib}/history.sh | 0 {shell => lib}/paths.sh | 2 +- {shell => lib}/paths/ant/ant.paths.sh | 0 {shell => lib}/paths/default/default.paths.sh | 0 .../paths/homebrew/homebrew.paths.sh | 0 {shell => lib}/paths/java/java.paths.sh | 0 {shell => lib}/paths/maven/maven.paths.sh | 0 {shell => lib}/paths/node/node.paths.sh | 0 {shell => lib}/paths/nvm/nvm.paths.sh | 0 {shell => lib}/paths/pnpm/pnpm.paths.sh | 0 {shell => lib}/paths/python/python.paths.sh | 0 {shell => lib}/paths/ruby/ruby.paths.sh | 0 {shell => lib}/paths/tmux/tmux.paths.sh | 0 package.json | 46 +++++++++---------- pnpm-lock.yaml | 32 ++++++------- shell/configurations/tmux/tmux | 20 -------- tsconfig.json | 2 +- 103 files changed, 105 insertions(+), 105 deletions(-) rename {shell => lib}/README.md (100%) rename {shell => lib}/aliases.sh (82%) rename {shell => lib}/aliases/default/default.aliases.sh (100%) rename {shell => lib}/aliases/gcloud/gcloud.aliases.sh (100%) rename {shell => lib}/aliases/git/git.aliases.sh (100%) rename {shell => lib}/aliases/heroku/heroku.aliases.sh (100%) rename {shell => lib}/aliases/jekyll/jekyll.aliases.sh (100%) rename {shell => lib}/aliases/pnpm/pnpm.aliases.sh (100%) rename {shell => lib}/aliases/subversion/subversion.aliases.sh (100%) rename {shell => lib}/aliases/tmux/tmux.aliases.sh (100%) rename {shell => lib}/configurations.sh (79%) rename {shell => lib}/configurations/README.md (100%) rename {shell => lib}/configurations/bash/bashrc (95%) rename {shell => lib}/configurations/curl/cacert.pem (100%) rename {shell => lib}/configurations/curl/curlrc (100%) rename {shell => lib}/configurations/default/color.sh (100%) rename {shell => lib}/configurations/default/editor.sh (100%) rename {shell => lib}/configurations/default/prompt.sh (100%) rename {shell => lib}/configurations/inputrc/inputrc (100%) rename {shell => lib}/configurations/jshint/jshintrc (100%) rename {shell => lib}/configurations/profile/profile (100%) rename {shell => lib}/configurations/tmux/default (100%) rename {shell => lib}/configurations/tmux/display (100%) rename {shell => lib}/configurations/tmux/linux (100%) rename {shell => lib}/configurations/tmux/navigation (100%) rename {shell => lib}/configurations/tmux/panes (100%) rename {shell => lib}/configurations/tmux/theme (100%) create mode 100644 lib/configurations/tmux/tmux rename {shell => lib}/configurations/tmux/vi (100%) rename {shell => lib}/configurations/vim/vimrc (100%) rename {shell => lib}/configurations/wget/wgetrc (100%) rename {shell => lib}/configurations/zsh/zshrc (96%) rename {shell => lib}/exit.sh (100%) rename {shell => lib}/functions.sh (79%) rename {shell => lib}/functions/README.md (100%) rename {shell => lib}/functions/cdls.sh (100%) rename {shell => lib}/functions/changediskpwd.tmp (100%) rename {shell => lib}/functions/code.tmp (100%) rename {shell => lib}/functions/countdown.tmp (100%) rename {shell => lib}/functions/curlheader.sh (100%) rename {shell => lib}/functions/curltime.sh (100%) rename {shell => lib}/functions/encode64.sh (100%) rename {shell => lib}/functions/environment.sh (100%) rename {shell => lib}/functions/extract.sh (100%) rename {shell => lib}/functions/filehead.sh (100%) rename {shell => lib}/functions/genpwd.sh (100%) rename {shell => lib}/functions/goto.sh (100%) rename {shell => lib}/functions/headers.tmp (100%) rename {shell => lib}/functions/hidehiddenfiles.sh (100%) rename {shell => lib}/functions/history-all.tmp (100%) rename {shell => lib}/functions/hostinfo.sh (100%) rename {shell => lib}/functions/hstats.sh (100%) rename {shell => lib}/functions/httpdebug.sh (100%) rename {shell => lib}/functions/keygen.sh (100%) rename {shell => lib}/functions/last.sh (100%) rename {shell => lib}/functions/logout.sh (100%) rename {shell => lib}/functions/lowercase.sh (100%) rename {shell => lib}/functions/macos.sh (100%) rename {shell => lib}/functions/matrix.sh (100%) rename {shell => lib}/functions/mcd.sh (100%) rename {shell => lib}/functions/mount_read_only.sh (100%) rename {shell => lib}/functions/myproc.sh (100%) rename {shell => lib}/functions/prependpath.sh (100%) rename {shell => lib}/functions/print.tmp (100%) rename {shell => lib}/functions/ql.sh (100%) rename {shell => lib}/functions/rd.sh (100%) rename {shell => lib}/functions/remove_disk.sh (100%) rename {shell => lib}/functions/ren.sh (100%) rename {shell => lib}/functions/rm.tmp (100%) rename {shell => lib}/functions/rps.tmp (100%) rename {shell => lib}/functions/showhiddenfiles.sh (100%) rename {shell => lib}/functions/size.sh (100%) rename {shell => lib}/functions/stopwatch.sh (100%) rename {shell => lib}/functions/trash.tmp (100%) rename {shell => lib}/functions/tree.tmp (100%) rename {shell => lib}/functions/uppercase.sh (100%) rename {shell => lib}/functions/uuidgen.tmp (100%) rename {shell => lib}/functions/view-source.sh (100%) rename {shell => lib}/functions/vscode.sh (100%) rename {shell => lib}/functions/whoisport.sh (100%) rename {shell => lib}/functions/zipf.sh (100%) rename {shell => lib}/history.sh (100%) rename {shell => lib}/paths.sh (81%) rename {shell => lib}/paths/ant/ant.paths.sh (100%) rename {shell => lib}/paths/default/default.paths.sh (100%) rename {shell => lib}/paths/homebrew/homebrew.paths.sh (100%) rename {shell => lib}/paths/java/java.paths.sh (100%) rename {shell => lib}/paths/maven/maven.paths.sh (100%) rename {shell => lib}/paths/node/node.paths.sh (100%) rename {shell => lib}/paths/nvm/nvm.paths.sh (100%) rename {shell => lib}/paths/pnpm/pnpm.paths.sh (100%) rename {shell => lib}/paths/python/python.paths.sh (100%) rename {shell => lib}/paths/ruby/ruby.paths.sh (100%) rename {shell => lib}/paths/tmux/tmux.paths.sh (100%) delete mode 100644 shell/configurations/tmux/tmux diff --git a/README.md b/README.md index 1afb0bff..dce9a91a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ files with new ways to get things done. [![Download Dotfiles v0.2.458][download_button]][download] Dotfiles aggregates a collection of standalone configuration files (dotfiles) -combined into a `shell` directory that can be used to customize your development +combined into a `lib` directory that can be used to customize your development environment across numerous computers and operating systems (macOS, Windows, Linux). @@ -262,7 +262,7 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ unpack.d.ts.map β”‚Β Β  β”œβ”€β”€ unpack.js β”‚Β Β  └── unpack.js.map -β”œβ”€β”€ shell +β”œβ”€β”€ lib β”‚Β Β  β”œβ”€β”€ aliases β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh diff --git a/bin/compile.sh b/bin/compile.sh index 426606c8..b55c9aeb 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -6,7 +6,7 @@ ## πŸ…²πŸ…ΎπŸ…ΌπŸ…ΏπŸ…ΈπŸ…»πŸ…΄ πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ - Compile dotfiles. compile() { - pnpm run cp:shell && + pnpm run cp:lib && pnpm run cl:tmp && pnpm run cp:bin && pnpm run cp:make && diff --git a/bin/constants.js b/bin/constants.js index 0c291a44..3a38bf7f 100644 --- a/bin/constants.js +++ b/bin/constants.js @@ -22,26 +22,26 @@ const aliases = [ ]; const copies = [ - "shell/configurations/bash/bashrc", - "shell/configurations/curl/cacert.pem", - "shell/configurations/curl/curlrc", - "shell/configurations/input/inputrc", - "shell/configurations/jshint/jshintrc", - "shell/configurations/profile/profile", - "shell/configurations/tmux/tmux", - "shell/configurations/vim/vimrc", - "shell/configurations/wget/wgetrc", - "shell/configurations/zsh/zshrc", + "lib/configurations/bash/bashrc", + "lib/configurations/curl/cacert.pem", + "lib/configurations/curl/curlrc", + "lib/configurations/input/inputrc", + "lib/configurations/jshint/jshintrc", + "lib/configurations/profile/profile", + "lib/configurations/tmux/tmux", + "lib/configurations/vim/vimrc", + "lib/configurations/wget/wgetrc", + "lib/configurations/zsh/zshrc", ]; const config = [ - "shell/configurations/tmux/default", - "shell/configurations/tmux/display", - "shell/configurations/tmux/linux", - "shell/configurations/tmux/navigation", - "shell/configurations/tmux/panes", - "shell/configurations/tmux/theme", - "shell/configurations/tmux/vi" + "lib/configurations/tmux/default", + "lib/configurations/tmux/display", + "lib/configurations/tmux/linux", + "lib/configurations/tmux/navigation", + "lib/configurations/tmux/panes", + "lib/configurations/tmux/theme", + "lib/configurations/tmux/vi" ]; const tmux = "$DOTFILES/configurations/tmux/"; diff --git a/bin/dotfiles.sh b/bin/dotfiles.sh index bef6fef1..7b5e6cfa 100755 --- a/bin/dotfiles.sh +++ b/bin/dotfiles.sh @@ -74,7 +74,7 @@ download() { unpack() { echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}." unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}" - mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}" + mv "${DOWNLOADDIR}/dotfiles-${VERSION}/lib/" "${DOTFILESDIR}" rm "${DOWNLOADDIR}/v${VERSION}.zip" } @@ -94,33 +94,33 @@ copy() { echo "${BIRed}❭${NC} Copying the Dotfiles on your system." echo "${BIRed}❭${NC} Copying ${BIGreen}.bashrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc && + cp -f "${DOTFILESDIR}"/lib/configurations/bash/bashrc "${HOME}"/.bashrc && echo "${BIRed}❭${NC} Copying ${BIGreen}cacert.pem${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem && + cp -f "${DOTFILESDIR}"/lib/configurations/curl/cacert.pem "${HOME}"/cacert.pem && echo "${BIRed}❭${NC} Copying ${BIGreen}.curlrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc && + cp -f "${DOTFILESDIR}"/lib/configurations/curl/curlrc "${HOME}"/.curlrc && echo "${BIRed}❭${NC} Copying ${BIGreen}.jshintrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc && + cp -f "${DOTFILESDIR}"/lib/configurations/jshint/jshintrc "${HOME}"/.jshintrc && echo "${BIRed}❭${NC} Copying ${BIGreen}.profile${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile && + cp -f "${DOTFILESDIR}"/lib/configurations/profile/profile "${HOME}"/.profile && echo "${BIRed}❭${NC} Copying ${BIGreen}.tmux.conf${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf && + cp -f "${DOTFILESDIR}"/lib/configurations/tmux/tmux "${HOME}"/.tmux.conf && echo "${BIRed}❭${NC} Copying ${BIGreen}.vimrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc && + cp -f "${DOTFILESDIR}"/lib/configurations/vim/vimrc "${HOME}"/.vimrc && echo "${BIRed}❭${NC} Copying ${BIGreen}.wgetrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc && + cp -f "${DOTFILESDIR}"/lib/configurations/wget/wgetrc "${HOME}"/.wgetrc && echo "${BIRed}❭${NC} Copying ${BIGreen}.zshrc${NC}" - cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc + cp -f "${DOTFILESDIR}"/lib/configurations/zsh/zshrc "${HOME}"/.zshrc echo "${BIRed}❭${NC} Cleaning up installation files." - rm -Rf "${DOTFILESDIR}"/shell/configurations/bash && - rm -Rf "${DOTFILESDIR}"/shell/configurations/curl && - rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint && - rm -Rf "${DOTFILESDIR}"/shell/configurations/profile && - rm -Rf "${DOTFILESDIR}"/shell/configurations/tmux && - rm -Rf "${DOTFILESDIR}"/shell/configurations/vim && - rm -Rf "${DOTFILESDIR}"/shell/configurations/wget && - rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh && + rm -Rf "${DOTFILESDIR}"/lib/configurations/bash && + rm -Rf "${DOTFILESDIR}"/lib/configurations/curl && + rm -Rf "${DOTFILESDIR}"/lib/configurations/jshint && + rm -Rf "${DOTFILESDIR}"/lib/configurations/profile && + rm -Rf "${DOTFILESDIR}"/lib/configurations/tmux && + rm -Rf "${DOTFILESDIR}"/lib/configurations/vim && + rm -Rf "${DOTFILESDIR}"/lib/configurations/wget && + rm -Rf "${DOTFILESDIR}"/lib/configurations/zsh && echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} has been installed on your system." } diff --git a/docs/README.md b/docs/README.md index 1afb0bff..84f9692d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -25,7 +25,7 @@ files with new ways to get things done. [![Download Dotfiles v0.2.458][download_button]][download] Dotfiles aggregates a collection of standalone configuration files (dotfiles) -combined into a `shell` directory that can be used to customize your development +combined into a `lib` directory that can be used to customize your development environment across numerous computers and operating systems (macOS, Windows, Linux). diff --git a/shell/README.md b/lib/README.md similarity index 100% rename from shell/README.md rename to lib/README.md diff --git a/shell/aliases.sh b/lib/aliases.sh similarity index 82% rename from shell/aliases.sh rename to lib/aliases.sh index 5945b987..e64f4cd4 100644 --- a/shell/aliases.sh +++ b/lib/aliases.sh @@ -6,7 +6,7 @@ ## πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚ # Load custom executable aliases -for file in "${HOME}"/.dotfiles/shell/aliases/[!.#]*/*.sh; do +for file in "${HOME}"/.dotfiles/lib/aliases/[!.#]*/*.sh; do # shellcheck source=/dev/null source "${file}" done diff --git a/shell/aliases/default/default.aliases.sh b/lib/aliases/default/default.aliases.sh similarity index 100% rename from shell/aliases/default/default.aliases.sh rename to lib/aliases/default/default.aliases.sh diff --git a/shell/aliases/gcloud/gcloud.aliases.sh b/lib/aliases/gcloud/gcloud.aliases.sh similarity index 100% rename from shell/aliases/gcloud/gcloud.aliases.sh rename to lib/aliases/gcloud/gcloud.aliases.sh diff --git a/shell/aliases/git/git.aliases.sh b/lib/aliases/git/git.aliases.sh similarity index 100% rename from shell/aliases/git/git.aliases.sh rename to lib/aliases/git/git.aliases.sh diff --git a/shell/aliases/heroku/heroku.aliases.sh b/lib/aliases/heroku/heroku.aliases.sh similarity index 100% rename from shell/aliases/heroku/heroku.aliases.sh rename to lib/aliases/heroku/heroku.aliases.sh diff --git a/shell/aliases/jekyll/jekyll.aliases.sh b/lib/aliases/jekyll/jekyll.aliases.sh similarity index 100% rename from shell/aliases/jekyll/jekyll.aliases.sh rename to lib/aliases/jekyll/jekyll.aliases.sh diff --git a/shell/aliases/pnpm/pnpm.aliases.sh b/lib/aliases/pnpm/pnpm.aliases.sh similarity index 100% rename from shell/aliases/pnpm/pnpm.aliases.sh rename to lib/aliases/pnpm/pnpm.aliases.sh diff --git a/shell/aliases/subversion/subversion.aliases.sh b/lib/aliases/subversion/subversion.aliases.sh similarity index 100% rename from shell/aliases/subversion/subversion.aliases.sh rename to lib/aliases/subversion/subversion.aliases.sh diff --git a/shell/aliases/tmux/tmux.aliases.sh b/lib/aliases/tmux/tmux.aliases.sh similarity index 100% rename from shell/aliases/tmux/tmux.aliases.sh rename to lib/aliases/tmux/tmux.aliases.sh diff --git a/shell/configurations.sh b/lib/configurations.sh similarity index 79% rename from shell/configurations.sh rename to lib/configurations.sh index f46fc0a8..6c95f587 100644 --- a/shell/configurations.sh +++ b/lib/configurations.sh @@ -4,7 +4,7 @@ # License: MIT ## πŸ…²πŸ…ΎπŸ…½πŸ…΅πŸ…ΈπŸ…ΆπŸ†„πŸ†πŸ…°πŸ†ƒπŸ…ΈπŸ…ΎπŸ…½πŸ†‚ -for config in "${HOME}"/.dotfiles/shell/configurations/[!.#]*/*.sh; do +for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do # shellcheck source=/dev/null source "${config}" done diff --git a/shell/configurations/README.md b/lib/configurations/README.md similarity index 100% rename from shell/configurations/README.md rename to lib/configurations/README.md diff --git a/shell/configurations/bash/bashrc b/lib/configurations/bash/bashrc similarity index 95% rename from shell/configurations/bash/bashrc rename to lib/configurations/bash/bashrc index 2bad8c7b..2294fdbb 100644 --- a/shell/configurations/bash/bashrc +++ b/lib/configurations/bash/bashrc @@ -16,7 +16,7 @@ USER=$(whoami) # current user name. ## πŸ…΄πŸ†‡πŸ…ΏπŸ…ΎπŸ†πŸ†ƒπŸ†‚ - Export the variables. export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine. export DOTFILES_VERSION='0.2.458' # version of the dotfiles. -export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles. +export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles. export HOSTNAME=${HOSTNAME} # hostname of the machine. export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected) export LANG=${USER_LANGUAGE} # default language. diff --git a/shell/configurations/curl/cacert.pem b/lib/configurations/curl/cacert.pem similarity index 100% rename from shell/configurations/curl/cacert.pem rename to lib/configurations/curl/cacert.pem diff --git a/shell/configurations/curl/curlrc b/lib/configurations/curl/curlrc similarity index 100% rename from shell/configurations/curl/curlrc rename to lib/configurations/curl/curlrc diff --git a/shell/configurations/default/color.sh b/lib/configurations/default/color.sh similarity index 100% rename from shell/configurations/default/color.sh rename to lib/configurations/default/color.sh diff --git a/shell/configurations/default/editor.sh b/lib/configurations/default/editor.sh similarity index 100% rename from shell/configurations/default/editor.sh rename to lib/configurations/default/editor.sh diff --git a/shell/configurations/default/prompt.sh b/lib/configurations/default/prompt.sh similarity index 100% rename from shell/configurations/default/prompt.sh rename to lib/configurations/default/prompt.sh diff --git a/shell/configurations/inputrc/inputrc b/lib/configurations/inputrc/inputrc similarity index 100% rename from shell/configurations/inputrc/inputrc rename to lib/configurations/inputrc/inputrc diff --git a/shell/configurations/jshint/jshintrc b/lib/configurations/jshint/jshintrc similarity index 100% rename from shell/configurations/jshint/jshintrc rename to lib/configurations/jshint/jshintrc diff --git a/shell/configurations/profile/profile b/lib/configurations/profile/profile similarity index 100% rename from shell/configurations/profile/profile rename to lib/configurations/profile/profile diff --git a/shell/configurations/tmux/default b/lib/configurations/tmux/default similarity index 100% rename from shell/configurations/tmux/default rename to lib/configurations/tmux/default diff --git a/shell/configurations/tmux/display b/lib/configurations/tmux/display similarity index 100% rename from shell/configurations/tmux/display rename to lib/configurations/tmux/display diff --git a/shell/configurations/tmux/linux b/lib/configurations/tmux/linux similarity index 100% rename from shell/configurations/tmux/linux rename to lib/configurations/tmux/linux diff --git a/shell/configurations/tmux/navigation b/lib/configurations/tmux/navigation similarity index 100% rename from shell/configurations/tmux/navigation rename to lib/configurations/tmux/navigation diff --git a/shell/configurations/tmux/panes b/lib/configurations/tmux/panes similarity index 100% rename from shell/configurations/tmux/panes rename to lib/configurations/tmux/panes diff --git a/shell/configurations/tmux/theme b/lib/configurations/tmux/theme similarity index 100% rename from shell/configurations/tmux/theme rename to lib/configurations/tmux/theme diff --git a/lib/configurations/tmux/tmux b/lib/configurations/tmux/tmux new file mode 100644 index 00000000..975b0fc3 --- /dev/null +++ b/lib/configurations/tmux/tmux @@ -0,0 +1,20 @@ +# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io +# Copyright (c) Sebastien Rousseau 2022. All rights reserved +# License: MIT + +bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/default \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/display \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/linux \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/navigation \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/panes \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/panes \; \ + source-file $HOME/.dotfiles/lib/configurations/tmux/vi \; + +source-file $HOME/.dotfiles/lib/configurations/tmux/default +source-file $HOME/.dotfiles/lib/configurations/tmux/display +source-file $HOME/.dotfiles/lib/configurations/tmux/linux +source-file $HOME/.dotfiles/lib/configurations/tmux/navigation +source-file $HOME/.dotfiles/lib/configurations/tmux/panes +source-file $HOME/.dotfiles/lib/configurations/tmux/theme +source-file $HOME/.dotfiles/lib/configurations/tmux/vi diff --git a/shell/configurations/tmux/vi b/lib/configurations/tmux/vi similarity index 100% rename from shell/configurations/tmux/vi rename to lib/configurations/tmux/vi diff --git a/shell/configurations/vim/vimrc b/lib/configurations/vim/vimrc similarity index 100% rename from shell/configurations/vim/vimrc rename to lib/configurations/vim/vimrc diff --git a/shell/configurations/wget/wgetrc b/lib/configurations/wget/wgetrc similarity index 100% rename from shell/configurations/wget/wgetrc rename to lib/configurations/wget/wgetrc diff --git a/shell/configurations/zsh/zshrc b/lib/configurations/zsh/zshrc similarity index 96% rename from shell/configurations/zsh/zshrc rename to lib/configurations/zsh/zshrc index 72bedf9e..215ac565 100644 --- a/shell/configurations/zsh/zshrc +++ b/lib/configurations/zsh/zshrc @@ -16,7 +16,7 @@ USER=$(whoami) # current user name. ## πŸ…΄πŸ†‡πŸ…ΏπŸ…ΎπŸ†πŸ†ƒπŸ†‚ - Export the variables. export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine. export DOTFILES_VERSION='0.2.458' # version of the dotfiles. -export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles. +export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles. export HOSTNAME=${HOSTNAME} # hostname of the machine. export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected) export LANG=${USER_LANGUAGE} # default language. diff --git a/shell/exit.sh b/lib/exit.sh similarity index 100% rename from shell/exit.sh rename to lib/exit.sh diff --git a/shell/functions.sh b/lib/functions.sh similarity index 79% rename from shell/functions.sh rename to lib/functions.sh index 89de5387..abcecaf1 100644 --- a/shell/functions.sh +++ b/lib/functions.sh @@ -4,7 +4,7 @@ # License: MIT # Load custom executable functions -for function in "${HOME}"/.dotfiles/shell/functions/[!.#]*.sh; do +for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do # shellcheck source=/dev/null source "${function}" done diff --git a/shell/functions/README.md b/lib/functions/README.md similarity index 100% rename from shell/functions/README.md rename to lib/functions/README.md diff --git a/shell/functions/cdls.sh b/lib/functions/cdls.sh similarity index 100% rename from shell/functions/cdls.sh rename to lib/functions/cdls.sh diff --git a/shell/functions/changediskpwd.tmp b/lib/functions/changediskpwd.tmp similarity index 100% rename from shell/functions/changediskpwd.tmp rename to lib/functions/changediskpwd.tmp diff --git a/shell/functions/code.tmp b/lib/functions/code.tmp similarity index 100% rename from shell/functions/code.tmp rename to lib/functions/code.tmp diff --git a/shell/functions/countdown.tmp b/lib/functions/countdown.tmp similarity index 100% rename from shell/functions/countdown.tmp rename to lib/functions/countdown.tmp diff --git a/shell/functions/curlheader.sh b/lib/functions/curlheader.sh similarity index 100% rename from shell/functions/curlheader.sh rename to lib/functions/curlheader.sh diff --git a/shell/functions/curltime.sh b/lib/functions/curltime.sh similarity index 100% rename from shell/functions/curltime.sh rename to lib/functions/curltime.sh diff --git a/shell/functions/encode64.sh b/lib/functions/encode64.sh similarity index 100% rename from shell/functions/encode64.sh rename to lib/functions/encode64.sh diff --git a/shell/functions/environment.sh b/lib/functions/environment.sh similarity index 100% rename from shell/functions/environment.sh rename to lib/functions/environment.sh diff --git a/shell/functions/extract.sh b/lib/functions/extract.sh similarity index 100% rename from shell/functions/extract.sh rename to lib/functions/extract.sh diff --git a/shell/functions/filehead.sh b/lib/functions/filehead.sh similarity index 100% rename from shell/functions/filehead.sh rename to lib/functions/filehead.sh diff --git a/shell/functions/genpwd.sh b/lib/functions/genpwd.sh similarity index 100% rename from shell/functions/genpwd.sh rename to lib/functions/genpwd.sh diff --git a/shell/functions/goto.sh b/lib/functions/goto.sh similarity index 100% rename from shell/functions/goto.sh rename to lib/functions/goto.sh diff --git a/shell/functions/headers.tmp b/lib/functions/headers.tmp similarity index 100% rename from shell/functions/headers.tmp rename to lib/functions/headers.tmp diff --git a/shell/functions/hidehiddenfiles.sh b/lib/functions/hidehiddenfiles.sh similarity index 100% rename from shell/functions/hidehiddenfiles.sh rename to lib/functions/hidehiddenfiles.sh diff --git a/shell/functions/history-all.tmp b/lib/functions/history-all.tmp similarity index 100% rename from shell/functions/history-all.tmp rename to lib/functions/history-all.tmp diff --git a/shell/functions/hostinfo.sh b/lib/functions/hostinfo.sh similarity index 100% rename from shell/functions/hostinfo.sh rename to lib/functions/hostinfo.sh diff --git a/shell/functions/hstats.sh b/lib/functions/hstats.sh similarity index 100% rename from shell/functions/hstats.sh rename to lib/functions/hstats.sh diff --git a/shell/functions/httpdebug.sh b/lib/functions/httpdebug.sh similarity index 100% rename from shell/functions/httpdebug.sh rename to lib/functions/httpdebug.sh diff --git a/shell/functions/keygen.sh b/lib/functions/keygen.sh similarity index 100% rename from shell/functions/keygen.sh rename to lib/functions/keygen.sh diff --git a/shell/functions/last.sh b/lib/functions/last.sh similarity index 100% rename from shell/functions/last.sh rename to lib/functions/last.sh diff --git a/shell/functions/logout.sh b/lib/functions/logout.sh similarity index 100% rename from shell/functions/logout.sh rename to lib/functions/logout.sh diff --git a/shell/functions/lowercase.sh b/lib/functions/lowercase.sh similarity index 100% rename from shell/functions/lowercase.sh rename to lib/functions/lowercase.sh diff --git a/shell/functions/macos.sh b/lib/functions/macos.sh similarity index 100% rename from shell/functions/macos.sh rename to lib/functions/macos.sh diff --git a/shell/functions/matrix.sh b/lib/functions/matrix.sh similarity index 100% rename from shell/functions/matrix.sh rename to lib/functions/matrix.sh diff --git a/shell/functions/mcd.sh b/lib/functions/mcd.sh similarity index 100% rename from shell/functions/mcd.sh rename to lib/functions/mcd.sh diff --git a/shell/functions/mount_read_only.sh b/lib/functions/mount_read_only.sh similarity index 100% rename from shell/functions/mount_read_only.sh rename to lib/functions/mount_read_only.sh diff --git a/shell/functions/myproc.sh b/lib/functions/myproc.sh similarity index 100% rename from shell/functions/myproc.sh rename to lib/functions/myproc.sh diff --git a/shell/functions/prependpath.sh b/lib/functions/prependpath.sh similarity index 100% rename from shell/functions/prependpath.sh rename to lib/functions/prependpath.sh diff --git a/shell/functions/print.tmp b/lib/functions/print.tmp similarity index 100% rename from shell/functions/print.tmp rename to lib/functions/print.tmp diff --git a/shell/functions/ql.sh b/lib/functions/ql.sh similarity index 100% rename from shell/functions/ql.sh rename to lib/functions/ql.sh diff --git a/shell/functions/rd.sh b/lib/functions/rd.sh similarity index 100% rename from shell/functions/rd.sh rename to lib/functions/rd.sh diff --git a/shell/functions/remove_disk.sh b/lib/functions/remove_disk.sh similarity index 100% rename from shell/functions/remove_disk.sh rename to lib/functions/remove_disk.sh diff --git a/shell/functions/ren.sh b/lib/functions/ren.sh similarity index 100% rename from shell/functions/ren.sh rename to lib/functions/ren.sh diff --git a/shell/functions/rm.tmp b/lib/functions/rm.tmp similarity index 100% rename from shell/functions/rm.tmp rename to lib/functions/rm.tmp diff --git a/shell/functions/rps.tmp b/lib/functions/rps.tmp similarity index 100% rename from shell/functions/rps.tmp rename to lib/functions/rps.tmp diff --git a/shell/functions/showhiddenfiles.sh b/lib/functions/showhiddenfiles.sh similarity index 100% rename from shell/functions/showhiddenfiles.sh rename to lib/functions/showhiddenfiles.sh diff --git a/shell/functions/size.sh b/lib/functions/size.sh similarity index 100% rename from shell/functions/size.sh rename to lib/functions/size.sh diff --git a/shell/functions/stopwatch.sh b/lib/functions/stopwatch.sh similarity index 100% rename from shell/functions/stopwatch.sh rename to lib/functions/stopwatch.sh diff --git a/shell/functions/trash.tmp b/lib/functions/trash.tmp similarity index 100% rename from shell/functions/trash.tmp rename to lib/functions/trash.tmp diff --git a/shell/functions/tree.tmp b/lib/functions/tree.tmp similarity index 100% rename from shell/functions/tree.tmp rename to lib/functions/tree.tmp diff --git a/shell/functions/uppercase.sh b/lib/functions/uppercase.sh similarity index 100% rename from shell/functions/uppercase.sh rename to lib/functions/uppercase.sh diff --git a/shell/functions/uuidgen.tmp b/lib/functions/uuidgen.tmp similarity index 100% rename from shell/functions/uuidgen.tmp rename to lib/functions/uuidgen.tmp diff --git a/shell/functions/view-source.sh b/lib/functions/view-source.sh similarity index 100% rename from shell/functions/view-source.sh rename to lib/functions/view-source.sh diff --git a/shell/functions/vscode.sh b/lib/functions/vscode.sh similarity index 100% rename from shell/functions/vscode.sh rename to lib/functions/vscode.sh diff --git a/shell/functions/whoisport.sh b/lib/functions/whoisport.sh similarity index 100% rename from shell/functions/whoisport.sh rename to lib/functions/whoisport.sh diff --git a/shell/functions/zipf.sh b/lib/functions/zipf.sh similarity index 100% rename from shell/functions/zipf.sh rename to lib/functions/zipf.sh diff --git a/shell/history.sh b/lib/history.sh similarity index 100% rename from shell/history.sh rename to lib/history.sh diff --git a/shell/paths.sh b/lib/paths.sh similarity index 81% rename from shell/paths.sh rename to lib/paths.sh index b70e8f29..70737f2d 100644 --- a/shell/paths.sh +++ b/lib/paths.sh @@ -6,7 +6,7 @@ ## πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚ # Load custom executable paths. -for file in "${HOME}"/.dotfiles/shell/paths/[!.#]*/*.sh; do +for file in "${HOME}"/.dotfiles/lib/paths/[!.#]*/*.sh; do # shellcheck source=/dev/null . "${file}" done diff --git a/shell/paths/ant/ant.paths.sh b/lib/paths/ant/ant.paths.sh similarity index 100% rename from shell/paths/ant/ant.paths.sh rename to lib/paths/ant/ant.paths.sh diff --git a/shell/paths/default/default.paths.sh b/lib/paths/default/default.paths.sh similarity index 100% rename from shell/paths/default/default.paths.sh rename to lib/paths/default/default.paths.sh diff --git a/shell/paths/homebrew/homebrew.paths.sh b/lib/paths/homebrew/homebrew.paths.sh similarity index 100% rename from shell/paths/homebrew/homebrew.paths.sh rename to lib/paths/homebrew/homebrew.paths.sh diff --git a/shell/paths/java/java.paths.sh b/lib/paths/java/java.paths.sh similarity index 100% rename from shell/paths/java/java.paths.sh rename to lib/paths/java/java.paths.sh diff --git a/shell/paths/maven/maven.paths.sh b/lib/paths/maven/maven.paths.sh similarity index 100% rename from shell/paths/maven/maven.paths.sh rename to lib/paths/maven/maven.paths.sh diff --git a/shell/paths/node/node.paths.sh b/lib/paths/node/node.paths.sh similarity index 100% rename from shell/paths/node/node.paths.sh rename to lib/paths/node/node.paths.sh diff --git a/shell/paths/nvm/nvm.paths.sh b/lib/paths/nvm/nvm.paths.sh similarity index 100% rename from shell/paths/nvm/nvm.paths.sh rename to lib/paths/nvm/nvm.paths.sh diff --git a/shell/paths/pnpm/pnpm.paths.sh b/lib/paths/pnpm/pnpm.paths.sh similarity index 100% rename from shell/paths/pnpm/pnpm.paths.sh rename to lib/paths/pnpm/pnpm.paths.sh diff --git a/shell/paths/python/python.paths.sh b/lib/paths/python/python.paths.sh similarity index 100% rename from shell/paths/python/python.paths.sh rename to lib/paths/python/python.paths.sh diff --git a/shell/paths/ruby/ruby.paths.sh b/lib/paths/ruby/ruby.paths.sh similarity index 100% rename from shell/paths/ruby/ruby.paths.sh rename to lib/paths/ruby/ruby.paths.sh diff --git a/shell/paths/tmux/tmux.paths.sh b/lib/paths/tmux/tmux.paths.sh similarity index 100% rename from shell/paths/tmux/tmux.paths.sh rename to lib/paths/tmux/tmux.paths.sh diff --git a/package.json b/package.json index 4bfdabc9..efb92200 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "assets": [ - "index.js" + "./dist/bin/index.js" ], "author": "Sebastien Rousseau (https://github.com/sebastienrousseau)", "autoupdate": { @@ -16,7 +16,7 @@ "target": "git://github.com/sebastienrousseau/dotfiles.git" }, "bin": { - "dotfiles": "./index.js" + "dotfiles": "./dist/bin/index.js" }, "bugs": { "url": "https://github.com/sebastienrousseau/dotfiles/issues" @@ -26,22 +26,22 @@ ], "description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.", "devDependencies": { - "@types/node": "^16.11.64", + "@types/node": "^16.11.65", "@types/shelljs": "0.8.11", + "compressing": "^1.6.2", "filesizes": "^0.1.2", - "fs-extra":"10.1.0", + "fs-extra": "10.1.0", "jsmin": "^1.0.1", - "pnpm": "^7.13.3", + "pnpm": "^7.13.4", "rimraf": "^3.0.2", "shelljs": "^0.8.5", "shelljs-nodecli": "^0.1.1", "tsd": "0.24.1", - "typescript": "^4.8.4", - "compressing": "^1.6.2" + "typescript": "^4.8.4" }, "directories": { "bin": "./bin", - "shell": "./shell" + "shell": "./lib" }, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" @@ -80,29 +80,29 @@ "bk:dir": "if [ -d $HOME/.dotfiles ]; then mv -f $HOME/.dotfiles $HOME/dotfiles_backup; fi ", "bk:zsh": "if [ -z $HOME/.zshrc ]; then mv -f $HOME/.zshrc $HOME/.dotfiles_backup/zshrc.bk; fi ", "build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile", - "changeset": "changeset", - "cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"", + "cl:tmp": "rimraf \"./dist/lib/**/*.tmp\"", "clean": "rimraf \"dist/\" && tsc --build --clean", "compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh", "copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh", - "cp:bash": "cp -vf ./shell/configurations/bash/bashrc $HOME/.bashrc", - "cp:bin": "cp -vf -R ./bin/ ./dist/bin", - "cp:cert": "cp -vf ./shell/configurations/curl/cacert.pem $HOME/cacert.pem", - "cp:curl": "cp -vf ./shell/configurations/curl/curlrc $HOME/.curlrc", - "cp:dirs": "cp -vf -R ./shell $HOME/.dotfiles/shell/", - "cp:inpt": "cp -vf ./shell/configurations/inputrc/inputrc $HOME/.inputrc", - "cp:jsht": "cp -vf ./shell/configurations/jshint/jshintrc $HOME/.jshintrc", + "cp:bash": "cp -vf ./lib/configurations/bash/bashrc $HOME/.bashrc", + "cp:bin": "cp -vf -R ./bin ./dist/", + "cp:cert": "cp -vf ./lib/configurations/curl/cacert.pem $HOME/cacert.pem", + "cp:curl": "cp -vf ./lib/configurations/curl/curlrc $HOME/.curlrc", + "cp:dirs": "cp -vf -R ./lib $HOME/.dotfiles/lib/", + "cp:inpt": "cp -vf ./lib/configurations/inputrc/inputrc $HOME/.inputrc", + "cp:jsht": "cp -vf ./lib/configurations/jshint/jshintrc $HOME/.jshintrc", "cp:make": "cp -vf ./Makefile ./dist", - "cp:prof": "cp -vf ./shell/configurations/profile/profile $HOME/.profile", - "cp:shell": "cp -vR ./shell/ ./dist/shell/", - "cp:tmux": "cp -vf ./shell/configurations/tmux/tmux.conf $HOME/.tmux.conf && cp -vR ./shell/configurations/tmux/ $HOME/.dotfiles/shell/configurations/tmux/", - "cp:vimr": "cp -vf ./shell/configurations/vim/vimrc $HOME/.vimrc", - "cp:wget": "cp -vf ./shell/configurations/wget/wgetrc $HOME/.wgetrc", - "cp:zshr": "cp -vf ./shell/configurations/zsh/zshrc $HOME/.zshrc", + "cp:prof": "cp -vf ./lib/configurations/profile/profile $HOME/.profile", + "cp:lib": "cp -vR ./lib ./dist/", + "cp:tmux": "cp -vf ./lib/configurations/tmux/tmux.conf $HOME/.tmux.conf && cp -vR ./lib/configurations/tmux/ $HOME/.dotfiles/lib/configurations/tmux/", + "cp:vimr": "cp -vf ./lib/configurations/vim/vimrc $HOME/.vimrc", + "cp:wget": "cp -vf ./lib/configurations/wget/wgetrc $HOME/.wgetrc", + "cp:zshr": "cp -vf ./lib/configurations/zsh/zshrc $HOME/.zshrc", "directory": "mkdir $HOME/.dotfiles", "filesizes": "filesizes ./dist/ > ./dist/filesizes.txt", "help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh", "minify": "jsmin ./bin/backup.js > dist/bin/backup.js && jsmin ./bin/constants.js > dist/bin/constants.js && jsmin ./bin/copy.js > dist/bin/copy.js && jsmin ./bin/dotfiles.js > dist/bin/dotfiles.js && jsmin ./bin/download.js > dist/bin/download.js && jsmin ./bin/index.js > dist/bin/index.js && jsmin ./bin/transfer.js > dist/bin/transfer.js && jsmin ./bin/unpack.js > dist/bin/unpack.js", + "pack": "pnpm pack", "start": "node ./bin/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a277bb37..ad169307 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,13 +1,13 @@ lockfileVersion: 5.4 specifiers: - '@types/node': ^16.11.64 + '@types/node': ^16.11.65 '@types/shelljs': 0.8.11 compressing: ^1.6.2 filesizes: ^0.1.2 fs-extra: 10.1.0 jsmin: ^1.0.1 - pnpm: ^7.13.3 + pnpm: ^7.13.4 rimraf: ^3.0.2 shelljs: ^0.8.5 shelljs-nodecli: ^0.1.1 @@ -15,13 +15,13 @@ specifiers: typescript: ^4.8.4 devDependencies: - '@types/node': registry.npmjs.org/@types/node/16.11.64 + '@types/node': registry.npmjs.org/@types/node/16.11.65 '@types/shelljs': registry.npmjs.org/@types/shelljs/0.8.11 compressing: registry.npmjs.org/compressing/1.6.2 filesizes: registry.npmjs.org/filesizes/0.1.2 fs-extra: registry.npmjs.org/fs-extra/10.1.0 jsmin: registry.npmjs.org/jsmin/1.0.1 - pnpm: registry.npmjs.org/pnpm/7.13.3 + pnpm: registry.npmjs.org/pnpm/7.13.4 rimraf: registry.npmjs.org/rimraf/3.0.2 shelljs: registry.npmjs.org/shelljs/0.8.5 shelljs-nodecli: registry.npmjs.org/shelljs-nodecli/0.1.1 @@ -111,7 +111,7 @@ packages: version: 8.0.0 dependencies: '@types/minimatch': registry.npmjs.org/@types/minimatch/5.1.2 - '@types/node': registry.npmjs.org/@types/node/16.11.64 + '@types/node': registry.npmjs.org/@types/node/16.11.65 dev: true registry.npmjs.org/@types/json-schema/7.0.11: @@ -132,10 +132,10 @@ packages: version: 1.2.2 dev: true - registry.npmjs.org/@types/node/16.11.64: - resolution: {integrity: sha512-z5hPTlVFzNwtJ2LNozTpJcD1Cu44c4LNuzaq1mwxmiHWQh2ULdR6Vjwo1UGldzRpzL0yUEdZddnfqGW2G70z6Q==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/@types/node/-/node-16.11.64.tgz} + registry.npmjs.org/@types/node/16.11.65: + resolution: {integrity: sha512-Vfz7wGMOr4jbQGiQHVJm8VjeQwM9Ya7mHe9LtQ264/Epf5n1KiZShOFqk++nBzw6a/ubgYdB9Od7P+MH/LjoWw==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/@types/node/-/node-16.11.65.tgz} name: '@types/node' - version: 16.11.64 + version: 16.11.65 dev: true registry.npmjs.org/@types/normalize-package-data/2.4.1: @@ -150,7 +150,7 @@ packages: version: 0.8.11 dependencies: '@types/glob': registry.npmjs.org/@types/glob/8.0.0 - '@types/node': registry.npmjs.org/@types/node/16.11.64 + '@types/node': registry.npmjs.org/@types/node/16.11.65 dev: true registry.npmjs.org/ansi-escapes/4.3.2: @@ -937,10 +937,10 @@ packages: kind-of: registry.npmjs.org/kind-of/6.0.3 dev: true - registry.npmjs.org/minimist/1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz} + registry.npmjs.org/minimist/1.2.7: + resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz} name: minimist - version: 1.2.6 + version: 1.2.7 dev: true registry.npmjs.org/mkdirp/0.5.6: @@ -949,7 +949,7 @@ packages: version: 0.5.6 hasBin: true dependencies: - minimist: registry.npmjs.org/minimist/1.2.6 + minimist: registry.npmjs.org/minimist/1.2.7 dev: true registry.npmjs.org/normalize-package-data/2.5.0: @@ -1076,10 +1076,10 @@ packages: irregular-plurals: registry.npmjs.org/irregular-plurals/3.3.0 dev: true - registry.npmjs.org/pnpm/7.13.3: - resolution: {integrity: sha512-6avqSfzfAr/9w1ZleaMI276ZuZUu88eOIe6v2mTCuwtSjUEqheboH1G4m7jgF+4arMUfnBrz371UAU+DCeCiSA==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/pnpm/-/pnpm-7.13.3.tgz} + registry.npmjs.org/pnpm/7.13.4: + resolution: {integrity: sha512-ZaP5+PRzXI0g4KijU7zx4hi7RUJcSYBJIb90e+lyTeQyRw91+peJoFAzWa63+4fjJIz6CqY0cNkP7trZXh5l8w==, registry: https://npm.pkg.github.com/sebastienrousseau, tarball: https://registry.npmjs.org/pnpm/-/pnpm-7.13.4.tgz} name: pnpm - version: 7.13.3 + version: 7.13.4 engines: {node: '>=14.6'} hasBin: true dev: true diff --git a/shell/configurations/tmux/tmux b/shell/configurations/tmux/tmux deleted file mode 100644 index 0bd7de30..00000000 --- a/shell/configurations/tmux/tmux +++ /dev/null @@ -1,20 +0,0 @@ -# πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.458) - https://dotfiles.io -# Copyright (c) Sebastien Rousseau 2022. All rights reserved -# License: MIT - -bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/default \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/display \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/linux \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/navigation \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/panes \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/panes \; \ - source-file $HOME/.dotfiles/shell/configurations/tmux/vi \; - -source-file $HOME/.dotfiles/shell/configurations/tmux/default -source-file $HOME/.dotfiles/shell/configurations/tmux/display -source-file $HOME/.dotfiles/shell/configurations/tmux/linux -source-file $HOME/.dotfiles/shell/configurations/tmux/navigation -source-file $HOME/.dotfiles/shell/configurations/tmux/panes -source-file $HOME/.dotfiles/shell/configurations/tmux/theme -source-file $HOME/.dotfiles/shell/configurations/tmux/vi diff --git a/tsconfig.json b/tsconfig.json index 5e26ef3c..272633a5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ "lib": [ - "es2015" + "es2015", "dom" ], /* Specify library files to be included in the compilation. */ "newLine": "lf", /* Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix). */ "outDir": "./dist", /* Redirect output structure to the directory. */ From bc1d8d8712ab654e27e1bd3e26a18a5bdaf2ec6e Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 21:25:01 +0100 Subject: [PATCH 14/22] fix(js): function call object injection sink --- bin/dotfiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index f3a07522..a70b340e 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -26,7 +26,7 @@ module.exports = async function main() { do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); - copy(config[i], tmux); + copy(config[i], tmux[i]); i++; } while (i < aliases.length && i < copies.length); From 0a1c637be17364950583d68053fe8433da4c9c75 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 21:35:39 +0100 Subject: [PATCH 15/22] fix(js): function call object injection sink --- bin/constants.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/constants.js b/bin/constants.js index 3a38bf7f..cdb0e089 100644 --- a/bin/constants.js +++ b/bin/constants.js @@ -44,6 +44,14 @@ const config = [ "lib/configurations/tmux/vi" ]; -const tmux = "$DOTFILES/configurations/tmux/"; +const tmux = [ + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/", + "$DOTFILES/configurations/tmux/" +]; module.exports = { aliases, config, copies, dotfile, tmux, version }; From 3de59d0ec1f7ceb234ff3f425ad725f62ddc7b61 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 21:52:05 +0100 Subject: [PATCH 16/22] fix(codacy):strings must use doublequote. --- bin/dotfiles.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index a70b340e..2a3ea922 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -5,16 +5,16 @@ */ // πŸ…ΌπŸ…°πŸ…ΈπŸ…½ - Main function. -const copy = require('./copy.js'); +const copy = require("./copy.js"); const transfer = require("./transfer.js"); const backup = require("./backup.js"); -const download = require('./download.js'); +const download = require("./download.js"); const unpack = require("./unpack.js"); -const { aliases, config, copies, tmux } = require('./constants.js'); +const { aliases, config, copies, tmux } = require("./constants.js"); const sleep = (waitTimeInMs) => new Promise((resolve) => setTimeout(resolve, waitTimeInMs)); -var fs = require('fs'); +var fs = require("fs"); var os = require("os"); -var path = require('path'); +var path = require("path"); const dir=path.resolve(__dirname, os.homedir()); @@ -26,10 +26,16 @@ module.exports = async function main() { do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); - copy(config[i], tmux[i]); i++; } while (i < aliases.length && i < copies.length); + // Copy configurations. + i = 0; + do { + copy(config[i], tmux ); + i++; + } while (i < config.length); + // Download and unpack dotfiles. download(); // download the dotfiles await sleep(2500); // wait for download to complete From 86eff548633f94d2823fe77920fd64908b1c702d Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 21:58:04 +0100 Subject: [PATCH 17/22] fix(codacy): function Call Object Injection Sink --- bin/constants.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bin/constants.js b/bin/constants.js index cdb0e089..e9ad3dc8 100644 --- a/bin/constants.js +++ b/bin/constants.js @@ -44,14 +44,6 @@ const config = [ "lib/configurations/tmux/vi" ]; -const tmux = [ - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/", - "$DOTFILES/configurations/tmux/" -]; +const tmux = "$DOTFILES/configurations/tmux/"; module.exports = { aliases, config, copies, dotfile, tmux, version }; From 7d416b18e2ee150980e127bc9f2de10c94be2372 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 22:03:55 +0100 Subject: [PATCH 18/22] fix(codacy): function Call Object Injection Sink --- bin/dotfiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index 2a3ea922..5d027671 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -32,7 +32,7 @@ module.exports = async function main() { // Copy configurations. i = 0; do { - copy(config[i], tmux ); + copy(config[i], tmux[i] ); i++; } while (i < config.length); From 482f178c0758daea22fb811cb1277bcc972e9928 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 22:07:22 +0100 Subject: [PATCH 19/22] fix(js): function call object injection sink --- bin/dotfiles.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index 5d027671..dc40663b 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -26,15 +26,9 @@ module.exports = async function main() { do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); - i++; - } while (i < aliases.length && i < copies.length); - - // Copy configurations. - i = 0; - do { copy(config[i], tmux[i] ); i++; - } while (i < config.length); + } while (i < aliases.length && i < copies.length && i < tmux.length); // Download and unpack dotfiles. download(); // download the dotfiles From d121c5b16ff4cf921fac7e52d40805aac2dbcf30 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 22:15:34 +0100 Subject: [PATCH 20/22] fix(js): function call object injection sink --- bin/dotfiles.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/dotfiles.js b/bin/dotfiles.js index dc40663b..7bdf2aba 100644 --- a/bin/dotfiles.js +++ b/bin/dotfiles.js @@ -26,9 +26,8 @@ module.exports = async function main() { do { backup(aliases[i], aliases[i]); copy(copies[i], aliases[i]); - copy(config[i], tmux[i] ); i++; - } while (i < aliases.length && i < copies.length && i < tmux.length); + } while (i < aliases.length && i < copies.length); // Download and unpack dotfiles. download(); // download the dotfiles From f6121e00899b5da0664c97c56413f81cc99e4a3b Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 22:31:12 +0100 Subject: [PATCH 21/22] fix(tweaks): minor changes --- .editorconfig | 1 - .jshintrc | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index e38c47b7..485ffc23 100644 --- a/.editorconfig +++ b/.editorconfig @@ -43,4 +43,3 @@ indent_style = tab [*.json] indent_style = tab - diff --git a/.jshintrc b/.jshintrc index c9d71407..81206902 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,4 +1,37 @@ { + "asi": false, + "bitwise": true, + "boss": true, + "camelcase": true, + "curly": true, + "eqeqeq": true, + "esnext": true, "esversion": 8, - "node": true + "forin": true, + "freeze": true, + "immed": true, + "indent": 2, + "iterator":true, + "lastsemic": true, + "latedef": true, + "maxcomplexity": 5, + "maxdepth": 2, + "maxlen": 140, + "maxstatements": 25, + "mocha": true, + "newcap": false, + "noarg": true, + "node": true, + "noempty": true, + "nonbsp": true, + "nonew": true, + "onecase": true, + "quotmark": true, + "regexp": true, + "smarttabs": true, + "strict": true, + "trailing": true, + "undef": true, + "unused": true, + "white": true } From 3e1281ea78ccf2262d8a19a47bf4a340078e0e59 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 12 Oct 2022 22:50:21 +0100 Subject: [PATCH 22/22] fix(scripts): cleanup bin folder --- Makefile | 12 ++++++------ README.md | 17 +++++++++++------ docs/README.md | 19 ++++++++++++------- package.json | 6 +++--- {bin => scripts}/compile.sh | 0 {bin => scripts}/copy.sh | 0 {bin => scripts}/dotfiles.sh | 0 7 files changed, 32 insertions(+), 22 deletions(-) rename {bin => scripts}/compile.sh (100%) rename {bin => scripts}/copy.sh (100%) rename {bin => scripts}/dotfiles.sh (100%) diff --git a/Makefile b/Makefile index 2753a24b..5140b366 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ backup: ## Backup your current dotfiles. ifdef PNPM pnpm run backup else - sh $(HOMEDIR)/bin/dotfiles.sh backup + sh $(HOMEDIR)/scripts/dotfiles backup endif .PHONY: assemble @@ -25,7 +25,7 @@ assemble: ## Prepare the dotfiles on your system. ifdef PNPM pnpm run assemble else - sh $(HOMEDIR)/bin/dotfiles assemble + sh $(HOMEDIR)/scripts/dotfiles assemble endif .PHONY: copy @@ -34,7 +34,7 @@ copy: ## Copy the dotfiles on your system. ifdef PNPM pnpm run copy else - sh $(HOMEDIR)/bin/dotfiles copy + sh $(HOMEDIR)/scripts/dotfiles copy endif .PHONY: download @@ -43,7 +43,7 @@ download: ## Download the dotfiles on your system. ifdef PNPM pnpm run download else - sh $(HOMEDIR)/bin/dotfiles download + sh $(HOMEDIR)/scripts/dotfiles download endif .PHONY: unpack @@ -52,7 +52,7 @@ unpack: ## Unpack the dotfiles on your system. ifdef PNPM pnpm run unpack else - sh $(HOMEDIR)/bin/dotfiles unpack + sh $(HOMEDIR)/scripts/dotfiles unpack endif .PHONY: clean @@ -61,7 +61,7 @@ clean: ifdef PNPM pnpm run clean else - sh $(HOMEDIR)/bin/dotfiles clean + sh $(HOMEDIR)/scripts/dotfiles clean endif .PHONY: help diff --git a/README.md b/README.md index dce9a91a..5ab3ca87 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,6 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ backup.d.ts.map β”‚Β Β  β”œβ”€β”€ backup.js β”‚Β Β  β”œβ”€β”€ backup.js.map -β”‚Β Β  β”œβ”€β”€ compile.sh β”‚Β Β  β”œβ”€β”€ constants.d.ts β”‚Β Β  β”œβ”€β”€ constants.d.ts.map β”‚Β Β  β”œβ”€β”€ constants.js @@ -240,12 +239,10 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ copy.d.ts.map β”‚Β Β  β”œβ”€β”€ copy.js β”‚Β Β  β”œβ”€β”€ copy.js.map -β”‚Β Β  β”œβ”€β”€ copy.sh β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts.map β”‚Β Β  β”œβ”€β”€ dotfiles.js β”‚Β Β  β”œβ”€β”€ dotfiles.js.map -β”‚Β Β  β”œβ”€β”€ dotfiles.sh β”‚Β Β  β”œβ”€β”€ download.d.ts β”‚Β Β  β”œβ”€β”€ download.d.ts.map β”‚Β Β  β”œβ”€β”€ download.js @@ -269,6 +266,7 @@ You'll see something like this: β”‚Β Β  β”‚Β Β  β”œβ”€β”€ gcloud β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ git +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── git.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ heroku β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jekyll @@ -289,14 +287,21 @@ You'll see something like this: β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ input +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inputrc β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jshint β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ display +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ linux +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ navigation +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panes +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ theme +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vi β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vim β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ wget @@ -374,7 +379,7 @@ You'll see something like this: β”œβ”€β”€ Makefile └── filesizes.txt -35 directories, 112 files +35 directories, 117 files ``` ## πŸ”— Releases diff --git a/docs/README.md b/docs/README.md index 84f9692d..5ab3ca87 100644 --- a/docs/README.md +++ b/docs/README.md @@ -231,7 +231,6 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ backup.d.ts.map β”‚Β Β  β”œβ”€β”€ backup.js β”‚Β Β  β”œβ”€β”€ backup.js.map -β”‚Β Β  β”œβ”€β”€ compile.sh β”‚Β Β  β”œβ”€β”€ constants.d.ts β”‚Β Β  β”œβ”€β”€ constants.d.ts.map β”‚Β Β  β”œβ”€β”€ constants.js @@ -240,12 +239,10 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ copy.d.ts.map β”‚Β Β  β”œβ”€β”€ copy.js β”‚Β Β  β”œβ”€β”€ copy.js.map -β”‚Β Β  β”œβ”€β”€ copy.sh β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts β”‚Β Β  β”œβ”€β”€ dotfiles.d.ts.map β”‚Β Β  β”œβ”€β”€ dotfiles.js β”‚Β Β  β”œβ”€β”€ dotfiles.js.map -β”‚Β Β  β”œβ”€β”€ dotfiles.sh β”‚Β Β  β”œβ”€β”€ download.d.ts β”‚Β Β  β”œβ”€β”€ download.d.ts.map β”‚Β Β  β”œβ”€β”€ download.js @@ -262,13 +259,14 @@ You'll see something like this: β”‚Β Β  β”œβ”€β”€ unpack.d.ts.map β”‚Β Β  β”œβ”€β”€ unpack.js β”‚Β Β  └── unpack.js.map -β”œβ”€β”€ shell +β”œβ”€β”€ lib β”‚Β Β  β”œβ”€β”€ aliases β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ gcloud β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ git +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── git.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ heroku β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jekyll @@ -289,14 +287,21 @@ You'll see something like this: β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh -β”‚Β Β  β”‚Β Β  β”œβ”€β”€ input +β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inputrc β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jshint β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux -β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ display +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ linux +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ navigation +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panes +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ theme +β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux +β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vi β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vim β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc β”‚Β Β  β”‚Β Β  β”œβ”€β”€ wget @@ -374,7 +379,7 @@ You'll see something like this: β”œβ”€β”€ Makefile └── filesizes.txt -35 directories, 112 files +35 directories, 117 files ``` ## πŸ”— Releases diff --git a/package.json b/package.json index efb92200..bc59eb44 100644 --- a/package.json +++ b/package.json @@ -82,8 +82,8 @@ "build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile", "cl:tmp": "rimraf \"./dist/lib/**/*.tmp\"", "clean": "rimraf \"dist/\" && tsc --build --clean", - "compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh", - "copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh", + "compile": "chmod 755 \"./scripts/compile.sh\" && ./scripts/compile.sh", + "copy": "chmod 755 \"./scripts/copy.sh\" && ./scripts/copy.sh", "cp:bash": "cp -vf ./lib/configurations/bash/bashrc $HOME/.bashrc", "cp:bin": "cp -vf -R ./bin ./dist/", "cp:cert": "cp -vf ./lib/configurations/curl/cacert.pem $HOME/cacert.pem", @@ -100,7 +100,7 @@ "cp:zshr": "cp -vf ./lib/configurations/zsh/zshrc $HOME/.zshrc", "directory": "mkdir $HOME/.dotfiles", "filesizes": "filesizes ./dist/ > ./dist/filesizes.txt", - "help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh", + "help": "chmod 755 \"./scripts/dotfiles.sh\" && ./scripts/dotfiles.sh", "minify": "jsmin ./bin/backup.js > dist/bin/backup.js && jsmin ./bin/constants.js > dist/bin/constants.js && jsmin ./bin/copy.js > dist/bin/copy.js && jsmin ./bin/dotfiles.js > dist/bin/dotfiles.js && jsmin ./bin/download.js > dist/bin/download.js && jsmin ./bin/index.js > dist/bin/index.js && jsmin ./bin/transfer.js > dist/bin/transfer.js && jsmin ./bin/unpack.js > dist/bin/unpack.js", "pack": "pnpm pack", "start": "node ./bin/index.js", diff --git a/bin/compile.sh b/scripts/compile.sh similarity index 100% rename from bin/compile.sh rename to scripts/compile.sh diff --git a/bin/copy.sh b/scripts/copy.sh similarity index 100% rename from bin/copy.sh rename to scripts/copy.sh diff --git a/bin/dotfiles.sh b/scripts/dotfiles.sh similarity index 100% rename from bin/dotfiles.sh rename to scripts/dotfiles.sh