1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-09-15 23:15:30 -04:00

random fixes

This commit is contained in:
2022-11-02 18:06:50 -04:00
parent 7093477c72
commit 46fc622186
7 changed files with 17 additions and 60 deletions

View File

@@ -68,6 +68,7 @@ export GATSBY_TELEMETRY_DISABLED=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export SAM_CLI_TELEMETRY=0
export AZURE_CORE_COLLECT_TELEMETRY=0
export CHECKPOINT_DISABLE=1 # prisma
# TEMPORARY: fixes some breakage with node 17
#export NODE_OPTIONS=--openssl-legacy-provider

View File

@@ -110,6 +110,6 @@ alias pubkey_rsa="more ~/.ssh/id_rsa.pub | pbcopy | echo '=> Public key copied t
alias ytdl="youtube-dl -f bestvideo+bestaudio"
alias ytmp3="youtube-dl -f bestaudio -x --audio-format mp3 --audio-quality 320K"
alias weather="curl -4 https://wttr.in/Boston"
alias weather="curl 'https://wttr.in/mht?format=v2'"
alias shellcheckd="docker run --rm -v \"$PWD:/mnt\" koalaman/shellcheck:latest"

View File

@@ -15,8 +15,8 @@ alias awk="gawk"
command -v md5sum > /dev/null || alias md5sum="md5"
# system python -> homebrew python3
alias python="python3"
alias pip="pip3"
# alias python="python3"
# alias pip="pip3"
# My own creation! See: https://github.com/jakejarvis/simpip
alias ipv4="curl -4 simpip.com --max-time 1 --proto-default https --silent"
@@ -59,7 +59,7 @@ update() {
# https://stackoverflow.com/a/3452888
echo -e "${YELLOW}Updating pip packages...${NC}"
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
pip3 list --outdated --format=json | jq -r '.[] | .name+"="+.latest_version' | cut -d = -f 1 | xargs -n1 pip3 install -U
echo -e "${YELLOW}Updating MAS apps...${NC}"
mas outdated

View File

@@ -20,11 +20,11 @@ export PATH="$GOPATH/bin:$PATH"
#export PATH="$GOROOT/bin:$PATH"
# Ruby
export PATH="$HOME/.gem/ruby/3.0.0/bin:$PATH"
export RUBY_HOME="$HOMEBREW_PREFIX/opt/ruby/bin"
export GEM_PATH="$HOMEBREW_PREFIX/lib/ruby/gems/3.0.0/bin"
export PATH="$RUBY_HOME:$PATH"
export PATH="$GEM_PATH:$PATH"
# export PATH="$HOME/.gem/ruby/3.1.0/bin:$PATH"
# export RUBY_HOME="$HOMEBREW_PREFIX/opt/ruby/bin"
# export GEM_PATH="$HOMEBREW_PREFIX/lib/ruby/gems/3.1.0/bin"
# export PATH="$RUBY_HOME:$PATH"
# export PATH="$GEM_PATH:$PATH"
# rbenv
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline) --with-libyaml-dir=$(brew --prefix libyaml)"
@@ -33,7 +33,7 @@ if command -v rbenv 1>/dev/null 2>&1; then
fi
# Python
export PATH="$HOME/Library/Python/3.9/bin:$PATH"
# export PATH="$HOME/Library/Python/3.9/bin:$PATH"
# openjdk
export PATH="$HOMEBREW_PREFIX/opt/openjdk/bin:$PATH"