Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed May 18, 2024
1 parent 1f9a993 commit a6fc231
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 28 deletions.
45 changes: 17 additions & 28 deletions modules/fish/conf.d/mac.fish
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
if test (uname) = "Darwin"
# libgccjit
# for emacs
set -gx NATIVE_FULL_AOT 1
set -gx LSP_USE_PLISTS true

# editor
set -gx EDITOR "emacs -nw"
Expand All @@ -11,47 +12,35 @@ if test (uname) = "Darwin"
fish_add_path /usr/local/bin
fish_add_path $HOME/.local/bin

fish_add_path $HOME/.local/bin

# alias
alias cdd 'cd ~/Desktop'
alias make 'make -j8'

# emacs
alias emacs 'emacs -nw'
set -gx LSP_USE_PLISTS true

# compiler
set -gx C clang
set -gx CXX clang++
end

if test -d brew
# libxml2
set -gx LDFLAGS "-L$(brew --prefix libxml2)/lib"
set -gx CPPFLAGS "-I$(brew --prefix libxml2)/include -I$(brew --prefix zlib)/include"
set -gx PKG_CONFIG_PATH "$(brew --prefix libxml2)/lib/pkgconfig"
fish_add_path (brew --prefix libxml2)/bin
# # libxml2
# set -gx LDFLAGS "-L$(brew --prefix libxml2)/lib"
# set -gx CPPFLAGS "-I$(brew --prefix libxml2)/include -I$(brew --prefix zlib)/include"
# set -gx PKG_CONFIG_PATH "$(brew --prefix libxml2)/lib/pkgconfig"
# fish_add_path (brew --prefix libxml2)/bin

# libgccjit
set -xg LIBRARY_PATH (brew --prefix libgccjit)/lib/gcc/current
# # libgccjit
# set -xg LIBRARY_PATH (brew --prefix libgccjit)/lib/gcc/current

# openssl
fish_add_path (brew --prefix openssl)/bin
# # openssl
# fish_add_path (brew --prefix openssl)/bin

# texinfo
fish_add_path (brew --prefix texinfo)/bin
# # texinfo
# fish_add_path (brew --prefix texinfo)/bin

# bison
fish_add_path (brew --prefix bison)/bin
# # bison
# fish_add_path (brew --prefix bison)/bin

# libiconv
fish_add_path (brew --prefix libiconv)/bin
# # libiconv
# fish_add_path (brew --prefix libiconv)/bin

# homebrew
fish_add_path /opt/homebrew/bin
fish_add_path /opt/homebrew/sbin

# gpg
fish_add_path (brew --prefix [email protected])/bin
end
1 change: 1 addition & 0 deletions modules/fish/fish_plugins
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ lgathy/google-cloud-sdk-fish-completion
takeokunn/fish-dart-completions
takeokunn/fish-ecs-cli-completions
lilyball/nix-env.fish
kidonng/nix-completions.fish

0 comments on commit a6fc231

Please sign in to comment.