Skip to content

Commit

Permalink
🦫 go
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Oct 5, 2024
1 parent cc4b4f5 commit 662a190
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 1 deletion.
6 changes: 6 additions & 0 deletions shell/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ fi
# rust
[[ ! -f ${HOME}/.cargo/env ]] || source ${HOME}/.cargo/env

# go
GOBIN="${GOBIN:-${HOME}/go/bin}"
if [[ -d ${GOBIN} && $PATH != *"${GOBIN}"* ]]; then
export PATH="${GOBIN}:${PATH}"
fi

# Amazon Q post block. Keep at the bottom of this file.
if [[ -f "${HOME}/Library/Application Support/amazon-q/shell/bash_profile.post.bash" ]]; then
builtin source "${HOME}/Library/Application Support/amazon-q/shell/bash_profile.post.bash"
Expand Down
6 changes: 6 additions & 0 deletions shell/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ fi
# rust
[[ ! -f ${HOME}/.cargo/env ]] || source ${HOME}/.cargo/env

# go
GOBIN="${GOBIN:-${HOME}/go/bin}"
if [[ -d ${GOBIN} && $PATH != *"${GOBIN}"* ]]; then
export PATH="${GOBIN}:${PATH}"
fi

# thefuck
if command -v thefuck &>/dev/null; then
eval "$(thefuck --alias)"
Expand Down
6 changes: 6 additions & 0 deletions shell/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ fi
# rust
[[ ! -f ${HOME}/.cargo/env ]] || source ${HOME}/.cargo/env

# go
GOBIN="${GOBIN:-${HOME}/go/bin}"
if [[ -d ${GOBIN} && ! $PATH == *"${GOBIN}"* ]]; then
export PATH="${GOBIN}:${PATH}"
fi

# Amazon Q post block. Keep at the bottom of this file.
if [[ -f "${HOME}/Library/Application Support/amazon-q/shell/profile.post.zsh" ]]; then
builtin source "${HOME}/Library/Application Support/amazon-q/shell/profile.post.zsh"
Expand Down
6 changes: 6 additions & 0 deletions shell/.zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ fi
# rust
[[ ! -f ${HOME}/.cargo/env ]] || source ${HOME}/.cargo/env

# go
GOBIN="${GOBIN:-${HOME}/go/bin}"
if [[ -d ${GOBIN} && ! $PATH == *"${GOBIN}"* ]]; then
export PATH="${GOBIN}:${PATH}"
fi

# Amazon Q post block. Keep at the bottom of this file.
if [[ -f "${HOME}/Library/Application Support/amazon-q/shell/zprofile.post.zsh" ]]; then
builtin source "${HOME}/Library/Application Support/amazon-q/shell/zprofile.post.zsh"
Expand Down
6 changes: 6 additions & 0 deletions shell/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ fi
# rust
[[ ! -f ${HOME}/.cargo/env ]] || source ${HOME}/.cargo/env

# go
GOBIN="${GOBIN:-${HOME}/go/bin}"
if [[ -d ${GOBIN} && ! $PATH == *"${GOBIN}"* ]]; then
export PATH="${GOBIN}:${PATH}"
fi

# thefuck
if command -v thefuck &>/dev/null; then
eval "$(thefuck --alias)"
Expand Down
12 changes: 11 additions & 1 deletion tools/vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.accessibilitySupport": "off",
"editor.fontSize": 14,
"editor.lineHeight": 1.5,
Expand All @@ -25,9 +28,16 @@
"**/coverage.xml": true,
"htmlcov": true
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"github.copilot.editor.enableAutoCompletions": true,
"github.copilot.enable": {
"*": true,
"markdown": true,
"plaintext": true,
"scminput": true
},
"github.experimental.multipleAccounts": true,
"python.testing.pytestArgs": ["."],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
Expand Down

0 comments on commit 662a190

Please sign in to comment.