Add script to fix Steam on Arch, pull latest prezto, disable core detection for makepkg for now

master
Taeyeon Mori 9 years ago
parent 78781cea45
commit 0be9347fd3
  1. 1
      README.md
  2. 1
      bin/fix-steam-runtime.sh
  3. 5
      dotfiles/makepkg.conf
  4. 2
      install
  5. 2
      zsh/prezto
  6. 1
      zsh/zpreztorc
  7. 3
      zsh/zprofile
  8. 2
      zsh/zshenv

@ -31,6 +31,7 @@ Notable ones are:
- schedshut : Shutdown when a specific task/process finishes.
- mountpart : Mount a partition in a whole-disk imagefile.
- argshell : call the same application repeatedly, with a common set of arguments.
- fix-steam-runtime.sh : Fix Steam runtime on Arch Linux (And others with "too new" libstdc++ and friends)
.files/etc
----------

@ -0,0 +1 @@
find "$HOME/.steam/root/" ( -name libgcc_s.so* -o -name libstdc++.so* -o -name libxcb.so* ) -print -delete

@ -4,6 +4,8 @@
source "$DOTFILES/etc/user-info"
PACKAGER="$REALNAME <$EMAIL>"
INTEGRITY_CHECK=(sha256)
# Optimizations
function fix_march {
echo $@ | sed 's/-march=[\w-]+ -mtune=\w+/-march=native/'
@ -13,7 +15,8 @@ CFLAGS="`fix_march $CFLAGS`"
CXXFLAGS="`fix_march $CXXFLAGS`"
LDFLAGS="$LDFLAGS"
MAKEFLAGS="-j`grep "cpu cores" /proc/cpuinfo | cut -d: -f2`"
#MAKEFLAGS="-j`grep "cpu cores" /proc/cpuinfo | cut -d: -f2`"
MAKEFLAGS="-j6"
# Store stuff
source "$DOTFILES/etc/aur.conf"

@ -118,7 +118,7 @@ ZDOTDIR="\$DOTFILES/zsh"
source "\$ZDOTDIR/zshenv"
EOF
for file in zshrc zpreztorc zlogin zlogout; do
for file in zshrc zpreztorc zlogin zlogout zprofile; do
relink "$ZSH/$file" "$ZSH/.$file"
done

@ -1 +1 @@
Subproject commit 10cf7018645fd9c09a0aa03c4ebac5ae6222c77e
Subproject commit c98da90662a11e7ac1e046ccd6a99edd21e68312

@ -35,7 +35,6 @@ zstyle ':prezto:load' pmodule \
'prompt' \
'syntax-highlighting' \
'git' \
'python' \
'pacman' \
'command-not-found'

@ -56,9 +56,8 @@ fi
# Set the list of directories that Zsh searches for programs.
path=(
$DOTFILES/bin
$HOME/.local/bin
$HOME/bin
$DOTFILES/bin
/usr/local/{bin,sbin}
$path
)

@ -6,6 +6,6 @@
#
# Source the profile on every top-level shell
if [[ "$SHLVL" -eq 1 ]]; then
if [[ "$SHLVL" -eq 1 && ! -o LOGIN ]]; then
source "$DOTFILES/zsh/zprofile"
fi

Loading…
Cancel
Save