@sebastienrousseau/dotfiles 0.2.461 β 0.2.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -92
- package/dist/Makefile +3 -3
- package/dist/bin/backup.js +3 -2
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/copy.js +2 -1
- package/dist/bin/copy.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +2 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/transfer.js +1 -1
- package/dist/bin/unpack.js +1 -1
- package/dist/filesizes.txt +354 -288
- package/dist/lib/aliases/archives/README.md +84 -0
- package/dist/lib/aliases/archives/archives.aliases.sh +86 -0
- package/dist/lib/aliases/cd/README.md +46 -0
- package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
- package/dist/lib/aliases/chmod/README.md +70 -0
- package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
- package/dist/lib/aliases/clear/README.md +38 -0
- package/dist/lib/aliases/clear/clear.aliases.sh +40 -0
- package/dist/lib/aliases/configuration/README.md +46 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +43 -0
- package/dist/lib/aliases/default/README.md +62 -0
- package/dist/lib/aliases/default/default.aliases.sh +60 -173
- package/dist/lib/aliases/dig/README.md +50 -0
- package/dist/lib/aliases/dig/dig.aliases.sh +46 -0
- package/dist/lib/aliases/du/README.md +35 -0
- package/dist/lib/aliases/du/du.aliases.sh +37 -0
- package/dist/lib/aliases/editor/README.md +47 -0
- package/dist/lib/aliases/editor/editor.aliases.sh +52 -0
- package/dist/lib/aliases/find/README.md +29 -0
- package/dist/lib/aliases/find/find.aliases.sh +34 -0
- package/dist/lib/aliases/gcloud/README.md +148 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +144 -120
- package/dist/lib/aliases/git/git.aliases.sh +134 -524
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +289 -1028
- package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -0
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +10 -47
- package/dist/lib/aliases/list/list.aliases.sh +35 -0
- package/dist/lib/aliases/make/make.aliases.sh +15 -0
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +13 -0
- package/dist/lib/aliases/npm/npm.aliases.sh +24 -0
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +37 -38
- package/dist/lib/aliases/ps/ps.aliases.sh +12 -0
- package/dist/lib/aliases/rsync/rsync.aliases.sh +11 -0
- package/dist/lib/aliases/rust/rust.aliases.sh +50 -0
- package/dist/lib/aliases/subversion/subversion.aliases.sh +41 -119
- package/dist/lib/aliases/sudo/sudo.aliases.sh +11 -0
- package/dist/lib/aliases/tmux/tmux.aliases.sh +12 -10
- package/dist/lib/aliases/update/update.aliases.sh +38 -0
- package/dist/lib/aliases/uuid/uuid.aliases.sh +10 -0
- package/dist/lib/aliases/wget/wget.aliases.sh +13 -0
- package/dist/lib/aliases.sh +10 -4
- package/dist/lib/configurations/bash/bashrc +4 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +2 -2
- package/dist/lib/configurations/default/constants.sh +9 -9
- package/dist/lib/configurations/default/editor.sh +2 -2
- package/dist/lib/configurations/default/prompt.sh +2 -2
- package/dist/lib/configurations/input/inputrc +2 -2
- package/dist/lib/configurations/nano/nanorc +2 -2
- package/dist/lib/configurations/profile/profile +2 -2
- package/dist/lib/configurations/tmux/default +2 -2
- package/dist/lib/configurations/tmux/display +2 -2
- package/dist/lib/configurations/tmux/linux +2 -2
- package/dist/lib/configurations/tmux/navigation +2 -2
- package/dist/lib/configurations/tmux/panes +2 -2
- package/dist/lib/configurations/tmux/theme +3 -3
- package/dist/lib/configurations/tmux/tmux +2 -2
- package/dist/lib/configurations/tmux/vi +5 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +6 -5
- package/dist/lib/configurations.sh +6 -3
- package/dist/lib/functions/cdls.sh +3 -10
- package/dist/lib/functions/changediskpwd.tmp +3 -3
- package/dist/lib/functions/code.tmp +3 -3
- package/dist/lib/functions/countdown.tmp +2 -2
- package/dist/lib/functions/curlheader.sh +5 -5
- package/dist/lib/functions/curltime.sh +6 -6
- package/dist/lib/functions/encode64.sh +2 -2
- package/dist/lib/functions/environment.sh +2 -2
- package/dist/lib/functions/extract.sh +2 -2
- package/dist/lib/functions/genpwd.sh +2 -2
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/history-all.tmp +2 -2
- package/dist/lib/functions/hostinfo.sh +2 -2
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +2 -2
- package/dist/lib/functions/keygen.sh +2 -2
- package/dist/lib/functions/last.sh +2 -2
- package/dist/lib/functions/logout.sh +2 -2
- package/dist/lib/functions/lowercase.sh +2 -2
- package/dist/lib/functions/macos.sh +2 -2
- package/dist/lib/functions/matrix.sh +5 -5
- package/dist/lib/functions/{mcd.sh β mcd.tmp} +2 -2
- package/dist/lib/functions/mount_read_only.sh +2 -2
- package/dist/lib/functions/myproc.sh +2 -2
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +2 -2
- package/dist/lib/functions/ql.sh +2 -2
- package/dist/lib/functions/rd.sh +2 -2
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +2 -2
- package/dist/lib/functions/rm.tmp +2 -2
- package/dist/lib/functions/rps.tmp +2 -2
- package/dist/lib/functions/showhiddenfiles.sh +2 -2
- package/dist/lib/functions/size.sh +2 -2
- package/dist/lib/functions/stopwatch.sh +2 -2
- package/dist/lib/functions/trash.tmp +2 -2
- package/dist/lib/functions/tree.tmp +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/uuidgen.tmp +1 -1
- package/dist/lib/functions/view-source.sh +2 -2
- package/dist/lib/functions/vscode.sh +2 -2
- package/dist/lib/functions/whoisport.sh +2 -2
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +6 -3
- package/dist/lib/history.sh +24 -21
- package/dist/lib/paths/ant/ant.paths.sh +4 -4
- package/dist/lib/paths/default/default.paths.sh +2 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
- package/dist/lib/paths/java/java.paths.sh +5 -4
- package/dist/lib/paths/maven/maven.paths.sh +6 -5
- package/dist/lib/paths/node/node.paths.sh +2 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/lib/paths/python/python.paths.sh +21 -16
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
- package/dist/lib/paths.sh +6 -3
- package/dist/scripts/backup.sh +2 -2
- package/dist/scripts/banner.sh +2 -2
- package/dist/scripts/build.sh +2 -2
- package/dist/scripts/clean.sh +2 -2
- package/dist/scripts/compile.sh +2 -2
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +2 -2
- package/dist/scripts/download.sh +2 -2
- package/dist/scripts/help.sh +2 -2
- package/dist/scripts/ssh.sh +54 -0
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +7 -7
- package/dist/lib/exit.sh +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# mcd: Function to combine mkdir and cd.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# mount_read_only: Function to mount a read-only disk image as read-write
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# myproc: Function to list processes owned by an user
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ----------------------------------------------------------------------------
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# print: Function to display the argument given
|
package/dist/lib/functions/ql.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ql: Function to open any file in MacOS Quicklook Preview
|
package/dist/lib/functions/rd.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# rd: Function to remove a directory and its files
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# remove_disk: spin down unneeded disk
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ren: Function to rename files extension.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# rm: Function to make 'rm' move files to the trash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Adapted from https://github.com/Ananta-Gupta/Rock-Paper-Scissors
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# Show hidden system and dotfile files
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# size: Function to check a file size
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# stopwatch: Function for a stopwatch
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# trash: Function to moves a file to the MacOS trash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# tree: Function to generates a tree view from the current directory
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# uppercase: Function to move filenames or directory names to uppercase
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.452) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# uuid: Function to generate a UUID (Universally Unique IDentifier)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# view-source: Function to view the source of a website.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# vsc: Function to open a file in Visual Studio Code.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# whoisport: Function to find what is currently using a port.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# zipf: Function to create a ZIP archive of a folder
|
package/dist/lib/functions.sh
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets functions for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: functions.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
# Load custom executable functions
|
|
8
11
|
for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
|
package/dist/lib/history.sh
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c)
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
3
|
+
# Author: Sebastien Rousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# Description: Sets history options for the current shell.
|
|
5
6
|
# License: MIT
|
|
7
|
+
# Script: history.sh
|
|
8
|
+
# Version: 0.2.463
|
|
9
|
+
# Website: https://dotfiles.io
|
|
10
|
+
|
|
11
|
+
# Exit immediately if any command fails
|
|
12
|
+
set -o errexit
|
|
13
|
+
|
|
14
|
+
# Exit if any undefined variables are used
|
|
15
|
+
set -o nounset
|
|
6
16
|
|
|
7
17
|
## History wrapper
|
|
8
18
|
function dotfiles_history {
|
|
9
19
|
local clear list
|
|
10
20
|
zparseopts -E c=clear l=list
|
|
11
21
|
|
|
12
|
-
if [[ -n "${clear}" ]]; then
|
|
22
|
+
if [[ -n "${clear:-}" ]]; then
|
|
13
23
|
# if -c provided, clobber the history file
|
|
14
|
-
echo -n >|"${HISTFILE}"
|
|
15
|
-
echo >&2 History file deleted. Reload the session to see its effects.
|
|
16
|
-
elif [[ -n "${list}" ]]; then
|
|
24
|
+
echo -n >|"${HISTFILE:-}"
|
|
25
|
+
echo >&2 "History file deleted. Reload the session to see its effects."
|
|
26
|
+
elif [[ -n "${list:-}" ]]; then
|
|
17
27
|
# if -l provided, run as if calling `fc' directly
|
|
18
28
|
builtin fc "$@"
|
|
19
29
|
else
|
|
@@ -27,27 +37,20 @@ function dotfiles_history {
|
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
# Timestamp format
|
|
30
|
-
case ${HIST_STAMPS
|
|
40
|
+
case "${HIST_STAMPS:-}" in
|
|
31
41
|
"mm/dd/yyyy") alias history='dotfiles_history -f' ;;
|
|
32
42
|
"dd.mm.yyyy") alias history='dotfiles_history -E' ;;
|
|
33
43
|
"yyyy-mm-dd") alias history='dotfiles_history -i' ;;
|
|
34
44
|
"") alias history='dotfiles_history' ;;
|
|
35
|
-
*) alias history='dotfiles_history -t $HIST_STAMPS' ;;
|
|
45
|
+
*) alias history='dotfiles_history -t ${HIST_STAMPS}' ;;
|
|
36
46
|
esac
|
|
37
47
|
|
|
38
|
-
#
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
#
|
|
42
|
-
export HISTCONTROL=ignoreboth
|
|
43
|
-
|
|
44
|
-
# Number of histories saved in memory
|
|
45
|
-
export HISTSIZE=10000
|
|
46
|
-
|
|
47
|
-
# Number of histories saved in history file
|
|
48
|
-
export SAVEHIST=1000
|
|
48
|
+
export HISTFILE="${HOME}/.zsh_history" # History file
|
|
49
|
+
export HISTCONTROL="ignoreboth" # Ignore duplicate commands and commands that start with a space
|
|
50
|
+
export HISTSIZE="10000" # Number of commands to save in memory
|
|
51
|
+
export SAVEHIST="1000" # Number of commands to save on disk
|
|
49
52
|
|
|
50
|
-
if [[ -n "${ZSH_VERSION}" ]]; then
|
|
53
|
+
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
51
54
|
# echo "Running shell is zsh"
|
|
52
55
|
# Specifying some history options
|
|
53
56
|
setopt always_to_end # Move cursor to the end of a completed word.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
°π
½π π
·π
Ύπ
Όπ
΄
|
|
8
8
|
if [[ -z "${ANT_HOME}" ]]; then
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
ANT_HOME="/
|
|
10
|
+
ANT_HOME="/usr/local/opt/ant"
|
|
11
11
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
12
|
ANT_HOME="/usr/share/ant/"
|
|
13
13
|
fi
|
|
14
14
|
export ANT_HOME
|
|
15
|
-
export PATH="${ANT_HOME}:${PATH}"
|
|
15
|
+
export PATH="${ANT_HOME}/bin:${PATH}"
|
|
16
16
|
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ώπ
°ππ
·π
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
8
8
|
# Set JAVA_HOME
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
10
|
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
|
|
11
|
-
export
|
|
12
|
-
|
|
11
|
+
export JAVA_HOME="/opt/homebrew/Cellar/openjdk@11/11.0.18/libexec/openjdk.jdk/Contents/Home"
|
|
12
|
+
export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
|
|
13
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
14
14
|
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-arm64/"
|
|
15
|
+
|
|
15
16
|
fi
|
|
16
17
|
export JAVA_HOME
|
|
17
18
|
export JRE_HOME="${JAVA_HOME}"/jre
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
8
8
|
if [[ -z "${MAVEN_HOME}" ]]; then
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
|
|
10
|
+
export M2_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
|
|
11
|
+
export PATH=${PATH}:${M2_HOME}/bin
|
|
12
|
+
MAVEN_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
|
|
11
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
14
|
MAVEN_HOME="/usr/share/maven/"
|
|
13
15
|
fi
|
|
14
|
-
|
|
15
|
-
export MAVEN_HOME M2_HOME
|
|
16
|
+
export MAVEN_HOME
|
|
16
17
|
export PATH="${MAVEN_HOME}:${PATH}"
|
|
17
18
|
export MAVEN_OPTS="-Xms1g -Xmx1g"
|
|
18
19
|
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
# π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
8
8
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
if [[ -d "/Library/Frameworks/Python.framework/Versions/3.11/bin" ]]; then
|
|
10
|
+
export PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
|
|
11
|
+
export PYTHONHOME="/Library/Frameworks/Python.framework/Versions/3.11"
|
|
12
|
+
fi
|
|
12
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
if [[ -d "/usr/bin/python3.11" ]]; then
|
|
15
|
+
export PATH="/usr/bin:${PATH}"
|
|
16
|
+
export PYTHONHOME="/usr"
|
|
17
|
+
fi
|
|
16
18
|
fi
|
|
17
19
|
|
|
18
20
|
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
@@ -21,10 +23,13 @@ export PYTHONIOENCODING='UTF-8'
|
|
|
21
23
|
# If set to 1, enables the UTF-8 mode.
|
|
22
24
|
export PYTHONUTF8=1
|
|
23
25
|
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
# π
Ώπππ
·π
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π - Python aliases
|
|
27
|
+
if command -v 'python3' >/dev/null; then
|
|
28
|
+
alias python=python3 # Default python version
|
|
29
|
+
alias python3=python3.11 # Default python3 version
|
|
30
|
+
alias pip=pip3 # Use pip3 as default pip version
|
|
31
|
+
alias py=python # Shorthand for 'python' command
|
|
32
|
+
alias ipy=ipython # Shorthand for 'ipython' command
|
|
33
|
+
alias pep8=autopep8 # Use autopep8 as a tool for formatting Python code
|
|
34
|
+
alias pydoc='python -m pydoc' # Shorthand for 'python -m pydoc' command
|
|
35
|
+
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## ππ
Όππ π
Ώπ
°ππ
·π
|
|
@@ -11,6 +11,6 @@ if command -v 'tmux' >/dev/null; then
|
|
|
11
11
|
fi
|
|
12
12
|
|
|
13
13
|
if [[ -z "${TMUX}" ]] && [[ ${UID} != 0 ]]; then
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
"${TMUX_PATH}" kill-session -t 2>/dev/null
|
|
15
|
+
"${TMUX_PATH}"
|
|
16
16
|
fi
|
package/dist/lib/paths.sh
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets paths for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: paths.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
## π
Ώπ
°ππ
·π
|
|
8
11
|
|
package/dist/scripts/backup.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/banner.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
±π
°π
½π
½π
΄π - Display banner.
|
package/dist/scripts/build.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# shellcheck disable=SC1091
|
package/dist/scripts/clean.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
»π
΄π
°π
½ - Clean up.
|
package/dist/scripts/compile.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
Ύπ
Όπ
Ώπ
Έπ
»π
΄ π
³π
Ύππ
΅π
Έπ
»π
΄π - Compile dotfiles.
|
package/dist/scripts/copy.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
Ύπ
Ώπ - Copy the dotfiles on your system.
|