aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish/config.local.fish
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-06 19:15:10 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-06 19:15:10 +0800
commit028ab301fe80c9ed872fe8ba4be2819648e30d97 (patch)
treee3788bddd4bc9732577cde23c5c8a38824ddbc8d /.config/fish/config.local.fish
parent6f2380babe7dcfb204937f0f734443a6c854106f (diff)
downloaddotfiles-028ab301fe80c9ed872fe8ba4be2819648e30d97.tar.bz2
Add fish & redshift configs; Update gpg configs; Add mutt scripts
Diffstat (limited to '.config/fish/config.local.fish')
-rw-r--r--.config/fish/config.local.fish35
1 files changed, 35 insertions, 0 deletions
diff --git a/.config/fish/config.local.fish b/.config/fish/config.local.fish
new file mode 100644
index 0000000..5dab86b
--- /dev/null
+++ b/.config/fish/config.local.fish
@@ -0,0 +1,35 @@
+#
+# ~/.config/fish/config.local.fish
+#
+# Local configuration for fish.
+#
+# Aaron LI
+# 2015-10-03
+#
+
+
+## astro {{{
+# backup LD_LIBRARY_PATH settings
+set -x LD_LIBRARY_PATH_BAK $LD_LIBRARY_PATH
+
+# heasoft
+set -x HEADAS "$HOME/local/heasoft/heasoft-6.16/x86_64-unknown-linux-gnu"
+function heainit
+ set -l hea_state (echo $PATH | tr ':' '\n' | grep 'heasoft')
+ if test "x$hea_state" = "x"
+ source $HEADAS/headas-init.fish
+ end
+ set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH_BAK
+end
+
+# ciao
+set -x CIAO_PATH "$HOME/local/ciao/ciao-4.6"
+function ciaoinit
+ heainit
+ source "$CIAO_PATH/bin/ciao.fish" $argv
+ set -x CIAO_LD_LIBRARY_PATH "$ASCDS_INSTALL/ots/lib"
+end
+## astro }}}
+
+
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=fish: #