summary refs log tree commit diff
path: root/etc/tf/link.zsh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-04-15 15:01:28 -0400
committerJune McEnroe <june@causal.agency>2018-04-15 15:01:28 -0400
commitc9ef9b09cbd67ea41fe353f21d92c6c87aa39b48 (patch)
tree62407a90bb9bf658515dab5e7c1433414e852373 /etc/tf/link.zsh
parentRemove d-_-b (diff)
downloadsrc-c9ef9b09cbd67ea41fe353f21d92c6c87aa39b48.tar.gz
src-c9ef9b09cbd67ea41fe353f21d92c6c87aa39b48.zip
Add TF2 configs
Diffstat (limited to 'etc/tf/link.zsh')
-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