2019-07-24 22:36:09 -07:00
|
|
|
# vim: syntax=fish:
|
|
|
|
|
|
|
|
# launch tmux if we're in an interactive terminal emulator
|
2019-06-10 19:16:40 -07:00
|
|
|
if status is-interactive
|
2019-07-05 19:09:01 -07:00
|
|
|
and not status is-login
|
|
|
|
and test -z "$TMUX"
|
2019-06-10 19:16:40 -07:00
|
|
|
|
2019-07-05 19:09:01 -07:00
|
|
|
exec tmux new-session
|
2019-06-10 19:16:40 -07:00
|
|
|
end
|
|
|
|
|
2019-07-24 22:36:09 -07:00
|
|
|
# bootstrapping information
|
|
|
|
switch (uname)
|
|
|
|
case Linux
|
|
|
|
set -gx CC clang
|
|
|
|
set -gx CXX clang++
|
|
|
|
set -Ux _agw_dir_bin ~/bin
|
|
|
|
set -Ux _agw_dir_rc ~/src/git-scripts
|
|
|
|
set -Ux _agw_dir_scripts ~/src/scripts
|
|
|
|
set -Ux _agw_dir_src ~/src
|
|
|
|
case Darwin
|
|
|
|
set -gx CMAKE_PREFIX_PATH /usr/local/opt/qt/
|
|
|
|
set -gx DISTCC_HOSTS "192.168.1.2,cpp"
|
|
|
|
set -gx fish_user_paths "/usr/local/opt/ruby/bin" $fish_user_paths
|
|
|
|
set -gx LDFLAGS "-L/usr/local/opt/ruby/lib"
|
|
|
|
set -gx CPPFLAGS "-I/usr/local/opt/ruby/include"
|
|
|
|
set -Ux _agw_dir_bin ~/Binaries
|
|
|
|
set -Ux _agw_dir_rc ~/Sources/scripts
|
|
|
|
set -Ux _agw_dir_scripts ~/Scripts
|
|
|
|
set -Ux _agw_dir_src ~/Sources
|
2019-06-28 17:33:53 -07:00
|
|
|
end
|
2019-06-18 09:13:09 -07:00
|
|
|
|
2019-07-24 22:36:09 -07:00
|
|
|
# execute scripts
|
2019-06-28 17:35:31 -07:00
|
|
|
if test -f ~/.cargo/env
|
2019-07-05 19:09:01 -07:00
|
|
|
source ~/.cargo/env
|
2019-06-28 17:35:31 -07:00
|
|
|
end
|
|
|
|
|
2019-07-27 05:30:14 -07:00
|
|
|
for f in (find $_agw_dir_scripts/fish -type f)
|
2019-07-24 22:36:09 -07:00
|
|
|
source $f
|
|
|
|
end
|
|
|
|
|
2019-06-10 19:16:40 -07:00
|
|
|
## EOF
|