summary refs log tree commit diff
path: root/etc/tf/link.zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xetc/tf/link.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/tf/link.zsh b/etc/tf/link.zsh
new file mode 100755
index 00000000..a00f1c01
--- /dev/null
+++ b/etc/tf/link.zsh
@@ -0,0 +1,7 @@
+#!/usr/bin/env zsh
+set -o errexit -o nounset
+
+tf="$HOME/Library/Application Support/Steam/steamapps/common/Team Fortress 2/tf"
+for cfg in cfg/*.cfg; do
+    ln -s -f "$PWD/$cfg" "$tf/$cfg"
+done