scripts/applications/fish

42 lines
984 B
Plaintext
Raw Normal View History

# vim: syntax=fish:
# launch tmux if we're in an interactive terminal emulator
if status is-interactive
2019-07-05 19:09:01 -07:00
and not status is-login
and test -z "$TMUX"
2019-07-05 19:09:01 -07:00
exec tmux new-session
end
# 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
# 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
for f in (find $_agw_dir_scripts/fish -type f -name '*.fish')
source $f
end
## EOF