[feat] Init zoxide at runtime

Move brew and ports files to macos specific folders
This commit is contained in:
Uttarayan
2023-07-25 19:09:49 +05:30
parent 6ac9a14e74
commit 5121977278
3 changed files with 1 additions and 111 deletions

View File

@@ -0,0 +1,14 @@
if [ (uname) = "Darwin" ]
set arch (arch)
if [ "$arch" = "i386" ]
# 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
/opt/homebrew/bin/brew shellenv | source
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
end
export XDG_CONFIG_HOME="/Users/fs0c131y/.config"
end

View File

@@ -0,0 +1,3 @@
if [ (uname) = "Darwin" ]
export PATH="/opt/local/bin:$PATH"
end