From 814c71c6d748d3fa463d20460b62a8ee05f9f544 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 29 Nov 2017 04:06:51 +0100 Subject: [fish] use gcc 4.9 on uberspace --- config/fish/config.fish | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/config/fish/config.fish b/config/fish/config.fish index 90975de..5394e19 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -89,9 +89,24 @@ if type -q yaourt end end +################### HOST SETTINGS ############################################# + +# Antares.uberspace.de # Change TERM on antares.uberspace.de -if test (hostname) = "antares.uberspace.de" -a "$TERM" = "st-256color" - set -x TERM "xterm-256color" +if test (hostname) = "antares.uberspace.de" + if test "$TERM" = "st-256color" + set -x TERM "xterm-256color" + end + + # Use gcc 4.9 + if not contains "/package/host/localhost/gcc-4/bin" $PATH + set -x PATH "/package/host/localhost/gcc-4/bin" $PATH + end + + # Include libraries for gcc 4.9 + if not contains "/package/host/localhost/gcc-4/lib64" $LD_LIBRARY_PATH + set -x LD_LIBRARY_PATH "/package/host/localhost/gcc-4/lib64" $LD_LIBRARY_PATH + end end #start xsession -- cgit v1.2.3