@sebastienrousseau/dotfiles 0.2.466 β 0.2.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -15
- package/dist/Makefile +126 -43
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/dotfiles.d.ts +2 -2
- package/dist/bin/dotfiles.d.ts.map +1 -1
- package/dist/bin/dotfiles.js +1 -2
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +1 -2
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/filesizes.txt +161 -161
- package/dist/lib/README.md +83 -5
- package/dist/lib/aliases/README.md +49 -43
- package/dist/lib/aliases/archives/README.md +126 -37
- package/dist/lib/aliases/archives/archives.aliases.sh +112 -152
- package/dist/lib/aliases/cd/README.md +138 -55
- package/dist/lib/aliases/cd/cd.aliases.sh +45 -33
- package/dist/lib/aliases/chmod/README.md +151 -96
- package/dist/lib/aliases/chmod/chmod.aliases.sh +103 -69
- package/dist/lib/aliases/clear/README.md +8 -4
- package/dist/lib/aliases/clear/clear.aliases.sh +57 -28
- package/dist/lib/aliases/configuration/README.md +8 -4
- package/dist/lib/aliases/configuration/configuration.aliases.sh +53 -30
- package/dist/lib/aliases/default/README.md +8 -4
- package/dist/lib/aliases/default/default.aliases.sh +99 -86
- package/dist/lib/aliases/dig/README.md +8 -4
- package/dist/lib/aliases/dig/dig.aliases.sh +4 -4
- package/dist/lib/aliases/disk-usage/README.md +8 -4
- package/dist/lib/aliases/disk-usage/du.aliases.sh +2 -2
- package/dist/lib/aliases/editor/README.md +8 -4
- package/dist/lib/aliases/editor/editor.aliases.sh +4 -4
- package/dist/lib/aliases/find/README.md +8 -4
- package/dist/lib/aliases/find/find.aliases.sh +4 -4
- package/dist/lib/aliases/gcloud/README.md +8 -4
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +4 -4
- package/dist/lib/aliases/git/README.md +8 -4
- package/dist/lib/aliases/git/git.aliases.sh +3 -3
- package/dist/lib/aliases/gnu/README.md +8 -4
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +2 -2
- package/dist/lib/aliases/heroku/README.md +8 -4
- package/dist/lib/aliases/heroku/heroku.aliases.sh +3 -3
- package/dist/lib/aliases/interactive/README.md +29 -17
- package/dist/lib/aliases/interactive/interactive.aliases.sh +15 -18
- package/dist/lib/aliases/list/README.md +118 -25
- package/dist/lib/aliases/list/list.aliases.sh +130 -84
- package/dist/lib/aliases/macOS/README.md +8 -4
- package/dist/lib/aliases/macOS/macos.aliases.sh +3 -3
- package/dist/lib/aliases/make/README.md +8 -4
- package/dist/lib/aliases/make/make.aliases.sh +3 -3
- package/dist/lib/aliases/mkdir/README.md +8 -4
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +3 -3
- package/dist/lib/aliases/npm/README.md +8 -4
- package/dist/lib/aliases/npm/npm.aliases.sh +3 -3
- package/dist/lib/aliases/permission/README.md +8 -4
- package/dist/lib/aliases/permission/permission.aliases.sh +3 -3
- package/dist/lib/aliases/pnpm/README.md +8 -4
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
- package/dist/lib/aliases/ps/README.md +8 -4
- package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
- package/dist/lib/aliases/python/python.aliases.sh +141 -0
- package/dist/lib/aliases/rsync/README.md +8 -4
- package/dist/lib/aliases/rsync/rsync.aliases.sh +3 -3
- package/dist/lib/aliases/rust/README.md +171 -46
- package/dist/lib/aliases/rust/rust.aliases.sh +109 -117
- package/dist/lib/aliases/subversion/README.md +8 -4
- package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
- package/dist/lib/aliases/sudo/README.md +8 -4
- package/dist/lib/aliases/sudo/sudo.aliases.sh +3 -3
- package/dist/lib/aliases/tmux/README.md +8 -4
- package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
- package/dist/lib/aliases/update/README.md +8 -4
- package/dist/lib/aliases/update/update.aliases.sh +307 -66
- package/dist/lib/aliases/uuid/README.md +8 -4
- package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
- package/dist/lib/aliases/wget/README.md +8 -4
- package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
- package/dist/lib/aliases.sh +42 -12
- package/dist/lib/configurations/README.md +8 -4
- package/dist/lib/configurations/bash/bashrc +163 -35
- package/dist/lib/configurations/curl/curlrc +3 -6
- package/dist/lib/configurations/default/color.sh +3 -3
- package/dist/lib/configurations/default/constants.sh +4 -4
- package/dist/lib/configurations/default/editor.sh +3 -3
- package/dist/lib/configurations/default/prompt.sh +20 -11
- package/dist/lib/configurations/input/inputrc +3 -3
- package/dist/lib/configurations/nano/nanorc +3 -3
- package/dist/lib/configurations/profile/profile +3 -3
- package/dist/lib/configurations/prompt/prompt.sh +81 -0
- package/dist/lib/configurations/tmux/default +3 -3
- package/dist/lib/configurations/tmux/display +3 -3
- package/dist/lib/configurations/tmux/linux +3 -3
- package/dist/lib/configurations/tmux/navigation +3 -3
- package/dist/lib/configurations/tmux/panes +3 -3
- package/dist/lib/configurations/tmux/theme +4 -4
- package/dist/lib/configurations/tmux/tmux +3 -3
- package/dist/lib/configurations/vim/vimrc +191 -71
- package/dist/lib/configurations/wget/wgetrc +3 -3
- package/dist/lib/configurations/zsh/zshrc +11 -12
- package/dist/lib/configurations.sh +39 -9
- package/dist/lib/functions/README.md +73 -55
- package/dist/lib/functions/apihealth.sh +277 -0
- package/dist/lib/functions/apilatency.sh +157 -0
- package/dist/lib/functions/apiload.sh +165 -0
- package/dist/lib/functions/backup.sh +143 -0
- package/dist/lib/functions/cdls.sh +52 -6
- package/dist/lib/functions/curlheader.sh +66 -10
- package/dist/lib/functions/curlstatus.sh +64 -7
- package/dist/lib/functions/curltime.sh +56 -14
- package/dist/lib/functions/encode64.sh +87 -7
- package/dist/lib/functions/environment.sh +65 -25
- package/dist/lib/functions/extract.sh +79 -27
- package/dist/lib/functions/freespace.sh +55 -9
- package/dist/lib/functions/genpwd.sh +93 -29
- package/dist/lib/functions/goto.sh +59 -8
- package/dist/lib/functions/hexdump.sh +96 -0
- package/dist/lib/functions/hiddenfiles.sh +77 -0
- package/dist/lib/functions/hostinfo.sh +92 -21
- package/dist/lib/functions/hstats.sh +69 -5
- package/dist/lib/functions/httpdebug.sh +109 -5
- package/dist/lib/functions/kebabcase.sh +61 -0
- package/dist/lib/functions/keygen.sh +188 -25
- package/dist/lib/functions/last.sh +106 -5
- package/dist/lib/functions/logout.sh +114 -6
- package/dist/lib/functions/lowercase.sh +49 -17
- package/dist/lib/functions/matrix.sh +205 -30
- package/dist/lib/functions/mount_read_only.sh +3 -3
- package/dist/lib/functions/myproc.sh +3 -3
- package/dist/lib/functions/prependpath.sh +3 -3
- package/dist/lib/functions/ql.sh +3 -3
- package/dist/lib/functions/rd.sh +3 -3
- package/dist/lib/functions/remove_disk.sh +3 -3
- package/dist/lib/functions/ren.sh +68 -8
- package/dist/lib/functions/sentencecase.sh +63 -0
- package/dist/lib/functions/showhiddenfiles.sh +3 -3
- package/dist/lib/functions/size.sh +6 -5
- package/dist/lib/functions/snakecase.sh +61 -0
- package/dist/lib/functions/stopwatch.sh +3 -3
- package/dist/lib/functions/sysinfo.sh +145 -0
- package/dist/lib/functions/titlecase.sh +65 -0
- package/dist/lib/functions/uppercase.sh +51 -19
- package/dist/lib/functions/view-source.sh +3 -3
- package/dist/lib/functions/vscode.sh +3 -3
- package/dist/lib/functions/whoisport.sh +3 -3
- package/dist/lib/functions/zipf.sh +3 -3
- package/dist/lib/functions.sh +41 -10
- package/dist/lib/history.sh +68 -83
- package/dist/lib/paths/README.md +52 -0
- package/dist/lib/paths/custom.paths.sh +40 -0
- package/dist/lib/paths/default.paths.sh +37 -0
- package/dist/lib/paths.sh +40 -11
- package/dist/scripts/backup.sh +3 -3
- package/dist/scripts/banner.sh +3 -3
- package/dist/scripts/build.sh +3 -3
- package/dist/scripts/clean.sh +3 -3
- package/dist/scripts/compile.sh +3 -3
- package/dist/scripts/copy.sh +3 -3
- package/dist/scripts/dotfiles.sh +3 -3
- package/dist/scripts/download.sh +3 -3
- package/dist/scripts/help.sh +3 -3
- package/dist/scripts/ssh.sh +3 -3
- package/dist/scripts/unpack.sh +3 -3
- package/package.json +10 -9
- package/dist/lib/aliases/jekyll/README.md +0 -37
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +0 -54
- package/dist/lib/configurations/tmux/vi +0 -9
- package/dist/lib/functions/filehead.sh +0 -4
- package/dist/lib/functions/hidehiddenfiles.sh +0 -14
- package/dist/lib/paths/ant/ant.paths.sh +0 -15
- package/dist/lib/paths/default/default.paths.sh +0 -19
- package/dist/lib/paths/homebrew/homebrew.paths.sh +0 -27
- package/dist/lib/paths/java/java.paths.sh +0 -19
- package/dist/lib/paths/maven/maven.paths.sh +0 -18
- package/dist/lib/paths/node/node.paths.sh +0 -15
- package/dist/lib/paths/nvm/nvm.paths.sh +0 -23
- package/dist/lib/paths/pnpm/pnpm.paths.sh +0 -15
- package/dist/lib/paths/python/python.paths.sh +0 -36
- package/dist/lib/paths/ruby/ruby.paths.sh +0 -25
- package/dist/lib/paths/tmux/tmux.paths.sh +0 -12
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
# Hide hidden system and dotfile files
|
|
9
|
-
hidehiddenfiles() {
|
|
10
|
-
defaults write com.apple.Finder AppleShowAllFiles NO
|
|
11
|
-
osascript -e 'tell application "Finder" to quit'
|
|
12
|
-
sleep 0.25
|
|
13
|
-
osascript -e 'tell application "Finder" to activate'
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
°π
½π π
·π
Ύπ
Όπ
΄
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
ANT_HOME="/opt/homebrew/Cellar/ant/"
|
|
11
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
|
-
ANT_HOME="/usr/share/ant/"
|
|
13
|
-
fi
|
|
14
|
-
export ANT_HOME
|
|
15
|
-
export PATH="${ANT_HOME}/bin:${PATH}"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
Ώπ
°ππ
·π
|
|
9
|
-
|
|
10
|
-
### Add 'PATH' entries.
|
|
11
|
-
export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
|
|
12
|
-
export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
|
|
13
|
-
export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
|
|
14
|
-
export PATH=/bin:"${PATH}" # Add /bin to the path
|
|
15
|
-
export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
|
|
16
|
-
export PATH=/sbin:"${PATH}" # Add /sbin to the path
|
|
17
|
-
export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
|
|
18
|
-
export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
|
|
19
|
-
export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
|
|
11
|
-
### Uniquify 'PATH' entries.
|
|
12
|
-
# typeset -U PATH
|
|
13
|
-
|
|
14
|
-
export PATH=/opt/homebrew/bin:"${PATH}" # Homebrew binaries
|
|
15
|
-
export PATH=/opt/homebrew/sbin:"${PATH}" # Homebrew binaries
|
|
16
|
-
export PATH=/opt/homebrew/bin/bash:"${PATH}" # Add /opt/homebrew/bin/bash to the path
|
|
17
|
-
|
|
18
|
-
# Prevent Homebrew from reporting - https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
|
|
19
|
-
export HOMEBREW_NO_ANALYTICS=1
|
|
20
|
-
|
|
21
|
-
# Automatically update Homebrew once a day.
|
|
22
|
-
export HOMEBREW_AUTO_UPDATE_SECS=86400
|
|
23
|
-
|
|
24
|
-
# set HOMEBREW_CASK_OPTS
|
|
25
|
-
HOMEBREW_CASK_OPTS="--appdir=/Applications"
|
|
26
|
-
export HOMEBREW_CASK_OPTS
|
|
27
|
-
fi
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
9
|
-
# Set JAVA_HOME
|
|
10
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
11
|
-
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
|
|
12
|
-
export JAVA_HOME="/opt/homebrew/Cellar/openjdk@11/11.0.18/libexec/openjdk.jdk/Contents/Home"
|
|
13
|
-
export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
|
|
14
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
15
|
-
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-arm64/"
|
|
16
|
-
|
|
17
|
-
fi
|
|
18
|
-
export JAVA_HOME
|
|
19
|
-
export JRE_HOME="${JAVA_HOME}"/jre
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
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
|
|
13
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
14
|
-
MAVEN_HOME="/usr/share/maven/"
|
|
15
|
-
fi
|
|
16
|
-
export MAVEN_HOME
|
|
17
|
-
export PATH="${MAVEN_HOME}:${PATH}"
|
|
18
|
-
export MAVEN_OPTS="-Xms1g -Xmx1g"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
NODE_PATH=/opt/homebrew/Cellar/node@18/18.10.0
|
|
11
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
|
-
NODE_PATH=${HOME}/.nvm/versions/node/v18.10.0/bin/node
|
|
13
|
-
fi
|
|
14
|
-
export NODE_PATH
|
|
15
|
-
export PATH="${NODE_PATH}:${PATH}"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
NVM_DIR="${HOME}"/.nvm
|
|
11
|
-
# shellcheck source=/dev/null
|
|
12
|
-
[[ -s "/opt/homebrew/opt/nvm/nvm.sh" ]] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
|
|
13
|
-
# shellcheck source=/dev/null
|
|
14
|
-
[[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ]] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
|
15
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
16
|
-
NVM_DIR="${HOME}"/.nvm
|
|
17
|
-
# shellcheck source=/dev/null
|
|
18
|
-
. "${NVM_DIR}/nvm.sh" # This loads nvm
|
|
19
|
-
# shellcheck source=/dev/null
|
|
20
|
-
. "${NVM_DIR}/bash_completion" # This loads nvm bash_completion
|
|
21
|
-
fi
|
|
22
|
-
export NVM_DIR
|
|
23
|
-
export PATH="${NVM_DIR}:${PATH}"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
PNPM_HOME=/opt/homebrew/Cellar/pnpm
|
|
11
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
|
-
PNPM_HOME="${HOME}"/.local/share/pnpm
|
|
13
|
-
fi
|
|
14
|
-
export PNPM_HOME="${PNPM_HOME}"
|
|
15
|
-
export PATH="${PNPM_HOME}:${PATH}"
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
# π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
if [[ -d "/Library/Frameworks/Python.framework/Versions/3.11/bin" ]]; then
|
|
11
|
-
export PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
|
|
12
|
-
export PYTHONHOME="/Library/Frameworks/Python.framework/Versions/3.11"
|
|
13
|
-
fi
|
|
14
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
15
|
-
if [[ -d "/usr/bin/python3.11" ]]; then
|
|
16
|
-
export PATH="/usr/bin:${PATH}"
|
|
17
|
-
export PYTHONHOME="/usr"
|
|
18
|
-
fi
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
22
|
-
export PYTHONIOENCODING='UTF-8'
|
|
23
|
-
|
|
24
|
-
# If set to 1, enables the UTF-8 mode.
|
|
25
|
-
export PYTHONUTF8=1
|
|
26
|
-
|
|
27
|
-
# π
Ώπππ
·π
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π - Python aliases
|
|
28
|
-
if command -v 'python3' >/dev/null; then
|
|
29
|
-
alias python=python3 # Default python version
|
|
30
|
-
alias python3=python3.11 # Default python3 version
|
|
31
|
-
alias pip=pip3 # Use pip3 as default pip version
|
|
32
|
-
alias py=python # Shorthand for 'python' command
|
|
33
|
-
alias ipy=ipython # Shorthand for 'ipython' command
|
|
34
|
-
alias pep8=autopep8 # Use autopep8 as a tool for formatting Python code
|
|
35
|
-
alias pydoc='python -m pydoc' # Shorthand for 'python -m pydoc' command
|
|
36
|
-
fi
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
9
|
-
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
if [[ -d "/opt/homebrew/opt/ruby/bin" ]]; then
|
|
11
|
-
RUBY_HOME="/opt/homebrew/opt/ruby/bin"
|
|
12
|
-
fi
|
|
13
|
-
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
14
|
-
RUBY_HOME="/usr/lib/ruby/2.7.0/"
|
|
15
|
-
fi
|
|
16
|
-
export RUBY_HOME
|
|
17
|
-
export PATH="${RUBY_HOME}:${PATH}"
|
|
18
|
-
|
|
19
|
-
## π
Άπ
΄π
Ό π
·π
Ύπ
Όπ
΄
|
|
20
|
-
GEM_HOME=$(gem environment gemdir)
|
|
21
|
-
GEM_PATH=${GEM_HOME}
|
|
22
|
-
export GEM_HOME
|
|
23
|
-
export GEM_PATH
|
|
24
|
-
export PATH="${GEM_PATH}:${PATH}"
|
|
25
|
-
export PATH="${GEM_HOME}:${PATH}"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.466) - <https://dotfiles.io>
|
|
4
|
-
# Made with β₯ in London, UK by @wwdseb
|
|
5
|
-
# Copyright (c) 2015-2023. All rights reserved
|
|
6
|
-
# License: MIT
|
|
7
|
-
|
|
8
|
-
## ππ
Όππ π
Ώπ
°ππ
·π
|
|
9
|
-
if command -v 'tmux' >/dev/null; then
|
|
10
|
-
TMUX_PATH=$(command -v tmux)
|
|
11
|
-
export TMUX_PATH
|
|
12
|
-
fi
|