diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2017-11-29 04:06:51 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2017-11-29 04:29:23 +0100 |
| commit | 814c71c6d748d3fa463d20460b62a8ee05f9f544 (patch) | |
| tree | befba26abf284100b67ef221411fc2511debe487 /config/fish/config.fish | |
| parent | 259f1488958b0aa63fa385372c872f40397f65ec (diff) | |
| download | dotfiles-814c71c6d748d3fa463d20460b62a8ee05f9f544.tar.gz dotfiles-814c71c6d748d3fa463d20460b62a8ee05f9f544.zip | |
[fish] use gcc 4.9 on uberspace
Diffstat (limited to 'config/fish/config.fish')
| -rw-r--r-- | config/fish/config.fish | 19 |
1 files 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 |
