[feat] Init zoxide at runtime
Move brew and ports files to macos specific folders
This commit is contained in:
14
config/fish/conf.d/macos/00brew.fish
Normal file
14
config/fish/conf.d/macos/00brew.fish
Normal 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
|
||||
3
config/fish/conf.d/macos/99-ports.fish
Normal file
3
config/fish/conf.d/macos/99-ports.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
if [ (uname) = "Darwin" ]
|
||||
export PATH="/opt/local/bin:$PATH"
|
||||
end
|
||||
Reference in New Issue
Block a user