X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fsetup.sh;h=5e6866fea72bea1905843c02fea7ff095b0e4f58;hp=eec1ded59a0911614c2f0586df54fa3b086c088c;hb=239120feaa158bbb530d41c52ecca47415d85aec;hpb=b82ea1844de8988bac632a588c6308b22b5ac1a0 diff --git a/shell/setup.sh b/shell/setup.sh index eec1ded..5e6866f 100755 --- a/shell/setup.sh +++ b/shell/setup.sh @@ -2,7 +2,7 @@ # Setup script for shell configuration files. -# Copyright (C) 2011-2014 Simon Ruderich +# Copyright (C) 2011-2018 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -161,19 +161,6 @@ if test -z "$use_256colors"; then sed_i 's/Enable 256 color/Disable 256 color/; s/screen-256color/screen/' screenrc fi -# Some options are only necessary when running as root. They are marked as -# "(ROOT)". -if test "`id -u`" -ne 0; then - echo 'screenrc: removing root options' - grep_i -v '(ROOT)' screenrc -fi -# I use some features of GNU screen which are only in Git or very recent GNU -# screen versions. Drop them on machines which have older versions. They are -# marked as "(GIT)". -if test ! -d "$HOME/development/shell/screen"; then - echo 'screenrc: removing Git features' - grep_i -v '(GIT)' screenrc -fi # Rxvt doesn't need the attrcolor "fix". As I prefer rxvt assume I use it when # it's installed. if installed rxvt; then