[fix] Update stuff

This commit is contained in:
Uttarayan Mondal
2023-05-01 12:25:12 +05:30
parent 38b9bc3869
commit ee51e2e877
5 changed files with 58 additions and 32 deletions

View File

@@ -1,11 +1,11 @@
if [ (uname) = "Darwin" ]
set arch (arch)
if [ "$arch" = "i386" ]
eval /usr/local/Caskroom/miniconda/base/bin/conda "shell.fish" "hook" $argv | source
# eval /usr/local/Caskroom/miniconda/base/bin/conda "shell.fish" "hook" $argv | source
/usr/local/bin/brew shellenv | source
export PATH="/usr/local/opt/llvm/bin:$PATH"
else
eval /opt/homebrew/Caskroom/miniconda/base/bin/conda "shell.fish" "hook" $argv | source
# eval /opt/homebrew/Caskroom/miniconda/base/bin/conda "shell.fish" "hook" $argv | source
/opt/homebrew/bin/brew shellenv | source
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
end

View File

@@ -0,0 +1 @@
alias axbrew='HOMEBREW_CELLAR=/usr/local/Cellar HOMEBREW_PREFIX=/usr/local HOMEBREW_REPOSITORY=/usr/local/Homebrew arch -x86_64 /usr/local/homebrew/bin/brew'

View File

@@ -2,14 +2,14 @@ if status is-interactive
# Commands to run in interactive sessions can go here
end
export BROWSER="open"
export DYLD_FALLBACK_LIBRARY_PATH="/Library/Developer/CommandLineTools/usr/lib"
# export BROWSER="open"
# export DYLD_FALLBACK_LIBRARY_PATH="/Library/Developer/CommandLineTools/usr/lib"
# export DYLD_FALLBACK_LIBRARY_PATH="/Library/Developer/CommandLineTools/usr/lib"
# export FZF_DEFAULT_COMMAND="fd --type f --hidden --exclude .git"
export CARGO_TARGET_DIR="$HOME/.local/share/cargo-target"
# export CARGO_TARGET_DIR="$HOME/.local/share/cargo-target"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/fs0c131y/Projects/gcloud/google-cloud-sdk/path.fish.inc' ]; . '/Users/fs0c131y/Projects/gcloud/google-cloud-sdk/path.fish.inc'; end
# if [ -f '/Users/fs0c131y/Projects/gcloud/google-cloud-sdk/path.fish.inc' ]; . '/Users/fs0c131y/Projects/gcloud/google-cloud-sdk/path.fish.inc'; end
macchina